Since setting up a new system is usually a pain in the ass, I've tried to compile here the tricks I use to modify Mac OS X to my will.
Go to System preferences -> Keyboard -> Modifier keys
Change keyboard type button missing in System Preferences
Two keys (<> and §°) are swapped
Delete the file:
/Library/Preferences/com.apple.keyboardtype.plist
Restart
After removing the file and restarting:
In the terminal:
defaults write com.apple.iTunes hide-ping-dropdown 1
In the terminal:
defaults write com.apple.iTunes show-store-link-arrows 1
In the terminal:
defaults write com.apple.iTunes invertStoreLinks 1
All above need restart of iTunes.
Use application called Image Capture (already on your Mac). You can now get rid of your iPhoto and use the actoual program that you use to handle your images (I use Lightroom).
Error message:
Unable to upload because Lightroom cannot ascertain if the target destination exists.
How to fix it: avoid symbolic links in upload directory path.
See: Software
HP Scanjet 2400 scanner driver from Hewlett-Pacard polls continuously scanner buttons and uses too much computer processing power (up tp 100 % on one core). This can be avoided by deleting HPShortcutManager.
How to fix it:
OS X remembers wifi networks you have connected and tries to join you to those networks. Sometimes you do not prefer to use noughbours wifi as it does not enable you to use your local network connections. This trick allows you to remove preferred networks from your system.
How to fix it:
Check the id of your network adapter. Open terminal and run following command:
ifconfig
Next find out what's your wifi's id. For me the output is like:
en0: flags=8863 UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu 1500
...where the en0 happens to be my wifi.
Run following command to see list of preferred networks
networksetup -listpreferredwirelessnetworks en0
To remove single preferred network use following command:
networksetup -removepreferredwirelessnetwork en0 "name of network"
Quotes are needed only for wifis with more than one word (ie. containing space).
To remove all preferred networks use following command:
networksetup -removeallpreferredwirelessnetworks en0