Setting a startup project in Eclipse

Coming from Visual Studio, it is not immediately obvious how to set a specific project as a ‘startup’ or launch project (i.e. the project that will be run by default). In VS, you just right click the project and choose ‘Set As Startup Project’. Here’s how to do it in eclipse:

  1. Go to Window -> Preferences -> Run / Debug -> Launching
  2. Set the ‘Launch Operation’ as appropriate.

Logitech G7 mouse freezes

The Logitech G7 is the best mouse I’ve ever had, due to the unique dual-battery system, however I occassionally get an issue where the mouse cursor just suddenly freezes. To resolve this, pull out the Wireless USB key from the battery charger, turn off the mouse using the power button on the bottom of the mouse, the plug the USB key back in, switch on the mouse and your cursor should wake up. For anyone looking at purchasing this mouse, don’t let this issue put you off, it’s not very frequent, and doesn’t outweight the benefits of dual-battery in a wireless mouse.

High CPU & freeze with Linux Mint 13 / Cinnamon

Linux Mint is AWESOME. I am running Cinnamon as my desktop session, which is a fork of Gnome 3. It make Linux sooooo usable. I love it 😀 However there were two fairly serious issues that were present in its initial release:

  1. Random system freezes
  2. Your desktop session quite frequenty freezes (reported here), and you can only press Ctrl+Alt+Del to kill the session and return the login prompt. This force closes all apps, which means… Data Loss!! Fortunately, this issue has now been rectified , and by doing a system update (via the integrated update manager app), you’ll get the fix automatically. Do it!

  3. High CPU
  4. This is a currently unfixed issue, reported here. The current solution (that works for me) is to replace the contents of keyboard.gnome-settings-plugin, as described in comment #85 and also disable a num-lock related dconf setting, as described in comment #107. Do it!

With these two MAJOR issues out of the way, I have the best linux desktop experience of 2012. Thank you Linux Mint / Cinnamon team!

Mouse cursor missing using linux VNC viewer

Seems like the best vnc viewer on linux is ssvnc, much better than the basic tightvnc viewer, however both programs can have an issue where your remote mouse cursor is dipayed as a single pixel (dot) instead of an arrow making it extremely difficult to track. In my case I was VNC-ing from a Linux Mint 13 box to a Fedora 14 box. The solution using ssnvc was to press F8 after connecting, and unselect ‘Cursor Shape’ from the popup menu. However changing this option via the F8 menu does means you will have to do this each time you connect. If you have saved a connection profile, from the connection dialog you can click ‘Options…’, then ‘Advanced…’ then ‘Unix ssnvcviewer…’ and tick ‘Use X11 Cursor’. This solved the problem for me for future connection using that profile. You’ll have to do this for each connection profile unfortunately.

If you know of a better vnc viewer for linux that doesn’t have this issue, post a comment!