rnestler / reboot-arch-btw

Checks if your ArchLinux needs a reboot due to a kernel update
GNU General Public License v3.0
25 stars 4 forks source link

No 'restart the session' for desktop environments #185

Open ShalokShalom opened 3 weeks ago

ShalokShalom commented 3 weeks ago

Several DEs - Plasma for sure, idk about others - need their restart of the session too.

It might be feasible to a) add that to the restart session option, or b) create a dedicated enum for this.

I can restart my desktop session simply with plasmashell --replace and that does not need to reload the desktop manager. It is simple, straightforward and you quick.

(I see, that the only two services currently registered to trigger a restart of the desktop session, is xorg-server, and xorg-xwayland. Idk what is responsible for Wayland to be reloaded, but I guess that could be included as well. Or does the compositor do that?)

rnestler commented 5 days ago

It might be feasible to a) add that to the restart session option

You can already add the packages you want to watch with --session-restart-packages. IMO it doesn't make much sense to extend the defaults, since this is for Arch Linux and users generally have very custom setups and needs.

I see, that the only two services currently registered to trigger a restart of the desktop session, is xorg-server, and xorg-xwayland. Idk what is responsible for Wayland to be reloaded, but I guess that could be included as well. Or does the compositor do that?

Both xorg-server and xorg-xwayland are about the running X-Server, not wayland. So either the native X server or Xwayland.

Usually the compositor starts Xwayland as well.