Next Previous Contents

10. Menus and Toolbar

10.1 menu

User menu configuration file. Configures programs in root/start menu.

10.2 toolbar

Toolbar configuration file. Configures programs available as buttons on the taskbar.

10.3 programs

Usually automatically generated menu configuration file of installed programs. The programs file should be automatically generated by wmconfig (Redhat), menu (Debian) or an equivalent program (kde2ice and gno2ice to convert GNOME/KDE Menu hierarchy are available).

Programs can be added using the following syntax:

prog "title" icon_name program_executable options

icon_name can be - if icon is not wanted.

The "runonce" keyword allows to launch an application only when no window has the WM_CLASS hint specified. Otherwise the first window having this class hint is mapped and raised. Syntax:

runonce "res_name.res_class" "title" icon_name program_executable options
runonce "res_name" "title" icon_name program_executable options
runonce ".res_class" "title" icon_name program_executable options
The class hint can be figured out by running
$ xprop | grep WM_CLASS

Submenus can be added using the following syntax:

menu "title" icon_name {
# contained items
}

Only double quotes are interpreted by icewm. Icewm doesn't run the shell automatically, so you may have to do that.


Next Previous Contents