Eclipse seems to have an issue with some new GTK changes and some buttons refuse to work without warning or cause. The solution seems to be simply setting the environment variable GDK_NATIVE_WINDOWS to 1. Of interest, most forums/web-pages seem to indicate that the only way to set an environment variable for a Gnome launcher is to use a wrapper script; there is an another way. Use the following as the command…
sh -c "GDK_NATIVE_WINDOWS=1 /path/to/eclipse"
Though not related to 9.10, there are a few little apt/dpgk/package tricks I picked on the way that I should have already known about but somehow missed.
To remove config files hanging around after a package is removed…
apt-get remove –purge <package> OR use GtkOrphan
To get all of the dev packages needed to build a package…
apt-get build-dep <package>
- In Ubuntu 9.10 set GDK_NATIVE_WINDOWS=1 to run Eclipse
- Use sh -c “<env-var>=<value> <command>” to pass environment variables in Gnome launchers
- Use apt-get remove –purge or GtkOrphan to cleanup stray config files
- Use apt-get build-dep to get all of the headers and dev packaged you need