Customize application menu and context menu

Posted on Sunday March 03, 2013 by Eric Potvin

Changing the items in the menu or the context menu of applications can be great if you use specific menu items more than others. Unfortunately, not all applications allow this features but some do:

  • Document Viewer
  • Image Viewer
  • Terminal
  • Rhythmbox

To modify the order of each items, you simply need to modify one (1) XML file.

Document Viewer

sudo vi /usr/share/evince/evince-ui.xml

Image Viewer

sudo vi /usr/share/eog/eog-ui.xml
sudo vi /usr/share/eog/eog-toolbar.xml


sudo vi /usr/share/gnome-terminal/terminal.xml


sudo vi /usr/share/rhythmbox/rhythmbox-ui.xml

All you need to do is to move around the items you want to be first ... or last!