myGtkMenu - a custom menu for Linux

Why settle for just one menu?

When I first started using Linux, I hated the "Main Menu". I spent a lot of time customizing the "Main Menu" - only to see my efforts come to naught when I upgraded my Linux distribution. MyGtkMenu is different. When myGtkMenu is executed (by clicking on a panel or desktop icon), it reads a text file and creates a menu. The order of the menu items, which icons are used, and the commands to be executed are specified in the text file. You control the text file. Indeed, if you wanted, you could have ten icons associated with ten (different) custom menus. Re installing just involves backing up and restoring the menu files and associating a panel icon with each custom menu. If you put myGtkMenu and the custom menu-description file(s) in a single directory, it is very fast and easy to backup and restore everything.

MyGtkMenu requires GTK+ 2.4 (or later) libraries. I have used it on Fedora, Ubuntu, and Knoppix without any problems. But no promises are made. If myGtkMenu does not work for you, try to recompile using the Makefile.

As of May 2011, the latest version of myGtkMenu is 1.3. MyGtkMenu is in a stable state and does not change very often.



Download:

http://sites.google.com/site/jvinla/myGtkMenu-1.3.tar.gz


http://sites.google.com/site/jvinla/myGtkMenu-1.2.1c.tar.gz



The previous version, myGtkMenu 1.2.1c, was written for use with GTK+ 2.x libraries. Linking to the new GTK+ 3x libraries breaks version 1.2.1c; hence version 1.3. If you are happy with version 1.2.1c, there is no need to update. Version 1.2.1c works fine with Fedora 15. One noticeable change was made with version 1.3. Some hot keys (key-bindings) get carried away and start many instances of the same program. To make sure that only one instance of  myGtkMenu runs at a given time, a (hidden) lock-file is created in your home directory. If this causes problems, feel free to comment out that part of the code and recompile, or just use version 1.2.1c.

Please note that recent versions of GNOME disable icons in menus (and buttons).

One way to re enable the icons is to use gconftool-2:

gconftool-2 --type boolean --set /desktop/gnome/interface/buttons_have_icons true
gconftool-2 --type boolean --set /desktop/gnome/interface/menus_have_icons true

In GNOME 3.0, one can use "gnome-tweak-tool" or the command line program "gsettings" to accomplish the same thing (see Google).


    Suggestions:
  • Make a directory called, for example, "Icons" and place a copy of your favorite icons in that directory. It speeds things up if the operating system only has to read one directory. Also, myGtkMenu is easy to reinstall if the icon locations do not change.
  • Use icons of the proper size. If myGtkMenu has to input a vastly over-sized image and then rescale it, things will slow down. Many paint programs have the ability to easily rescale images.
  • Use the hot keys. For example, in Fedora 14 my shortcuts are: <Control>Super_L (opens myGtkMenu) and then T (starts gnome-terminal). <Control>Super_L and then N starts nautilus. In Fedora 15 I had to switch to using Super_R to open myGtkMenu.