Beiträge

Show file location in the program title

Speicherort eines Dokumentes in der Titelleiste anzeigen lassen

Sometimes you open a document with a program and do not know where exactly is the location of this document. This is very often the case, for example if you open an attachment from Mail.app as an image or PDF.

To show the the path where the file is stored, you have to click the title while holding the cmd key.

Auto hide Inactive OS X Application Windows

Auto hide Inactive OS X Application Windows

This little tip is for those who like a clear desktop with only one application window open at once. With a Terminal command you can auto hide all inactive application windows from the desktop. You can switch between them by clicking on a Dock icon and only the windows from this application will show up on the desktop.

Auto hide Inactive OS X Application Windows

Open Terminal by Application/Utilities /Terminal.app or type Terminal in the Spotlight search.

Run the following command:

defaults write com.apple.dock single-app -bool TRUE;killall Dock

The Changes will take effect the next time you click on a Dock icon and will autohide all inactive application windows.

Reset Default Settings:

defaults delete com.apple.dock single-app;killall Dock

How to create Terminal alias in OS X

How to create Terminal alias in OS X

Those of you, who are familiar with Unix/Linux systems and also like to use the Terminal, knows the benefit of an alias for complex recurring commands.

Wikipedia definition:

In computingalias is a command in various command line interpreters (shells) such as Unix shells4DOS/4NT and Windows PowerShell, which enables a replacement of a word by another string. It is mainly used for abbreviating a system command, or for adding default arguments to a regularly used command. Aliasing functionality in theMS-DOS and Microsoft Windows operating systems is provided by the DOSKey command-line utility.

Aliase im Terminal unter OS X erstellen

To create an alias in OS X, you have to create a .bash_profile file in your home directory. To do that you have to use the following command in the Terminal:

vi ~/.bash_profile

Now you can define different alias with the vi (text editor in the bash). For example if you want to you use ll as a shortcut for ls-la (list the current directory in list view and hidden files) type the following alias in the .bash_profile (here you find a tutorial how to use the vi)