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 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.

How secure are Cloud Services? Use your own Private Cloud!

How secure is our data in the „Cloud“. You should ask yourself this question if you follow recent events such as the hack of Evernote.

I like to use Cloud services because it is easy to have data everywhere always in sync. You get more and more service and applications connected to cloud services like Dropbox. I don’t want to miss the sync for my 1Password data anymore to have it on all my devices. Before 1Password got the iCloud option, I used the Dropbox sync with stomachache. I don’t know why, but I trust iCloud a little bit more than other cloud services. Yes I know it is also not the best thing to trust.

The well-known documents and notes Cloud service Evernote, is used by many people to organize their paperless office. For me it is a now go and to risky to put my personal data in Cloud services like Evernote. A few days before, Evernote get hacked. Evernote says that no Data and only personal Information like passwords and names were stolen.

Use your own Private Cloud!

Ok what now if you want to have your data in sync? Synology is a well known NAS Storage Company (Network Attached Storage) with a line-up of very good products. Synology is now providing a private Cloud with the new DSM Software. What does it mean? Your Synology NAS Box in at home connected with the internet and the Cloud Station service is running. On your Clients (Windows, OS X, iOS etc) you have the Cloud Station Client installed. You can now manage on your NAS Box which user can use the Cloud Station and which folders can be synced over the Cloud Station. Like Dropbox the files will be stored locally and updated immediately after a change and 8 versions of the file will be held.

Of Course this is not the safest in the world, but Hackers tend to large commercial services from which they can pull off a lot of user data. I have now moved all confidential data on my “private Cloud”, and have only non personal data stored on public Cloud services.

Remove duplicate open with entries in OS X with terminal alias

Doppelte öffnen mit Einträge in OS X per Terminal Alias bereinigen

Apple has still the problem with the duplicated „open with“ context entries. It seems that when you often install an update for an application, the “open with” entries will duplicate.

The issue is not a show stopper but it looks ugly.

You can use a Terminal Command or various kind of Apps to solve this issue.

For the Terminal Geeks of you, you can use an alias in the .bash_profile. Here you can find how to create an alias and the .bash_profile.

  • Open the .bash_profile in the Terminal with the vi tool.

vi .bash_profile

  • Insert the following alias: (If you have trouble to copy and paste these lines, it is better to write off)
Alias fixow='/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain user;killall Finder;echo "Open with has been rebulit, Finder will relaunch"'
  • Save and exit vi with shift + : + wq

Doppelte öffnen mit Einträge in OS X per Terminal Alias bereinigen

You have to restart the Terminal to reload the .bash_profile. Now you can test it with typing fixow in the Terminal.

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 / or type Terminal in the Spotlight search.

Run the following command:

defaults write 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 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)