FvwmTaskBar is a task-bar that is quite similar to the one in Windows. There is a start menu button you can bind any menu to, a place for quick launch buttons, a list of running tasks and finally have a clock at the far end.
To start with lets set up some Styles for FvwmTaskBar. We want to set up the task-bar so it has no window decorations and also so it won't include itself in the list of running tasks. I also make the task-bar 'Sticky' so it will be shown on all your Virtual desktops and make its size and position fixed. You can achieve this as follows:
##### # FvwmTaskBar ########### Style "FvwmTaskBar" NoTitle, !Handles, !Borders, Sticky, WindowListSkip, \ CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable |
Next you need to set up the various options for the FvwmTaskBar Module. That is achieved as follows:
DestroyModuleConfig FvwmTaskBar: * *FvwmTaskBar: Geometry +0-0 *FvwmTaskBar: Rows 3 *FvwmTaskBar: Font "xft:Sans:Bold:pixelsize=12:minispace=True:antialias=True" *FvwmTaskBar: SelFont "xft:Sans:Bold:pixelsize=12:minispace=True:antialias=True" *FvwmTaskBar: StatusFont "xft:Sans:Bold:pixelsize=12:minispace=True:antialias=True" *FvwmTaskBar: Colorset 9 *FvwmTaskBar: IconColorset 9 *FvwmTaskBar: FocusColorset 9 *FvwmTaskBar: TipsColorset 9 *FvwmTaskBar: UseSkipList *FvwmTaskBar: UseIconNames *FvwmTaskBar: ShowTips *FvwmTaskBar: StartName FVWM *FvwmTaskBar: StartMenu FvwmRootMenu *FvwmTaskBar: Button Title ATerm, Icon mini/xterm.png, Action (Mouse 1) FvwmATerm *FvwmTaskBar: Action Click3 Menu FvwmWindowOpsMenu *FvwmTaskBar: StartIcon mini/fvwm.png |
The first line destroys the default config and allows you to start you config from scratch. The following lines set up various options, all of which are explained in the FvwmTaskBar man page. The main ones are to set up the colorset that the TaskBar uses, along with the font. I also tell the TaskBar to UseSkipList, so any windows that have the Style 'WindowSkipList' won't be shown on the TaskBar. I also set up an action, so if your right click on a button it will open the WindowOps menu so you can perform actions on the window you click on. I also set up one button that will launch an aterm by clicking on it.
Now once you have the module configured, you need only launch it. The module is launched by running 'Module FvwmTaskBar', but this is already done in the StartFunction, so it shouldn't need to be put in the config.
Modules | index | FvwmPager |