Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-06-03 22:11:07

creeper
Member
Registered: 2020-06-03
Posts: 5

Is there a way to keep a particular panel out of the way?

I want to keep certain panels out of the way.
Is there any way?

Offline

#2 2020-06-03 23:08:53

eriefisher
Member
From: ON, Canada
Registered: 2008-10-25
Posts: 528

Re: Is there a way to keep a particular panel out of the way?

In the panel setting you can "hide" panel.


Siduction
Debian Sid
Xfce 4.18

Offline

#3 2020-06-04 08:05:40

creeper
Member
Registered: 2020-06-03
Posts: 5

Re: Is there a way to keep a particular panel out of the way?

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

#4 2020-06-04 08:10:21

Linpassion
Member
Registered: 2018-06-27
Posts: 23

Re: Is there a way to keep a particular panel out of the way?

If I know do you want window  cover the bar?

Offline

#5 2020-06-04 08:20:08

creeper
Member
Registered: 2020-06-03
Posts: 5

Re: Is there a way to keep a particular panel out of the way?

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

#6 2020-06-04 10:40:36

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Is there a way to keep a particular panel out of the way?

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.


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

#7 2020-06-04 12:49:41

creeper
Member
Registered: 2020-06-03
Posts: 5

Re: Is there a way to keep a particular panel out of the way?

It worked very well.
Thank you!

Offline

#8 2022-06-13 23:29:59

Tio
Member
Registered: 2021-09-26
Posts: 92

Re: Is there a way to keep a particular panel out of the way?

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

#9 2022-06-14 00:00:49

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Is there a way to keep a particular panel out of the way?

Tio wrote:

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.


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

#10 2022-06-14 01:19:47

Tio
Member
Registered: 2021-09-26
Posts: 92

Re: Is there a way to keep a particular panel out of the way?

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... smile - Thank you so much btw!

Offline

#11 2022-06-14 01:29:07

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Is there a way to keep a particular panel out of the way?

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.


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

#12 2022-06-14 15:48:09

Tio
Member
Registered: 2021-09-26
Posts: 92

Re: Is there a way to keep a particular panel out of the way?

That's good to know. Thanks!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 561.26 KiB (Peak: 578.1 KiB) ]