(menu.info)Section 3.10


Prev: Section 3.9 Up: Chapter 3
Enter node , (file) or (file)node

3.10 Fvwm's task and title bars
===============================

The problem with the stuff in the task bar is that all items are
displayed all of the time.  So, if 1500 Debian packages all were to
register a button, the buttons would quickly fill the screen, making the
exercise useless.  The few applications that are considered important
enough to be listed in the task bar usually vary widely on each system,
making it impossible to select a "happy few" apps that are allowed there
on every Debian system.  If you (as a local system administrator) want
your 'fvwm2' to have a few buttons, you can install files for those
packages in '/menu/$package', containing a menu entry like this:

       ?Package(xmball):needs=button\
                     section=Games/Puzzles\
                     icon=path-to-pixmap.xpm\
                     title="Xmball"\
                     command=/usr/games/xmball

Then, do the following:

       cd /etc/menu-methods/
       cp fvwm2 fvwm2button
       vi fvwm2button

and remove all the "supported" entries, adding the one below.  For the
rest, leave everything the same except those listed below.

       supported
         button="+ Style \"" $title "\" TitleIcon" $icon " Exec "  $command "\n"
       endsupported
       startmenu:   "AddToTitlebar \n"
       endmenu:     "\n"
       submenutitle:""
       mainmenu:
       genmenu:   "buttondefs.hook"

(Of course regular users (not system administrators) can also specify
'buttonfiles' in their ~/.menu/ directory).


automatically generated by info2www version 1.2.2.9