You are not logged in.
Pages: 1
Hello,
I have an auto-hide panel at the bottom of the screen and some time ago the hidden panel could be shown up with Ctrl-Esc key combination. Now this combination does some different thing and the panel can only be activated with moving the mouse cursor to the bottom of the screen.
Is there a way to activate the hidden panel with the keyboard?
Thanks.
/nbd
Last edited by nbd (2019-05-06 22:54:01)
Offline
Assuming xfce4-panel version 4.13x branch, the following command can be used to set the autohide behaviour of a panel (the command can be assigned to a shortcut key):
xfconf-query -c xfce4-panel -p /panels/panel-X/autohide-behavior -s BEHAVIOR
...where X is the panel number and BEHAVIOR is one of:
- 0 = None
- 1 = Intelligently
- 2 = Always
If you want to toggle between the two, you can use a script like this one:
#!/bin/bash
##### EDIT these values to suit
# the panel to affect
PANEL=2
# the hide behaviour setting (1=intelligently, 2=always)
HIDE=2
##### Don't edit anything below
# get the current setting
CURR=$(xfconf-query -c xfce4-panel -p /panels/panel-$PANEL/autohide-behavior)
# show hidden or hide displayed
case $CURR in
#currently visible, so hide it
0) xfconf-query -c xfce4-panel -p /panels/panel-$PANEL/autohide-behavior -s $HIDE ;;
# currently intelligent, set to visible
1) xfconf-query -c xfce4-panel -p /panels/panel-$PANEL/autohide-behavior -s 0 ;;
# currently always hidden, set to visible
2) xfconf-query -c xfce4-panel -p /panels/panel-$PANEL/autohide-behavior -s 0 ;;
# otherwise ignore
*) ;;
esac
...and assign a keyboard shortcut to it.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
That's the solution. Thanks!
Offline
Pages: 1
[ Generated in 0.005 seconds, 7 queries executed - Memory usage: 523.2 KiB (Peak: 529.15 KiB) ]