Archive for category: Mac OS X

Using the Most Recent Input Again in LaunchBar

25 March, 2011 (02:29) | Mac OS X, [English Posts] | By: Wolfgang

To reuse your most recent LaunchBar input activate LaunchBar again, select the desired action and press Shift + Return.

Taking a Screenshot of a Virtual Machine in VMware Fusion

24 March, 2011 (02:19) | Mac OS X, Miscellaneous, [English Posts] | By: Wolfgang

To take a screenshot of a running virtual machine in VMware Fusion (tested with version 3.1.2) drag the preview picture of the client in the Virtual Machine Library window and drop it somewhere on the Desktop or a Finder window.

Taking a screenshot of a virtual machine in VMware Fusion 3

Case-Insensitive Mac OS Extended (HFS+)

8 August, 2010 (06:30) | Mac OS X | By: Wolfgang

As of OS X 10.6 Snow Leopard a default HFS+ (Mac OS Extended) Volume still is case-insensitve. Interestingly enough I never ran into problems because of this, but still, it just doesn't feel right that these three commands are addressing the same file:

vi /Srsly/Apple/WHY
vi /srsly/apple/why
vi /SRSLY/APPLE/wHy

By the way, I know that there is a ...

Tracking File Opens With opensnoop

5 August, 2010 (06:30) | Mac OS X, [English Posts] | By: Wolfgang

Opensnoop is a great DTrace-based command-line program to track file opens.

If you want to know what files are accessed by a certain Process use sudo opensnoop -p PID.

To get information about the processes a file is opened by, use the -f option: sudo opensnoop -f ~/myfile.tmp.

Mac OS X Software Update via Command-Line

3 August, 2010 (06:30) | Mac OS X, [English Posts] | By: Wolfgang

The command-line equivalent to the Software Update… entry in the Apple menu is softwareupdate.

To install all appropriate updates use sudo softwareupdate -ai. Note that there is no GUI Dialog suggesting a reboot after system-critical updates were installed. So don't forget to read the commands exit message and reboot manually if necessary.

Für Umlaute angepasstes englisches Keyboardlayout unter Mac OS X

2 August, 2010 (06:30) | Mac OS X, [Deutschsprachige Einträge] | By: Wolfgang

Jedem, der öfters auf der Kommandozeile arbeitet, ab und zu HTML- oder LaTeX-Dokumente erstellt oder gar Programmierer ist, würde ich dringend die Verwendung eines englischen Tastaturlayouts empfehlen. Gerade unter OS X ergeben viele der zuvor kaum verwendbaren Tastaturkürzel erst dann einen Sinn. Man kann natürlich einfach im Betriebssystem das Layout umstellen, einfacher ist die ...

Triggering Actions Like Sending a Mail on SSH Login

26 July, 2010 (06:30) | Linux, Mac OS X, ssh | By: Wolfgang

One way to trigger actions at an OpenSSH server login, is to use the sshrc file in your sshd configuration folder, usually /etc/ssh.

Use the following command in the sshrc file to send a mail:
mailx -s "$HOSTNAME Remote Login from $USER at `date`" mail@example.com

Of course every other command or notification method can be used too, ...

Moving Mail.app Data from One Mac to Another

25 July, 2010 (06:30) | Mac OS X, [English Posts] | By: Wolfgang

To transfer your mails from one Mac to another just replace the new Macs ~/Library/Preferences/com.apple.mail.plist file and ~/Library/Mail folder with the one from the old one.

Next time you start Mail on the new Mac you will be asked for each mail account's server password. If you don't know them anymore, look them up in ...

Mac OS X 10.6 Install Size

24 July, 2010 (06:30) | Mac OS X, [English Posts] | By: Wolfgang

Ever wondered about the minimal OS X 10.6 Install Size? Here is a list of the disk space the individual components need, taken from the Install Menu of an OS X Retail DVD:

Essential System Software
8.12 GB

Printer Support
2.93 GB

Additional Fonts
144 MB

Language Translations
1.21 GB

X11
159.4 MB

Rosetta
3.5 MB

QuickTime 7
32.8 MB

So the bare minimum is 8.12 GB but even ...

Disabling VLC Media Keys Control on OS X

23 July, 2010 (06:30) | Mac OS X, [English Posts] | By: Wolfgang

VLC is a great media player but it always annoyed me that if I use the play/pause button on my Mac's keyboard VLC responses too, no matter what application is currently running in the foreground. So by stoping iTunes playback for example, VLC starts to play.

Today I discovered that this behavior can be changed ...