On Sat, Nov 20, 1999 at 11:44:50PM -0600, Kent West wrote: > Can anyone point me to a HOWTO for adding a menu item to Icewm > (preferably written in plain-speak)? Don't stop with Icewm! After all, what if you want to use Enlightenment tomorrow? The best way is to use Debian's menu system. There are some docs in /usr/doc/menu. Here's an example I put in /etc/menu:
file = staroffice ?package(local.staroffice):\ needs="x11"\ section="Apps/Local/StarOffice"\ title="StarOffice 5.1"\ command="/usr/local/Office51/bin/soffice"\ icon="/usr/local/Office51/s_soffice.xpm" ?package(local.staroffice):\ needs="x11"\ section="Apps/Local/StarOffice"\ title="Setup"\ command="/usr/local/Office51/bin/setup"\ icon="/usr/local/Office51/s_soffice.xpm" The local.package in ?package() tells the menu system it's installed, even if it's not in the dpkg database. Here, I have both the path to the setup program and the executable for staroffice5.1a. Simply run update-menus after putting a new file in /etc/menu. -- +----------------------------------------------------+ | Eric G. Miller egm2@jps.net | | GnuPG public key: http://www.jps.net/egm2/gpg.asc | +----------------------------------------------------+