[H-GEN] Debian Menus
Mark Suter
suter at humbug.org.au
Tue Mar 4 10:23:26 EST 2003
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Anthony,
> I want to add an item to the default Debian Menu, How do I do this?
Debian menus are created by running update-menus(1) which
combines menufile(5) files from /usr/lib/menu/ and ~/.menu/ to
produce configurations for your window manager.
For example, to add your custom application "foobar" (a really
cool X11 arcade game you wrote during lunch) to everyone's menus,
do something like the following.
# cat > /usr/lib/menu/fooobar
?package(local.foobar):needs="x11" section="Games/Arcade"\
title="Foobar" longtitle="Really cool X11 arcade game"\
command="/usr/bin/X11/foobar"
# update-menus
# for user in tom dick harry ; do su - $user -c update-menus ; done
Take a look at those man pages for all the gory details.
Yours sincerely,
- -- Mark John Suter | I know that you believe you understand
suter at humbug.org.au | what you think I said, but I am not sure
gpg key id 2C71D63D | you realise that what you heard is not
mobile 0411 262 316 | what I meant. Robert J. McCloskey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Check Keyservers or http://zwitterion.org/keys/
iD8DBQE+ZMTuRYso2ixx1j0RAgebAJ0dDNqZCZvfAFAJQZtur5nTsRDmcQCfRYrZ
Qo5kNe9VslWPEvXpxPDhfaI=
=dtUd
-----END PGP SIGNATURE-----
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'. See http://www.humbug.org.au/
More information about the General
mailing list