Showing posts with label osx. Show all posts
Showing posts with label osx. Show all posts

2013-09-07

Enable/Disable GPGMail 2 Sign by default

After Installation of the GPGTools (including GPGMail 2) the mail app tries to sign all outgoing mail by default. Unfortunately this can not be configured in the settings. But there are hidden settings.

To disable sign by default (one line!):
defaults write ~/Library/Preferences/org.gpgtools.gpgmail SignNewEmailsByDefault -bool NO

To enable sign by default (one line!):
defaults write ~/Library/Preferences/org.gpgtools.gpgmail SignNewEmailsByDefault -bool YES

For the complete list of hidden GPGMail 2 settings see here: http://support.gpgtools.org/kb/faq-gpgmail/gpgmail-2-hidden-settings

2012-05-31

Midnight Commander (mc) and insert key on Mac OS X

The well known Midnight Commander (mc) uses the Insert-Key to select multiple files.
This key is not available on a Mac keyboard, but there is an alternative shortcut to select multiple files in midnight commander on Mac OS X:
        Ctrl + T
Using this in the terminal of Mac OS X has the same effect than the insert key.

2011-02-12

Enable colors for git on Mac OS X

To enable colors for all git commands on Mac OS X use:

$ git config --global color.ui true

2011-01-08

top command on OS X

On Linux systems the top command shows the running processes sorted by the highest CPU consumption by default.
This is not the case on Mac OS X systems. There the processes are sorted by their PID in descending order (highest PID on top).
For those that are interested in the processes that consume much CPU use the following:
top -o cpu

This is for sorting the processes according their CPU usage.

For easier access you can create an alias.
Add the following line in you .profile file:
alias top='top -o cpu'