For When You Can't Have The Real Thing
[ start | index | login ]
start > RedHat > Installing New Menu Items

Installing New Menu Items

Created by dave. Last edited by dave, 8 years and 64 days ago. Viewed 1,625 times. #6
[diff] [history] [edit] [rdf]
labels
attachments

Installing New Menu Items Into Gnome and KDE

The command to use is: xdg-desktop-menu

Plausible example:

# xdg-desktop-menu install --novendor ./myprogram.desktop

myprogram.desktop looks something like:

[Desktop Entry]
Encoding=UTF-8
Type=Application
Exec=/path/to/myprogram
Icon=/path/to/myprogram.png
Name=My Program
Categories=Application

Useful:

  • to put your icon in the pre-existing folder named Office , the Categories would be:
    Categories=Application;Office
Lots of examples in /usr/share/applicaions to look at.

Official details here: >>http://standards.freedesktop.org/desktop-entry-spec/latest/

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt