Keyboard shortcut to hide/show a Mate panel
I have set writen the following very simple script to switch the "auto-hide" setting of the top panel on and off (it is nearly equivalent to showing and hiding):
#!/bin/bash autohide=$(/usr/bin/dconf read /org/mate/panel/toplevels/top/auto-hide) if [[ $autohide = "false" ]] then exec /usr/bin/dconf write /org/mate/panel/toplevels/top/auto-hide true else exec /usr/bin/dconf write /org/mate/panel/toplevels/top/auto-hide false fi
Then I have
- saved it in ~/bin/mate-top-panel-toggle
- made it excutable (chmod a+x ~/bin/mate-top-panel-toggle)
- set a keyboard shortcut to execute it (using Systems->Preferences->Hardware->Keyboard shortcuts)
If you wish to do that for different panels, you need to replace /top/ inside the file (3 places) with the name of the corresponding panel. To see your panel names, run "dconf read /org/mate/panel/general/toplevel-id-list".
I'd further like to allow windows to overlap panels but the only solution I found so far is to replace Marco (the window manager that Mate is using) with fvwm (run "fvwm -replace&" in a terminal) but this means that one has to configure keyboard shortcuts by editing ~/.fvwm/config) so I guess not everyone wants to do that.