1
vote
1answer
278 views

How do I change mouse settings instantaneously from Terminal?

My school has a bunch of Macs that are always logged in as Guest and have very annoying default settings (natural scrolling, no secondary mouse button, etc), so I am trying to write a terminal script ...
1
vote
1answer
80 views

How do I verify the integrity of my OSX installation? (Files, versions, and preferences)

I want to verify the files, and configuration settings for my OSX installation against a known good reference "base". Assuming I have two identical Macs (hardware), with one being factory installed ...
1
vote
1answer
893 views

Toggle Natural scrolling from command line with reload

I'm looking to make a script that quickly toggles the Natural scrolling settings, so I need a way to do it from the command line. I think I found the correct defaults command, but I'm not sure how to ...
7
votes
2answers
3k views

Disable screensaver password requirement from command line

I am trying to enable and disable the screensaver password requirement from the command line. defaults read com.apple.screensaver shows a variable askForPassword set to either 0 or 1, depending on ...
2
votes
2answers
2k views

Choosing the default application does not stay as default after reboot

When I'm opening .avi files, I want to open them with VLC Media player, when right clicking the item, I see this: As you can see QuickTime is the default player, I want to change it to VLC, so I ...