You are hereOS / Mac OS X

Mac OS X


all things with cats

Standardspeicherort in Mac OS X iCloud ändern

Bei iCloud-fähigen Anwendungen unter Mac OS X ist bei jedem Speichern-Dialog iCloud als Standardspeicherort vorbelegt.
icloud Default. Wenn man dort keine Daten ablegen möchte, muss man in Textedit, Vorschau, etc. jedes Mal manuell umstellen. Über einen einfachen Befehl im Terminal kann man die eigene Festplatte als Standardort neu festlegen:

defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false

Essentials: ImageMagick

Für die automatisierte Bildbearbeitung ist immer wieder ImageMagick hilfreich. Die Bildbearbeitung ist insbesondere für die Kommandozeile gedacht und gerade für immer wieder anstehende Anpassungen schnell und unkompliziert.
ImageMagick
Ein kleines Beispiel:
Aus diesem Bild
Bild vor der Konvertierung
werden mit einem kurzen Befehl zwei neue Dateien geschrieben. Die erste Umwandlung als Bilderstapel
Demo Bilderstapel
und noch eine Polaroid-Version
Demo Polaroid-Effekt
ImageMagick. It's magick!

Mac OS X Mountain Lion

Das Update auf Mac OS X Mountain Lion ist gelaufen: unkompliziert und problemfrei. So soll das sein...
OS X 10.8

Google Chrome ERR_UNSAFE_PORT

chrome logo

When trying to access a port and Google Chrome gives you

Error 312 (net::ERR_UNSAFE_PORT): Unknown error

there are two ways to fix that problem:

  1. Rebuild from chromium sources (yuck!)
  2. start chrome with a parameter

For the second solution in Windows you will need to change the Start Menu entry to e.g. "C:\Documents and Settings\User\Local Settings\Application Data\Google\Chrome\Application\chrome.exe --explicitly-allowed-ports=nnnn" where nnnn is the port that has been blocked.

On the Mac you can either start chrome with the terminal with "
open /Applications/Google\ Chrome.app --args --explicitly-allowed-ports=PORTNUMBER" or create you own app with Automator

Chrome ERR_UNSAFE_PORT

By default Chrome blocks the following ports:

  1,    // tcpmux
  7,    // echo
  9,    // discard
  11,   // systat
  13,   // daytime
  15,   // netstat
  17,   // qotd
  19,   // chargen
  20,   // ftp data
  21,   // ftp access
  22,   // ssh
  23,   // telnet
  25,   // smtp
  37,   // time
  42,   // name
  43,   // nicname
  53,   // domain
  77,   // priv-rjs
  79,   // finger
  87,   // ttylink
  95,   // supdup
  101,  // hostriame
  102,  // iso-tsap
  103,  // gppitnp
  104,  // acr-nema
  109,  // pop2
  110,  // pop3
  111,  // sunrpc
  113,  // auth
  115,  // sftp
  117,  // uucp-path
  119,  // nntp
  123,  // NTP
  135,  // loc-srv /epmap
  139,  // netbios
  143,  // imap2
  179,  // BGP
  389,  // ldap
  465,  // smtp+ssl
  512,  // print / exec
  513,  // login
  514,  // shell
  515,  // printer
  526,  // tempo
  530,  // courier
  531,  // chat
  532,  // netnews
  540,  // uucp
  556,  // remotefs
  563,  // nntp+ssl
  587,  // stmp?
  601,  // ??
  636,  // ldap+ssl
  993,  // ldap+ssl
  995,  // pop3+ssl
  2049, // nfs
  3659, // apple-sasl / PasswordServer
  4045, // lockd
  6000, // X11
  6665, // Alternate IRC [Apple addition]
  6666, // Alternate IRC [Apple addition]
  6667, // Standard IRC [Apple addition]
  6668, // Alternate IRC [Apple addition]
  6669, // Alternate IRC [Apple addition]

iTunes verschachtelte Wiedergabelisten

Bei iTunes lassen sich verschachtelte Wiedergabelisten erstellen indem man zusätzlich die "ALT"-Taste drückt. Dann wechselt das Bild vom "+"
iTunes Wiedergabeliste
zum "..."
iTunes Wiedergabeliste mit Alt
Durch Klicken auf "..." wird dann eine Unterliste erstellt. Mit dieser lassen sich komplexere Synchronisationaufgaben für iPod & Co. lösen.

Wunderlist - task management in the cloud

For task management in the cloud there is a neat little (free!) app available: Wunderlist from the Berlin based company 6Wunderkinder. It runs on all common PC operating systems including iOS devices and Android as well as in the browser.

Wunderlist

Please be aware that the sync function uses the cloud, so all entries are stored on Amazon S3 servers. So this is not a secure solution for private data - for the shopping list that might be okay. YMMV.

One drawback with the current version: there is no export available. Since I don't like software with a lock-in I checked the local folders: on Mac OS X Wunderlist saves the data in the file ~/Library/Wunderlist/wunderlist.db, on Windows machines it is in c:\users\username\AppData\Roaming\Titanium\appdata\com.wunderkinder.wunderlist\wunderlist.db
Both files are SQLite databases which you can open with the SQLite Manager Firefox plugin.
With a SQL query you can extract the data from the tables "lists" and "tasks", join and export them to a CSV file.

Select T.name,T.done,T.note,datetime(T.done_date,'unixepoch'),L.name From tasks AS T INNER JOIN lists AS L ON T.list_id = L.id order by L.name

SQLite Wunderlist.db

The SQL query shown above is available for download as a textfile.

Update: In Wunderlist 2 the location of the SQLite database has changed, please see this post on cubewot.de.

Mac Essentials: The Unarchiver

The Unarchiver Handles just about any archive format you will ever need on the Mac... A nice replacement for the Archive Utility App that you can find here.
The Unarchiver

Calibre eBook Converter

Calibre E-book management
Calibre
Calibre supports the conversion of many input formats to many output formats. It can convert from CBZ, CBR, CBC, CHM, EPUB, FB2, HTML, HTMLZ, LIT, LRF, MOBI, ODT, PDF, PRC, PDB, PML, RB, RTF, SNB, TCR, TXT, TXTZ to the following output formats: EPUB, FB2, OEB, LIT, LRF, MOBI, HTMLZ, PDB, PML, RB, PDF, RTF, SNB, TCR, TXT, TXTZ.

Phew!

That should do it for the start...

Show the Library folder with Mac OS X Lion


By default the Library folder is hidden on Mac OS X Lion. Two options to get to the library folder:

  1. access it directly with Command+Shift+G from the Finder (or via the menu Finder > Go > Go to Folder) and type in ~/Library or
  2. disable the hidden library permanently with typing in the Terminal command "chflags nohidden ~/Library/"

Mac OS X Lion


Mac OS X Lion install is done as of today. If you upgrade your system and want to keep the installation file from the AppStore Download make a copy of it before starting the install process. After Lion is installed the huge file downloaded from http://itunes.apple.com/de/app/os-x-lion/id444303913?mt=12 will be deleted.

Warning: there is no Rosetta emulation layer any more - so all PowerPC programs on your system will not be running any more.
... and do plan some time for getting used to the new feature called "natural scrolling" :-)

BLOG-CV

DOS 1990
Windows 1991
Online 1993
Linux 1994
Mac 2005
Flickr 2007
Twitter 2007
Blogger 2009
Bricklink 2009
Geocaching 2012
Minecraft 2015