Get duplicate line shortcut working in Ubuntu

Problem: The default keyboard shortcut for duplicating lines (ALT + CTRL + Up/Down) does not work
Configuration: Ubuntu Jaunty, Eclipse 3.5

This is caused by the system using the same shortcuts to move to a virtual workspace above and below. Go to System > Preferences > Keyboard Shortcuts and assign a different key combo for the following two actions:
Switch to workspace up
Switch to workspace down
Duplicate lines works again.


Fix iTunes + Windows 7 + iPhone

Update: Using the latest iTunes 64bit with Windows 7 64bit, I had no more problems. Can’t vouch for 32 bit versions, though.

After a first successful sync of my iPhone with iTunes on Windows 7, I rebooted my PC. Consequently, any attempt to start iTunes with my iPhone plugged in results in an error dialog:

“iTuness cannot connect to this iPhone because the required software is not installed. ….”
The message also suggests a fix – removing and re-installing iTunes using the iTunes setup package.

Real solution:

Obviously the method the error dialog suggests does not work. Instead, the following steps do:
1. Go to Control Panel > Programs > Uninstall a program
2. One by one remove the Apple Mobile Device, Bonjour and iTunes programs
3. Reboot the machine
4. Use the iTunes setup package to install again
5. Reboot your PC
6. Sync (finally)