You are not logged in.
I want to keep certain panels out of the way.
Is there any way?
Offline
In the panel setting you can "hide" panel.
But it's all right, when you're all in pain and you feel the rain come down
It's alright, when you find your way, then you see it disappear
It's alright....
Chris Cornell
Offline
sorry.
I don't want to hide it, I always want it to be behind.
If you hide it normally, the line will remain, so I want to eliminate it.
Last edited by creeper (2020-06-04 08:09:01)
Offline
If I know do you want window cover the bar?
Offline
Yes, I think perhaps so.
But, my native language is not English, so I couldn't fully understand what it meant.
Last edited by creeper (2020-06-04 08:52:21)
Offline
It is not directly possible to fully hide the left-over strip when the panel is set to hide. However, you can make the left-over strip thinner.
Xfce versions lower than 4.14 (gtk2) - put this snippet in ~/.gtkrc-2.0:
style "xfce-panel-window-style"
{
XfcePanelWindow::autohide-size = 1
}
class "XfcePanelWindow" style "xfce-panel-window-style"Xfce version 4.14 and higher (gtk3) - put this snippet in ~/.config/gtk-3.0/gtk.css:
#XfcePanelWindow {
-XfcePanelWindow-autohide-size: 1;
}And then make it look invisible by changing the background of the panel to a transparent colour.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
It worked very well.
Thank you!
Offline
But this means the panel will have a transparent background. How about a panel that is a background color? Can't we make the background color of that line after it is hidden, to be transparent? Something like -XfcePanelWindow-autohide-background-color:#fff0; ?
Offline
But this means the panel will have a transparent background. How about a panel that is a background color? Can't we make the background color of that line after it is hidden, to be transparent? Something like -XfcePanelWindow-autohide-background-color:#fff0; ?
I had a closer look and it appears that you can target the hidden sliver (at least in 4.16). You can use the following CSS snippet:
#XfcePanelWindowHidden {background: transparent}This will make the leftover sliver of panel transparent, but maintain the existing color of the panel background.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Oh beautiful! Is there a wiki/document that I can use to grab such selectors? I am quite ok with CSS but ofc if you do not know the selectors...
- Thank you so much btw!
Offline
Not really - the info is scattered all around. I wrote up a how-to here that is a good start. Also this gnome page.
What I for this instance was, ensuring the keybinding was enabled (see second link), I right-clicked on the panel to bring up the menu (to select it) and then pressed the Ctrl+Shift+i shortcut to bring up the inspector. There it showed the hidden ID that could be used.
Its quite the rabbit hole.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
That's good to know. Thanks!
Offline
[ Generated in 0.030 seconds, 7 queries executed - Memory usage: 542.73 KiB (Peak: 559.71 KiB) ]