regolith-linux / regolith-desktop

Meta package for the Regolith Desktop Environment
1.48k stars 31 forks source link

i3-next-workspace crashes in Regolith 3.0 #844

Open kgilmer opened 1 year ago

kgilmer commented 1 year ago

2023-04-22T10:25:13.513751-07:00 ana regolith.desktop[2724510]: Traceback (most recent call last): 2023-04-22T10:25:13.513846-07:00 ana regolith.desktop[2724510]: File "/usr/bin/i3-next-workspace", line 38, in 2023-04-22T10:25:13.513875-07:00 ana regolith.desktop[2724510]: startnum = min(mapping_names.keys()) 2023-04-22T10:25:13.513892-07:00 ana regolith.desktop[2724510]: ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-04-22T10:25:13.513909-07:00 ana regolith.desktop[2724510]: ValueError: min() arg is an empty sequence

kgilmer commented 1 year ago

The code expects i3 workspace names to begin with "i3-wm" however we've changed these keys to be wm agnostic for wayland.

cfsmp3 commented 1 year ago

The code expects i3 workspace names to begin with "i3-wm" however we've changed these keys to be wm agnostic for wayland.

On a very quick look, the first issue is that xrdb -query doesn't return anything.

kgilmer commented 1 year ago

Yep, thanks @cfsmp3 ! There is a PR if you'd care to verify but I don't think this is a very complex issue..

cfsmp3 commented 1 year ago

Yep, thanks @cfsmp3 ! There is a PR if you'd care to verify but I don't think this is a very complex issue..

Seems easy, but the initial issue I have (note that I'm not totally up-to-date, still 2.2 more or less stable) is that the query comes empty, so the issue happens (for me) before the filter with the names.