regolith-linux / regolith-desktop

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

Ubuntu 24.04 issue list #998

Open kgilmer opened 3 months ago

kgilmer commented 3 months ago
kgilmer commented 3 months ago

@SoumyaRanjanPatnaik FYI

SoumyaRanjanPatnaik commented 3 months ago

There's also the file portal issue that needs solving. I think I know what's causing it and how to fix it.

SoumyaRanjanPatnaik commented 3 months ago

sway-regolith fails w/ file conflict for /etc/sway/config, but unclear what it's conflicting with. Re apply install statement 2nd time produces no error

non-regolith desktop sessions for i3 and sway are installed

I think this should fix it for sway.

SoumyaRanjanPatnaik commented 3 months ago

xdg-desktop-portal-gnome gets installed and the regolith variant does not, leading to the 30 second app launch funtimes

I have noticed that recommended packages don't always get installed. My theory is changes to the recommended list for a package get skipped while upgrading. Although I'm not completely sure if this is what's actually happening.

kgilmer commented 3 months ago

My theory is changes to the recommended list for a package get skipped while upgrading.

Interesting! yes LMK if you find this to be a fact.. I'll do some digging myself.

khos2ow commented 2 months ago

Definitely related to the topic, not sure if I have to open up another ticket but, I in-place upgraded from 23.10 to 24.04 properly without any errors. But after the reboot it is stuck on log in loop. I can go to another virtual terminal without any issue.

I think I've narrowed it down to sway-regolith (specifically 1.8.1-4-1) is not being installed because there's no installable candidate for libwlroots11 (>= 0.16.0).

The following packages have unmet dependencies:
 sway-regolith : Depends: libwlroots11 (>= 0.16.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

On 23.10:

~ ➜ apt search libwlroots
Sorting... Done
Full Text Search... Done
libwlroots-dev/mantic 0.16.2-3 amd64
  Modular wayland compositor library - development headers

libwlroots-examples/mantic 0.16.2-3 amd64
  Modular wayland compositor library - binaries

libwlroots11/mantic,now 0.16.2-3 amd64 [installed,automatic]
  Modular wayland compositor library - shared library

On 24.04:

~ ➜ apt search libwlroots
Sorting... Done
Full Text Search... Done
libwlroots-dev/noble 0.17.1-2.1build1 amd64
  Modular wayland compositor library - development headers

libwlroots-examples/noble 0.17.1-2.1build1 amd64
  Modular wayland compositor library - binaries

libwlroots12t64/noble 0.17.1-2.1build1 amd64
  Modular wayland compositor library - shared library

Let me know if you want me to open up a separate ticket, or additional information, or help with testing sway-regolith/packaging/v1.9-regolith-wip

SoumyaRanjanPatnaik commented 2 months ago

Definitely related to the topic, not sure if I have to open up another ticket but, I in-place upgraded from 23.10 to 24.04 properly without any errors. But after the reboot it is stuck on log in loop. I can go to another virtual terminal without any issue.

I think I've narrowed it down to sway-regolith (specifically 1.8.1-4-1) is not being installed because there's no installable candidate for libwlroots11 (>= 0.16.0).

The following packages have unmet dependencies:
 sway-regolith : Depends: libwlroots11 (>= 0.16.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

On 23.10:

~ ➜ apt search libwlroots
Sorting... Done
Full Text Search... Done
libwlroots-dev/mantic 0.16.2-3 amd64
  Modular wayland compositor library - development headers

libwlroots-examples/mantic 0.16.2-3 amd64
  Modular wayland compositor library - binaries

libwlroots11/mantic,now 0.16.2-3 amd64 [installed,automatic]
  Modular wayland compositor library - shared library

On 24.04:

~ ➜ apt search libwlroots
Sorting... Done
Full Text Search... Done
libwlroots-dev/noble 0.17.1-2.1build1 amd64
  Modular wayland compositor library - development headers

libwlroots-examples/noble 0.17.1-2.1build1 amd64
  Modular wayland compositor library - binaries

libwlroots12t64/noble 0.17.1-2.1build1 amd64
  Modular wayland compositor library - shared library

Let me know if you want me to open up a separate ticket, or additional information, or help with testing sway-regolith/packaging/v1.9-regolith-wip

Hi @khos2ow, sway-regolith 1.9 is already packaged as part of regolith 3.2 (unstable). You can switch to that channel if you want.

echo deb "[arch=amd64 signed-by=/usr/share/keyrings/regolith-archive-keyring.gpg] \
https://regolith-desktop.org/unstable-ubuntu-noble-amd64 noble main" | \
sudo tee /etc/apt/sources.list.d/regolith.list
pmahnke commented 2 months ago

FYI I have upgraded to Noble and no longer seem to have regolith-control-center... when I manually installed it, I fell into the login loop and had to uninstall it to get back.

dalyndalton commented 1 month ago

related, switched to the testing branch on ubuntu noble and am now seeing this when trying to clean install

The following packages have unmet dependencies:
 regolith-session-sway : Depends: sway-regolith but it is not installable
                         Recommends: xdg-desktop-portal-regolith-wayland-config but it is not installable
sliedes commented 2 weeks ago

I just upgraded my Ubuntu to 24.04 and reinstalled regolith for noble from the testing repository.

Now, regolith-control-center is something that anyway has refused to run for me since at least a year. The install instruction says "regolith-control-center rebased from GNOME 46 (for supported releases)". What are those? Help, can someone describe these three packages :)

I tried installing regolith-i3-control-center-gnome or alternatively regolith-i3-control-center-regolith. What's the difference, and what's the difference of either to the package named regolith-control-center? Regardless of what I do, I seem to get this error:

$ regolith-control-center 
Running regolith-control-center is only supported under GNOME and Unity, exiting

I'm running Regolith on X11. I have trouble understanding all the layers of compositors and window managers, but my best understanding is that I'm running i3 with compton-glx (which maybe used to be picom?), and apparently a "flashback session". I thought the latter implies some part of GNOME, so I figured out maybe the control center should work...

I carefully purged all packages that mentioned "mantic". What I have left:

ii  regolith-avizo                      0.1.3-1regolith-noble    all          Avizo is a simple notification daemon,
ii  regolith-compositor-compton-glx     1.2.0-1regolith-noble    amd64        Regolith configuration for Compton
ii  regolith-control-center             1.46.0-3-1regolith-noble amd64        utilities to configure the GNOME desktop
ii  regolith-default-settings           2.0.4-1regolith-noble    amd64        Regolith default settings
ii  regolith-desktop                    4.8.0-1regolith-noble    amd64        Meta package for Regolith desktop environment
ii  regolith-displayd                   0.2.5-1regolith-noble    amd64        Daemon for enabling inter-op between
ii  regolith-ftue                       2.2.0-1regolith-noble    amd64        Regolith first time user experience
ii  regolith-i3-compositor              4.5.3-1regolith-noble    amd64        Integration of compositor into i3
ii  regolith-i3-control-center-regolith 4.5.3-1regolith-noble    amd64        regolith and gnome integrations for system management
ii  regolith-i3-default-style           4.5.3-1regolith-noble    amd64        Regolith i3 style
ii  regolith-i3-gaps                    4.5.3-1regolith-noble    amd64        Configurations to increase or decrease gaps in i3
ii  regolith-i3-i3xrocks                4.5.3-1regolith-noble    amd64        regolith default bar and status indicators
ii  regolith-i3-ilia                    4.5.3-1regolith-noble    amd64        Desktop executor
ii  regolith-i3-root-config             4.5.3-1regolith-noble    amd64        Regolith i3 root config file
ii  regolith-i3-session                 4.5.3-1regolith-noble    amd64        Regolith Desktop i3 session keybindings
ii  regolith-i3-unclutter               4.5.3-1regolith-noble    amd64        Hide the mouse cursor if not used
ii  regolith-i3xrocks-config            5.5.1-1regolith-noble    amd64        Regolith configuration for i3xrocks launcher
ii  regolith-inputd                     0.2.3-1regolith-noble    amd64        Daemon for synchronizing between
ii  regolith-look-ayu                   0.9.0-1regolith-noble    amd64        User contributed Ayu theme
ii  regolith-look-ayu-dark              0.9.0-1regolith-noble    amd64        User contributed Ayu theme
ii  regolith-look-ayu-mirage            0.9.0-1regolith-noble    amd64        User contributed Ayu Mirage theme
ii  regolith-look-blackhole             0.9.0-1regolith-noble    amd64        A very dark and minimalist theme for Regolith
ii  regolith-look-default               0.8.2-1regolith-noble    amd64        Default Look for Regolith with minimal dependencies
ii  regolith-look-default-loader        0.8.2-1regolith-noble    amd64        Script to update desktop from settings
ii  regolith-look-dracula               0.9.0-1regolith-noble    amd64        User contributed Dracula theme
ii  regolith-look-gruvbox               0.9.0-1regolith-noble    amd64        Gruvbox look for Regolith
ii  regolith-look-i3-default            0.9.0-1regolith-noble    amd64        i3 inspired look
ii  regolith-look-lascaille             0.9.0-1regolith-noble    amd64        i3 inspired look
ii  regolith-look-nevil                 0.9.0-1regolith-noble    amd64        A light look for Regolith
ii  regolith-look-nord                  0.9.0-1regolith-noble    amd64        Nord look for Regolith
ii  regolith-look-solarized-dark        0.9.0-1regolith-noble    amd64        Solarized Dark look for Regolith
ii  regolith-powerd                     0.2.0-1regolith-noble    amd64        Daemon for using swayidle
ii  regolith-rofication                 1.5.0-1regolith-noble    amd64        Rofication notification system
ii  regolith-session-common             1.1.8-1regolith-noble    amd64        Common files for regolith X11 session
ii  regolith-session-flashback          1.1.8-1regolith-noble    amd64        Regolith customized gnome-flashback session
ii  regolith-session-flashback-ext      1.1.8-1regolith-noble    amd64        Additional files for regolith X11 session
ii  regolith-sway-audio-idle-inhibit    4.5.3-1regolith-noble    amd64        Prevent sway from entering idle state if audio is playing
ii  regolith-sway-background            4.5.3-1regolith-noble    amd64        Configuration for providing media key functionality
ii  regolith-sway-dbus-activation       4.5.3-1regolith-noble    amd64        Regolith dbus activation
ii  regolith-sway-default-style         4.5.3-1regolith-noble    amd64        Regolith sway style
ii  regolith-sway-gaps                  4.5.3-1regolith-noble    amd64        Configurations to increase or decrease gaps in sway
ii  regolith-sway-gsd                   4.5.3-1regolith-noble    amd64        Configuration for providing functionality equivalent
ii  regolith-sway-gtklock               4.5.3-1regolith-noble    amd64        Configuration for using gtklock as the default locker
ii  regolith-sway-i3status-rs           4.5.3-1regolith-noble    amd64        Configuration for providing media key functionality
ii  regolith-sway-ilia                  4.5.3-1regolith-noble    amd64        Desktop executor
ii  regolith-sway-media-keys            4.5.3-1regolith-noble    amd64        Configuration for providing media key functionality
ii  regolith-sway-polkit                4.5.3-1regolith-noble    amd64        Configuration for providing media key functionality
ii  regolith-sway-screensharing         4.5.3-1regolith-noble    amd64        Configuration for screensharing
ii  regolith-sway-session               4.5.3-1regolith-noble    amd64        Regolith Desktop sway session keybindings
ii  regolith-unclutter-xfixes           1.5-2-1regolith-noble    amd64        Rewrite of unclutter using the x11-xfixes extension
ii  regolith-wm-base-launchers          4.5.3-1regolith-noble    amd64        Terminal and Browser launcher config
ii  regolith-wm-config                  4.5.3-1regolith-noble    amd64        Regolith window manager config file
ii  regolith-wm-ftue                    4.5.3-1regolith-noble    amd64        Help for new users
ii  regolith-wm-navigation              4.5.3-1regolith-noble    amd64        Configuration for navigation
ii  regolith-wm-networkmanager          4.5.3-1regolith-noble    amd64        nm-applet integration with wm
ii  regolith-wm-resize                  4.5.3-1regolith-noble    amd64        Regolith Desktop resize keybindings
ii  regolith-wm-rofication-ilia         4.5.3-1regolith-noble    amd64        Rofi based notifications
ii  regolith-wm-swap-focus              4.5.3-1regolith-noble    amd64        Navigate to last focused window
ii  regolith-wm-workspace-config        4.5.3-1regolith-noble    amd64        Configuration for windows and workspaces

The config has also changed somehow since the bottom bar is now smaller and my browser and other software is larger, but that may just as well be caused by the Ubuntu upgrade than anything regolith.

SoumyaRanjanPatnaik commented 2 weeks ago

I just upgraded my Ubuntu to 24.04 and reinstalled regolith for noble from the testing repository.

Now, regolith-control-center is something that anyway has refused to run for me since at least a year. The install instruction says "regolith-control-center rebased from GNOME 46 (for supported releases)". What are those? Help, can someone describe these three packages :)

I tried installing regolith-i3-control-center-gnome or alternatively regolith-i3-control-center-regolith. What's the difference, and what's the difference of either to the package named regolith-control-center? Regardless of what I do, I seem to get this error:

$ regolith-control-center 
Running regolith-control-center is only supported under GNOME and Unity, exiting

I'm running Regolith on X11. I have trouble understanding all the layers of compositors and window managers, but my best understanding is that I'm running i3 with compton-glx (which maybe used to be picom?), and apparently a "flashback session". I thought the latter implies some part of GNOME, so I figured out maybe the control center should work...

I carefully purged all packages that mentioned "mantic". What I have left:

ii  regolith-avizo                      0.1.3-1regolith-noble    all          Avizo is a simple notification daemon,
ii  regolith-compositor-compton-glx     1.2.0-1regolith-noble    amd64        Regolith configuration for Compton
ii  regolith-control-center             1.46.0-3-1regolith-noble amd64        utilities to configure the GNOME desktop
ii  regolith-default-settings           2.0.4-1regolith-noble    amd64        Regolith default settings
ii  regolith-desktop                    4.8.0-1regolith-noble    amd64        Meta package for Regolith desktop environment
ii  regolith-displayd                   0.2.5-1regolith-noble    amd64        Daemon for enabling inter-op between
ii  regolith-ftue                       2.2.0-1regolith-noble    amd64        Regolith first time user experience
ii  regolith-i3-compositor              4.5.3-1regolith-noble    amd64        Integration of compositor into i3
ii  regolith-i3-control-center-regolith 4.5.3-1regolith-noble    amd64        regolith and gnome integrations for system management
ii  regolith-i3-default-style           4.5.3-1regolith-noble    amd64        Regolith i3 style
ii  regolith-i3-gaps                    4.5.3-1regolith-noble    amd64        Configurations to increase or decrease gaps in i3
ii  regolith-i3-i3xrocks                4.5.3-1regolith-noble    amd64        regolith default bar and status indicators
ii  regolith-i3-ilia                    4.5.3-1regolith-noble    amd64        Desktop executor
ii  regolith-i3-root-config             4.5.3-1regolith-noble    amd64        Regolith i3 root config file
ii  regolith-i3-session                 4.5.3-1regolith-noble    amd64        Regolith Desktop i3 session keybindings
ii  regolith-i3-unclutter               4.5.3-1regolith-noble    amd64        Hide the mouse cursor if not used
ii  regolith-i3xrocks-config            5.5.1-1regolith-noble    amd64        Regolith configuration for i3xrocks launcher
ii  regolith-inputd                     0.2.3-1regolith-noble    amd64        Daemon for synchronizing between
ii  regolith-look-ayu                   0.9.0-1regolith-noble    amd64        User contributed Ayu theme
ii  regolith-look-ayu-dark              0.9.0-1regolith-noble    amd64        User contributed Ayu theme
ii  regolith-look-ayu-mirage            0.9.0-1regolith-noble    amd64        User contributed Ayu Mirage theme
ii  regolith-look-blackhole             0.9.0-1regolith-noble    amd64        A very dark and minimalist theme for Regolith
ii  regolith-look-default               0.8.2-1regolith-noble    amd64        Default Look for Regolith with minimal dependencies
ii  regolith-look-default-loader        0.8.2-1regolith-noble    amd64        Script to update desktop from settings
ii  regolith-look-dracula               0.9.0-1regolith-noble    amd64        User contributed Dracula theme
ii  regolith-look-gruvbox               0.9.0-1regolith-noble    amd64        Gruvbox look for Regolith
ii  regolith-look-i3-default            0.9.0-1regolith-noble    amd64        i3 inspired look
ii  regolith-look-lascaille             0.9.0-1regolith-noble    amd64        i3 inspired look
ii  regolith-look-nevil                 0.9.0-1regolith-noble    amd64        A light look for Regolith
ii  regolith-look-nord                  0.9.0-1regolith-noble    amd64        Nord look for Regolith
ii  regolith-look-solarized-dark        0.9.0-1regolith-noble    amd64        Solarized Dark look for Regolith
ii  regolith-powerd                     0.2.0-1regolith-noble    amd64        Daemon for using swayidle
ii  regolith-rofication                 1.5.0-1regolith-noble    amd64        Rofication notification system
ii  regolith-session-common             1.1.8-1regolith-noble    amd64        Common files for regolith X11 session
ii  regolith-session-flashback          1.1.8-1regolith-noble    amd64        Regolith customized gnome-flashback session
ii  regolith-session-flashback-ext      1.1.8-1regolith-noble    amd64        Additional files for regolith X11 session
ii  regolith-sway-audio-idle-inhibit    4.5.3-1regolith-noble    amd64        Prevent sway from entering idle state if audio is playing
ii  regolith-sway-background            4.5.3-1regolith-noble    amd64        Configuration for providing media key functionality
ii  regolith-sway-dbus-activation       4.5.3-1regolith-noble    amd64        Regolith dbus activation
ii  regolith-sway-default-style         4.5.3-1regolith-noble    amd64        Regolith sway style
ii  regolith-sway-gaps                  4.5.3-1regolith-noble    amd64        Configurations to increase or decrease gaps in sway
ii  regolith-sway-gsd                   4.5.3-1regolith-noble    amd64        Configuration for providing functionality equivalent
ii  regolith-sway-gtklock               4.5.3-1regolith-noble    amd64        Configuration for using gtklock as the default locker
ii  regolith-sway-i3status-rs           4.5.3-1regolith-noble    amd64        Configuration for providing media key functionality
ii  regolith-sway-ilia                  4.5.3-1regolith-noble    amd64        Desktop executor
ii  regolith-sway-media-keys            4.5.3-1regolith-noble    amd64        Configuration for providing media key functionality
ii  regolith-sway-polkit                4.5.3-1regolith-noble    amd64        Configuration for providing media key functionality
ii  regolith-sway-screensharing         4.5.3-1regolith-noble    amd64        Configuration for screensharing
ii  regolith-sway-session               4.5.3-1regolith-noble    amd64        Regolith Desktop sway session keybindings
ii  regolith-unclutter-xfixes           1.5-2-1regolith-noble    amd64        Rewrite of unclutter using the x11-xfixes extension
ii  regolith-wm-base-launchers          4.5.3-1regolith-noble    amd64        Terminal and Browser launcher config
ii  regolith-wm-config                  4.5.3-1regolith-noble    amd64        Regolith window manager config file
ii  regolith-wm-ftue                    4.5.3-1regolith-noble    amd64        Help for new users
ii  regolith-wm-navigation              4.5.3-1regolith-noble    amd64        Configuration for navigation
ii  regolith-wm-networkmanager          4.5.3-1regolith-noble    amd64        nm-applet integration with wm
ii  regolith-wm-resize                  4.5.3-1regolith-noble    amd64        Regolith Desktop resize keybindings
ii  regolith-wm-rofication-ilia         4.5.3-1regolith-noble    amd64        Rofi based notifications
ii  regolith-wm-swap-focus              4.5.3-1regolith-noble    amd64        Navigate to last focused window
ii  regolith-wm-workspace-config        4.5.3-1regolith-noble    amd64        Configuration for windows and workspaces

