Thursday, April 12, 2012

Usability problems with Eclipse IDE running on Gnome, Linux

Few tricks to get better experience using Eclipse on Linux with Gnome environment.

Enable icons in menus:
gconftool-2 --type boolean --set /desktop/gnome/interface/menus_have_icons true

Disable Gnome keyboard shortcuts (many of them are conflicting and overriding default Eclipse key bindings):

cd /usr/share/gnome-control-center/keybindings
for entry in $(grep KeyListEntry * |cut -d'/' -f2- |cut -d'"' -f1); do
    echo $entry
    gconftool-2 --type string --set "/$entry" ""done


This might not be enough for some keys, for example F10. You may find more details here.

Restore all default Gnome keyboard shortcuts (based on this post on askubuntu.com):

cd /usr/share/gnome-control-center/keybindings
for entry in $(grep KeyListEntry * |cut -d'/' -f2- |cut -d'"' -f1); do
    echo $entry
    gconftool-2 -u "/$entry"
done

No comments:

Post a Comment