disable quit with command-q in iTerm

So… I got extremely irritated on a couple of occasions when I suddenly exited every open terminal with some fuddled-fingers-failings….

I’m sort of a Mac-newb, but luckily google hooked me up with Mimsy

Long story short:

defaults write net.sourceforge.iTerm NSUserKeyEquivalents -dict-add "Quit iTerm"  "@^Q"
defaults read net.sourceforge.iTerm NSUserKeyEquivalents

Restart iTerms and viola: no more command-q = ARRRGGGGGGGGHHHHHHHH!!!!!!!


Start Screensaver from the cli

Here is another kooky mac tip:

/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: