regolith-desktop
regolith-desktop copied to clipboard
Switching monitors does not restore workspace assignments correctly anymore
Describe the bug After installing regular package update (no upgrade) this week, each time I re plug my primary display, only the first workspace is moved back to it, each other workspace stays on my (tiny) laptop display.
I double checked the output names, they are unchanged.
Reloading config does nothing.
set $display1 eDP
set $display2 HDMI-A-0
workspace "$ws1" output $display1
workspace "$ws2" output $display2
workspace "$ws3" output $display2
workspace "$ws4" output $display2
workspace "$ws5" output $display2
workspace "$ws6" output $display2
workspace "$ws7" output $display2
workspace "$ws8" output $display2
workspace "$ws9" output $display2
workspace "$ws10" output $display1
Installation Details
- PopOS! 20.04
- Regolith Version: regolith-desktop/focal 2.104-1focal amd64
- PPA url: deb http://ppa.launchpad.net/regolith-linux/release/ubuntu focal main
I'm unable to reproduce this on unstable
with Ubuntu 20.04. I'm not 100% sure about this, but I don't think anything relevant is different in this regards to release
.
I also cannot reproduce this issue. Are you sure the display specifiers are correct? It might have been an i3 update, but I don't see anything relevant in the CHANGELOG
.
Thanks for your reply. Yes, everything is correct. I have to move all workspaces as described every login from suspend now.
Let me know, if I can provide you more information, logs etc. I'm not so familiar with the modules.
Edit: I upgraded regolith-desktop package, it was hold back, but no changes.
Hmm, as a bit of a longshot, could you paste the output of xrandr
when everything is set up as you want it to be?
$ xrandr
Screen 0: minimum 320 x 200, current 4480 x 1080, maximum 16384 x 16384
eDP connected 1920x1080+2560+0 (normal left inverted right x axis y axis) 309mm x 174mm
1920x1080 60.03*+
1680x1050 60.03
1280x1024 60.03
1440x900 60.03
1280x800 60.03
1280x720 60.03
1024x768 60.03
800x600 60.03
640x480 60.03
HDMI-A-0 connected primary 2560x1080+0+0 (normal left inverted right x axis y axis) 673mm x 284mm
2560x1080 59.98*+
1920x1080 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98
1680x1050 59.88
1280x1024 75.02 60.02
1440x900 59.90
1280x960 60.00
1280x800 59.91
1152x864 75.00
1280x720 60.00 50.00 59.94
1440x576 50.00
1024x768 75.03 70.07 60.00
1440x480 60.00 59.94
832x624 74.55
800x600 72.19 75.00 60.32 56.25
720x576 50.00
720x480 60.00 59.94
640x480 75.00 66.67 60.00 59.94
720x400 70.08
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
I have a similar issue. Unplugging my external monitor then reconnecting results in $ws1 being shown, but the rest stay on the laptop screen.
I wasn't having this issue a couple of weeks ago. I can't be 100% at what point it started. In that time I upgraded from 1.3 --> 1.5.1, and then updated to 1.5.2.
set $laptop eDP-1
set $ext1 DP-1
set $ext2 DP-2
workspace $ws1 output $ext1 $ext2 $laptop
workspace $ws2 output $ext1 $ext2 $laptop
workspace $ws3 output $ext1 $ext2 $laptop
workspace $ws4 output $ext1 $ext2 $laptop
workspace $ws5 output $ext1 $ext2 $laptop
workspace $ws6 output $ext1 $ext2 $laptop
workspace $ws7 output $ext1 $ext2 $laptop
workspace $ws8 output $ext1 $ext2 $laptop
workspace $ws9 output $ext1 $ext2 $laptop
workspace $ws10 output $ext1 $ext2 $laptop
workspace $ws11 output $laptop $ext1 $ext2
Forcing the correct arrangement with a script works fine, e.g...
i3-msg '[workspace="2:"]' move workspace to output DP-2
# + repeated for other worskspaces 3-10
Ubuntu: 20.04 Regolith Version: regolith-desktop-standard/focal,now 2.107-1focal amd64