You are not logged in.

#1 2022-05-18 18:56:10

Apotheosis
Member
Registered: 2022-05-18
Posts: 2

[SOLVED] XFCE + BSPWM dual monitor workspace issue

Hi , first time poster and recent arch user smile

See below my setup:

OS: Arch Linux x86_64
Resolution: 2560x1440 (DP-2, primary), 1440x2560 (DP-0, left of DP-2)
DE: Xfce 4.16
WM: bspwm

I followed the guide from the arch wiki and this guide to change the Xfce window manager to bspwm.

See below my bspwmrc (removed unnecessary parts):

## Configurations --------------------------------------------#
bspc monitor DP-2 -d I II III IV V
bspc monitor DP-0 -d VI VII VIII IX X
bspc wm --reorder-monitors DP-2 DP-0

## Autostart programs ----------------------------------------------#

# Kill if already running
#killall xfsettingsd &

#xfsettingsd --replace --D &
pgrep -x sxhkd > /dev/null || sxhkd &
redshift -x && redshift -c ~/.config/redshift/redshift.conf &
feh --bg-fill -r -z ~/Pictures/wallpapers &
xsetroot -cursor_name left_ptr &

I use xfce-panels and both my monitors with the workspace switcher to show my work spaces.
My issue is that whenever I login the work spaces get switched up, so the work spaces assigned to DP-2 which is my primary display, show on DP-0 and vice versa. As you can see in my bspwmrc I set:

bspc wm --reorder-monitors DP-2 DP-0

to fix the order of the work spaces, but this reverts on login so I have to restart my bspwm every time I login to fix the workspace order.

After restarting bspwm:
before login

I have set my display settings with Xfce-display-settings so I thought that maybe the display settings interfere with the bspwmrc, so then I tried the now uncommented lines:

#killall xfsettingsd &
#xfsettingsd --replace --D &

This code actually fixed the work spaces, so whenever I login the correct order for the monitors are shown BUT now the Gtk settings don't load so my themes don't show up properly.

Please let me hear your thoughts on how to fix this. Thanks in advance.

Last edited by Apotheosis (2022-05-18 19:29:42)

Offline

#2 2022-05-18 19:28:43

Apotheosis
Member
Registered: 2022-05-18
Posts: 2

Re: [SOLVED] XFCE + BSPWM dual monitor workspace issue

SOLVED:

I had to manually change the workspace names in the workspace switcher item for the xfce4-panel so that they match the workspace names in my bspwmrc

Offline

Board footer

Powered by FluxBB