The config has also changed somehow since the bottom bar is now smaller and my browser and other software is larger, but that may just as well be caused by the Ubuntu upgrade than anything regolith.

What is the value of XDG_CURRENT_DESKTOP?

sliedes commented 2 weeks ago

What is the value of XDG_CURRENT_DESKTOP?

$ echo $XDG_CURRENT_DESKTOP 
Regolith

I saw on my other computer (running Arch and an obsolete regolith) that it's "Regolith:GNOME-Flashback:GNOME".

Where is that set? Should it contain GNOME-Flashback?

SoumyaRanjanPatnaik commented 2 weeks ago

Regolith:GNOME-Flashback:GNOME is infact the correct / expected value. That holds true for Ubuntu 24.04 as well. I very recently did a clean install with Regolith and can confirm that to be the case. You might wantcheck your ~/.profile, ~/.bashrc or ~ /.config/environmentd/*.conf once to ensure this variable is not being updated unexpectedly.

Also, curious about your Display Manager. Which do you use?

sliedes commented 2 weeks ago

Regolith:GNOME-Flashback:GNOME is infact the correct / expected value. That holds true for Ubuntu 24.04 as well. I very recently did a clean install with Regolith and can confirm that to be the case. You might wantcheck your ~/.profile, ~/.bashrc or ~ /.config/environmentd/*.conf once to ensure this variable is not being updated unexpectedly.

Also, curious about your Display Manager. Which do you use?

Nothing suspicious that I can find in my ~/.profile or ~/.bashrc. No file or directory matching ~/.config/env* exists. No file in/etcmentions XDG_CURRENT_DESKTOP. Under/usr/lib/systemd, the binary file/usr/lib/systemd/systemd-xdg-autostart-condition` contains the variable name, nothing else does.

I use SDDM. I could try something else to see if that fixes things.

Looking at /proc/$pid/environ, I can see:

  4708 ?        Ssl    0:00 /usr/bin/sddm
  22015 tty1     Ssl+  22:25  \_ /usr/lib/xorg/Xorg -nolisten tcp -background none -seat seat0 vt1 -auth /run/sddm/xauth_JiNFar -noreset -displayfd 18
  22422 ?        S      0:00  \_ /usr/lib/x86_64-linux-gnu/sddm/sddm-helper --socket /tmp/sddm-auth-80836274-3eb3-4772-b555-1a591adf7d4e --id 5 --start /usr/bin/regolith-session regolith-x11 --user sami
  22431 ?        Sl     0:00      \_ /usr/libexec/gnome-session-binary --session=regolith-x11 --disable-acceleration-check regolith-x11
  22502 ?        Ss     0:00          \_ /usr/bin/ssh-agent /usr/bin/im-launch /usr/bin/regolith-session regolith-x11

Here, 22431 has XDG_SESSION_DESKTOP=Regolith in /proc/22431/environ; its parent (sddm-helper) doesn't. So somehow I assume sddm-helper set it.

I can see a line conditionally setting XDG_SESSION_DESKTOP in sddm source code (at least current HEAD, may not correspond to the version I have): https://github.com/sddm/sddm/blob/ae072f901671b68861da9577e3e12e350a9053d5/src/daemon/Display.cpp#L446

But /usr/share/xsessions/regolith-x11.desktop has a correct looking line for it:

DesktopNames=Regolith;GNOME-Flashback;GNOME

Confusing... I'll dig further. Thanks for the pointers!

sliedes commented 2 weeks ago

Turns out switching to LightDM does change the environment variable to "Regolith:GNOME-Flashback:GNOME", so SDDM is clearly doing something differently.

By the way, while investigating this, I discovered this code doesn't work (but probably doesn't matter):

https://github.com/regolith-linux/regolith-session/blob/2ef63e699056643889bbf9cb593e7292386e58ff/usr/bin/regolith-session#L10

It tries to handle XDG_CURRENT_DESKTOP not being set, but:

sami@sami:~$ /usr/bin/regolith-session regolith-x11
Starting x11 Session...
/usr/bin/regolith-session: line 10: XDG_CURRENT_DESKTOP: unbound variable
$
Philipp0205 commented 1 week ago

The error still persists on Regolith 3.2 Beta 2 which should theoretically work on Ubuntu 24.04 noble. Any hints?