XFCE panel stacking order
Michael Wyraz
michael at wyraz.de
Wed Oct 19 14:00:07 CEST 2022
I did some further tests:
With
for w in $( xdotool search xfce4-panel ); do echo -n "$w "; xdotool
getwindowname $w; done
I get a list of xfce4-panel window IDs. With
xdotool windowfocus 18874371
I can focus the "good" panel which brings it to the front.
Unfortunetaly there seems to be no way to tell which window belongs to
which panel, so that I could script a workaround.
Am 19.10.22 um 07:55 schrieb Michael Wyraz:
> Hello,
>
> I'm switching a lot between a single and dual monitor configuration.
> This is supported pretty well by XFCE, except when it comes to the panel.
>
> I have 2 panels, one with all the bells ans whistles (like
> notification area which can exist only on one panel), the other only
> with whisker menu and the task buttons.
>
> When unplugging my laptop from the monitors, it seems to be absolute
> random, which of the panels is at the top and so which is visible.
> Sometimes it's the "good one", sometimes the other.
>
> 3rd party solutions do exist to deal with that (e.g.
> https://blog.bluesabre.org/2015/10/12/xfce-panel-switch-introduction/)
> but this adds/deletes panels and needs to be updated each time the
> panel was changed.
>
> IMO, the issue could solved for almost all use cases if the panel
> would get an option to set the stacking order. The simplest solution
> would be if the order would be the same order as the panel in the
> panel list. A better one would be an option in xfce4-settings-editor.
> And the ideal one would be a setting visible in the panel settings :-)
>
> What do you think? Would this be a low hanging fruit that could be
> easily implemented before 4.18 is released?
>
> Kind regards,
>
> Michael.
>
>
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce4-dev
More information about the Xfce4-dev
mailing list