Re: [systemd-devel] User wayland session, conceptual questions

2024-11-30 Thread Vladimir Kudrya
Hello again. What would be the proper way of transferring environment variables set by pam for login sessions into systemd user service activation environment? Is there a tool or setting that does this automatically? The problem is, in context of a login session it is hard to tell which vars

Re: [systemd-devel] User wayland session, conceptual questions

2023-02-25 Thread Vladimir Kudrya
Hello again. I have a question about XDG autostart implementation. Why are units generated with "@autostart" specifier and not some kind of "app-xdg-autostart-" prefix? Autostart seems to be a category of units, not an instance for specific unit. Why put it in a specifier? Is there a use case

Re: [systemd-devel] User wayland session, conceptual questions

2023-02-13 Thread Mantas Mikulėnas
On Sun, Feb 12, 2023 at 9:27 AM Vladimir Kudrya wrote: > On 10/02/2023 12.51, Mantas Mikulėnas wrote: > > Also systemd.special manual recommends putting display servers into >> session.slice. But in case of a wayland compositor it is impossible to >> separate it from the apps, because the composi

Re: [systemd-devel] User wayland session, conceptual questions

2023-02-11 Thread Vladimir Kudrya
On 10/02/2023 12.51, Mantas Mikulėnas wrote: Also systemd.special manual recommends putting display servers into session.slice. But in case of a wayland compositor it is impossible to separate it from the apps, because the compositor handles keyboard shortcuts (which launch apps

Re: [systemd-devel] User wayland session, conceptual questions

2023-02-10 Thread Vladimir Kudrya
On 10/02/2023 12.51, Mantas Mikulėnas wrote: The whole graphical session (wayland-wm@${WM}.service or wayland-wm-${WM}.scope depending on uwsm mode of operation) and apps live in the app.slice. Which seems to be in accordance to app.slice description in systemd.special manual.

Re: [systemd-devel] User wayland session, conceptual questions

2023-02-10 Thread Mantas Mikulėnas
On Fri, Feb 10, 2023 at 12:27 PM Vladimir Kudrya wrote: > On 10/02/2023 12.51, Mantas Mikulėnas wrote: > > Also systemd.special manual recommends putting display servers into >> session.slice. But in case of a wayland compositor it is impossible to >> separate it from the apps, because the compos

Re: [systemd-devel] User wayland session, conceptual questions

2023-02-10 Thread Vladimir Kudrya
On 10/02/2023 12.51, Mantas Mikulėnas wrote: Also systemd.special manual recommends putting display servers into session.slice. But in case of a wayland compositor it is impossible to separate it from the apps, because the compositor handles keyboard shortcuts (which launch apps

Re: [systemd-devel] User wayland session, conceptual questions

2023-02-10 Thread Mantas Mikulėnas
On Fri, Feb 10, 2023, 00:11 Vladimir Kudrya wrote: > Hello everyone! > > As an experiment I wrote a session manager for standalone wayland > compositors that utilizes systemd user-level daemon features for graphical > sessions: https://github.com/Vladimir-csp/uwsm > > It can either manage targets