Set number of MATE panels and panel properties (position, applets, etc).
usage: setpanels.sh options
OPTIONS:
-h Show this message
-r Reset to default single monitor setup
Follow dconf changes (note closing /):
dconf watch /org/mate/panel/
Read:
dconf read /org/mate/panel/general/toplevel-id-list
Setting:
dconf write /org/mate/panel/toplevels/toplevel_1/screen 0
dconf write /org/mate/panel/toplevels/toplevel_1/orientation "'top'"
dconf write /org/mate/panel/general/toplevel-id-list "['top', 'toplevel_0', 'toplevel_1']"
dconf write /org/mate/panel/objects/toplevel_2_windowlist/panel-right-stick false
Resetting:
dconf reset -f /org/mate/panel/toplevels/toplevel_2/
- test
- detect plugging in/out of monitors