Gnome Menu tweaking

From ArchWiki
Revision as of 02:10, 28 December 2007 by Alex anthony (talk | contribs)
Jump to navigation Jump to search

Speed Tweak

You can remove the delay in GNOME menus by running this command:

echo "gtk-menu-popup-delay = 0" >> ~/.gtkrc-2.0

Or just add "gtk-menu-popup-delay = 0" (without quotes) to .gtkrc-2.0

Menu Editing

Most Gnome users complain about the menu. Changing menu entries system-wide or for one or several users alone is poorly documented.

User menus

(Note: It was believed that this article was obsolete. gnome 2.14 has its own menu editor (half functional). Half-functional indeed, so using this manual method is still effective until the new gnome menu editor is fully functional.)

As a user, you may add starters for applications to your desktop. Once you have created and tested one, start nautilus and type applications:/// in the location bar. Take the menu group you want, and place your starter there. You now have a new entry in your Gnome menu.

Or install Alacarte, which makes it easy to create, change and remove menu entries with a GUI. Do this with:

pacman -S alacarte

Group menus, System menus

You find common gnome menu entries as 'appname.desktop' objects inside /opt/gnome/share/applications.

  • Edit one of them to fit your needs for a new application, then save it.
  • Save it as a menu entry for all users
    In common, you will set this files permissions to 644 (root: rw group: r others: r), so all users can see it.
  • Save it as a menu entry for a group or user alone
    You may also have different user permissions; for example, some menu entries should only be available for a group or for one user.

Here is an example how a Scite menu entry definition file could look:

[Desktop Entry]
Encoding=UTF-8
Name=SciTE
Comment=SciTE editor
Type=Application
Exec=/usr/bin/scite
Icon=/usr/share/pixmaps/scite_48x48.png
Terminal=false
Categories=GNOME;Application;Development;
StartupNotify=true

Hint: Folders in Gnome menu:

When you create a folder in applications:/// and want to change the icon - Right click, and choose "edit launcher" then change icon. If you right click and choose "Properties" and change the icon the icon will not change in menu.

See also