You are not logged in.
After I set panel to hide intelligent, there still have a few pixels at the top of screen. I search an answer from https://forum.xfce.org/viewtopic.php?id=5829
style "xfce-panel-window-style"
{
# Time in miliseconds before the panel will unhide on an enter event
XfcePanelWindow::popup-delay = 225
# Time in miliseconds before the panel will hide on a leave event
XfcePanelWindow::popdown-delay = 350
# Size of autohide window in pixels
XfcePanelWindow::autohide-size = 1
}
class "XfcePanelWindow" style "xfce-panel-window-style"
So, how to completely hide Xfce panel bar?
Offline
When i set it to hide it doesn't show any pixels at all...
Offline
I guess OP refers to this (see img if I manage to include one)
I wonder the same thing.
In this case : a "deskbar" on the left, but same thing happens with regular panel. I set it to not full length so that the pixel with discuss is visible. (see red arrow)
moderator edit -- removed oversized image.
Pasting pictures and code
(sorry for the oversized image, first attempt at including one thanks to the moderator action)
Last edited by squalou (2020-08-27 16:49:10)
Offline
OP's original post included gtk2 config directives, those no longer apply for the gtk3 version of xfce4-panel. Instead, to make the hidden stub as thin as possible, you would use the following snippet (put it in ~/.config/gtk-3.0/gtk.css):
#XfcePanelWindow {
-XfcePanelWindow-autohide-size: 1;
}
However, it cannot be a 0 value, so some piece of it will always remain visible. You can "hide" the remaining piece by changing the panel background colour and making it transparent.
Offline
indeed ! thanks for the tip.
Additional info : setting transparent color for the background works BUT : setting an image that is transparent does not !
TL/DR
that's what I used to do ... I had an "almost transparent" png and a "full transparent png" instead of a transparent color.
Why ?
So I could easily using a small script and/or a shortcut switch from "a color" to "an image" that ... was transparent. It used to work around a bug that probably doesn't exist anymore.
Time to cleanup my messy config
Last edited by squalou (2020-08-27 16:55:55)
Offline
In the configuration of the panel, under appearance, choose it to be full transparent when leaving. Maybe not the best solution, but it works, you don't see any part of the panel when the mouse has left.
Offline