The RightPanel is a taskbar like panel along the right edge of the screen
for a now more common widescreen setup. This panel contains FvwmPager for moving around
the virtual desktops, FvwmIconMan to list the running
applications and then uses FvwmScript-DateTime to display and update
the time and date.
For this example I will show a simplified version of the configuration
found in the default config. For a widescreen with a resolution of 1280x720
the height of the panel needs to be 720 and the width will be 120.
The layout of the buttons is as show, where the thick blue lines
represent buttons used for padding:
Use the layout to determine the size of each button and then put
it together into a config, for example:
The buttons right above the Pager are used to switch between the first
four Desktops and are setup so the current Desktop is a different color.
To do this we need to use FvwmEvent and SendToModule to change the colorsets
of the deskN Buttons each time the desktop is changed.
To run SensorDock add both the FvwmButtons and FvwmEvent modules
to the StartFunction:
The FvwmPager will be resized to fit the button so mostly need to configure
FvwmIconMan is configured to list all the running apps
Note: FvwmIconMan is set to grow. One problem with this is FvwmIconMan
will grow bigger than the Button that is put in. If you have troubles
with this due to the size and number of windows you can change the
Resolution to desk or page to limit the number of windows shown.
Or better yet, configure FvwmIconMan
to be a fixed size.
The actual RightPanel in the default config is configured to be dynamic
and stretch to the height of the screen. It is also configured to use
stalonetray if it is installed. Since Fvwm can’t do math directly any
calculations need to be in a shell using PipeRead and Test is used
to determine if stalonetray exists.
As an example of a dynamic configuration here is the RightPanel from