How to hide a specific mate-panel in Ubuntu? - Ask Ubuntu
i want hide sidebar (from mate-panel's point of view called bottom panel). have more space. , unhide it, keyboard shortcut. temporarily, not forever, have more space , order on screen. how do that?
1) write script, toggles autohide value. (so panel not gone good, space):
#!/usr/bin/env bash hide=$(dconf read /org/mate/panel/toplevels/bottom/auto-hide) # toggling it... [ "$hide" = "true" ] && hide="false" || hide="true"; dconf write /org/mate/panel/toplevels/bottom/auto-hide $hide
( reason value is not visible in dconf-editor. )
2) assign script key in mate-keybinding-properties
→ custom shortcuts.
(f10 appears choice me. f9 toggling sidebar, example in caja , pluma, f11 screen space, toggling fullscreen).
update: enhanced version
reduce it's size when intend hide , throw right bottom (on right, 1 far inadvertily trigger auto-show when grabbing fullcreen (or right-side-snapped) windows' scroll bars...
#!/usr/bin/env bash # contributed → https://askubuntu.com/q/843027 hide=$(dconf read /org/mate/panel/toplevels/bottom/auto-hide) # toggling it... if [ "$hide" == "true" ] #unhiding dconf write /org/mate/panel/toplevels/bottom/auto-hide false dconf write /org/mate/panel/toplevels/bottom/size 140 dconf write /org/mate/panel/toplevels/bottom/orientation "right" else #hiding dconf write /org/mate/panel/toplevels/bottom/auto-hide true dconf write /org/mate/panel/toplevels/bottom/size 2 dconf write /org/mate/panel/toplevels/bottom/orientation "bottom" fi
Comments
Post a Comment