You are not logged in.

#1 2020-08-08 12:37:52

roachsinai
Member
Registered: 2016-10-23
Posts: 11

Is there a way to completely hide Xfce panel bar?

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

#2 2020-08-09 10:11:25

Anchorman
Member
Registered: 2020-07-26
Posts: 49
Website

Re: Is there a way to completely hide Xfce panel bar?

When i set it to hide it doesn't show any pixels at all...

Offline

#3 2020-08-27 09:15:45

squalou
Member
Registered: 2018-06-04
Posts: 112

Re: Is there a way to completely hide Xfce panel bar?

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)

https://postimg.cc/1nwpCS47

moderator edit -- removed oversized image.
Pasting pictures and code


(sorry for the oversized image, first attempt at including one wink thanks to the moderator action)

Last edited by squalou (2020-08-27 16:49:10)

Offline

#4 2020-08-27 11:23:17

toz
Member
Registered: 2011-10-28
Posts: 498

Re: Is there a way to completely hide Xfce panel bar?

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

#5 2020-08-27 16:54:50

squalou
Member
Registered: 2018-06-04
Posts: 112

Re: Is there a way to completely hide Xfce panel bar?

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 wink

Last edited by squalou (2020-08-27 16:55:55)

Offline

#6 2020-08-28 09:22:32

shellback
Member
Registered: 2015-01-17
Posts: 30

Re: Is there a way to completely hide Xfce panel bar?

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

Board footer

Powered by FluxBB