Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-03-06 07:58:04

furycd001
Member
From: Northern Ireland
Registered: 2018-08-22
Posts: 29
Website

Possible to completely hide xfce4-panel :?

HI..

Whenever you hide the panel there's always a few pixels left showing on the screen that do not hide. Using gtk.css is it possible to remove these pixels & completely hide the panel :? If so, how can it be done thanks. Running xfce4-panel 4.12.2 (Xfce 4.12) on Xubuntu 18.04.4....

Offline

#2 2020-03-06 11:36:34

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

Re: Possible to completely hide xfce4-panel :?

The thinnest it can go is one pixel width. Using the following snippet in ~/.gtkrc-2.0:

style "xfce-panel-window-style"
{
  # Size of autohide window in pixels
  XfcePanelWindow::autohide-size = 1
}
class "XfcePanelWindow" style "xfce-panel-window-style"

To make it look fully hidden, you can change the background to a transparent colour.


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

#3 2020-03-06 11:50:54

furycd001
Member
From: Northern Ireland
Registered: 2018-08-22
Posts: 29
Website

Re: Possible to completely hide xfce4-panel :?

Thanks for that code smile Works perfectly smile

Offline

#4 2020-08-08 13:33:20

roachsinai
Member
Registered: 2020-05-13
Posts: 2

Re: Possible to completely hide xfce4-panel :?

Seems not work for me, still few pixels.

Offline

#5 2020-08-08 19:34:21

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

Re: Possible to completely hide xfce4-panel :?

roachsinai wrote:

Seems not work for me, still few pixels.

What version of the Xfce panel are you running? The above snippet only works with versions 4.12 or lower (GTK2). See https://forum.xfce.org/viewtopic.php?pid=58447#p58447.


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

Board footer

Powered by FluxBB