fbpanel >
How to create a bottom bar for both monitors.
I'm certain these instructions work with three displays, but any more than three would get weird.
Note that it isn't possible to have two trays (for things like a status icon). I don't know why.
Bottom-align two displays, with xrandr ∞
(xrandr)
See https://github.com/spiralofhope/shell-random/tree/master/live/sh/scripts/dual-monitors.sh
The general idea is to:
- Power-on your extra monitor.
- Shift it to the right-hand side.
-
Shift it up, to align the two monitors at their bottom-edge.
This bottom-alignment is necessary because fbpanel has no functionality to nudge itself on the y axis (up from the bottom).
Implement two instances of fbpanel ∞
Duplicate your fbpanel config file ∞
It is probably ~/.config/fbpanel/default
\cd ~/.config/fbpanel \cp default fbpanel-config-left \cp default fbpanel-config-right
Specialize your two new config files ∞
You will be changing two lines in their Global {}
section.
Edit your new fbpanel-config-left
∞
Change these two lines:
Allign = left # This is an example for a main screen which is 1920x1080 (e.g. "HD 1080p") Width = 1920
Edit your new fbpanel-config-right
∞
Change these two lines:
Allign = right # This is an example for a second screen, placed on the right, which is 1024x768 Width = 768
Note that it isn't possible to have two trays (for things like a status icon). I don't know why. For fbpanel-config-right
, remove or comment-out the tray
plugin. It probably looks like this:
Plugin { type = tray }
Launch two instances of fbpanel
∞
Once your two configuration files have been prepared, you can launch fbpanel more than once.
\setsid \fbpanel --profile fbpanel-config-left & \setsid \fbpanel --profile fbpanel-config-right &
Note that you do not need to specify the full directory of your new config files.
I finally figured this out, though it took most of the morning. You'd think others have done this before, but I could only find vague references even in official documentation and good reviews.