[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#989333: xfce4-panel: does not start without --disable-wm-check



Control: severity -1 wishlist
Control: retitle -1 xfce4-panel: problem loading with bspwm

On Tue, 01 Jun 2021 08:32:27 -0300 Daniel D
<danidantur+reportbug@gmail.com> wrote:
> Package: xfce4-panel
> Version: 4.16.2-1
> Severity: important
> X-Debbugs-Cc: danidantur+reportbug@gmail.com
>
> Dear Maintainer,
>
> I use xfce4 replacing xfwm with bspwm in all my computers (all Debian). It works great with Buster(stable) but today I've upgrade it to Bullseye(testing) and then panel won't start.
>
> Tried to run xfce4-panel from terminal and I got the following output:
> xfce4-panel: No window manager registered on screen 0. To start the panel without this check, run with --disable-wm-check.
> I did run it with --disable-wm-check and the panel showed up in place.
>
> Now xfce4-panel seems to work as expected.
>
> I was expecting xfce4-panel to work with bspwm out of the box as usual.
This is not an xfce4-panel bug per se. It seems that bspwm doesn't
even bother owning the WN_Sn (where n is the screen number) selection
at all. This is not compliant with ICCCM[1]. This window manager is
implemented in a very different way.

Regardless, xfce4-panel is designed to run even without a proper
window manager. The log messages are a false alarm.
panel_application_load_real() is called irrespective of whether a WM
was found or not.

After testing on unstable, I can attest that both xfce4-panel and
bspwm run without issues. Make sure to:
1) Set bspwm as your WM: `xfconf-query -c xfce4-session -p
/sessions/Failsafe/Client0_Command -n -a -t string -s bspwm`
2) Have configured both bspwm and sxhkd (God, those names!)

If that doesn't do the trick, run the following command:
`xfconf-query -c xfce4-session -p /sessions/Failsafe/Client2_Command
-n -a -t string -s "xfce4-panel" -t string -s "--disable-wm-check"`
This will start the panel skipping the check.

[1] https://x.org/releases/X11R7.6/doc/xorg-docs/specs/ICCCM/icccm.html#communication_with_the_window_manager_by_means_of_selections


Reply to: