Next Previous Contents

12. Menus and Toolbar

12.1 menu

Within the menu configuration file you can configure which programs are to appear in the root/start menu.

12.2 toolbar

The Toolbar configuration file is used to put programs as buttons on the taskbar.

12.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

Restarting another window manager can be done using the restart program:

restart "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 "title" icon_name "res_name.res_class" program_executable options
runonce "title" icon_name "res_name" program_executable options
runonce "title" icon_name ".res_class" 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