You are not logged in.

#1 2016-10-01 23:46:16

Jetfrog28
Member
Registered: 2016-09-13
Posts: 4

[SOLVED] xfce4 - How to make a panel appear behind windows

I'm running an up-to-date Arch installation with xfce4. I'm trying to set up a panel for system monitoring. I want the panel to appear below any open windows at all times, basically inaccessible unless the desktop is showing.

The closest I've gotten is to have the panel set to intelligently autohide. This isn't ideal because it still leaves a small bar accross the bottom of the screen and mousing over it brings up the panel.

One thing I have noticed is that if you set a window to Always on Top it will be drawn over the panel, which is exactly what I'm looking for. Is there a way to set the panel to Always Below other Windows?

From the xfce4 FAQ:

How do I set the panel layer in Xfce 4.2 and 4.4?

In order to improve focus management this option was removed.

I believe this is the feature I'm looking for. Does anyone know a way to reenable it or otherwise recreate the behavior?

Last edited by Jetfrog28 (2016-10-02 01:21:09)

Offline

#2 2016-10-02 00:53:42

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

Re: [SOLVED] xfce4 - How to make a panel appear behind windows

Panel below windows doesn't make much sense - it will not be visible. In which case, why not just set it to "intelligently hide"? The end effect should be the same.

If for some reason you actually want the panel layered below all windows, the following command will do it:

wmctrl -r :SELECT: -b add,below

...and when the cross-hairs pop-up, click on the panel. This can be automated using devilspie.

EDIT: Should have read your post more closely. You can change the width of the hidden bar with something like this in ~/.gtkrc-2.0:

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

...and change the auto-hide size as required.

The other option is to set opacity to 0 and you won't see the bar when the window is hidden.

Last edited by toz (2016-10-02 00:56:49)

Offline

#3 2016-10-02 01:24:11

Jetfrog28
Member
Registered: 2016-09-13
Posts: 4

Re: [SOLVED] xfce4 - How to make a panel appear behind windows

toz wrote:
wmctrl -r :SELECT: -b add,below

This was exactly what I was looking for. Thank you very much.

Offline

Board footer

Powered by FluxBB