Add policykit and software rendering fallback to README.md
We should likely add the policykit dependency (and the WLR_RENDERER=pixman software rendering fallback) somewhere to the readme. I think it is usually available on systems that have at least one desktop environment running but for new systems without any desktop environment it would reduce the time required to get labwc running and prevent some troubleshooting steps.
See #859 for reference.
As far as I can tell polkit is only required if you use systemd-logind or elogind. So on systems like Alpine while using openrc + seatd instead it shouldn't be needed.
That is good to know. So maybe we can add something generic like "When experiencing permission errors during labwc startup, installing policykit might help".
Ah, don't even need polkit installed, just gotta make sure that seatd is running in that case. The Alpine wiki instructions say to also add the user to the seat group, but on debian it was enough for me to systemctl enable --now seatd.
We could just add to the runtime dependencies
systemd-logindandpolkit, orseatd
I feel like the whole thing is kind of distro specific. Not sure what's best. Also the longer I think about what to write the worse it sounds. 😆
We should likely add the policykit dependency (and the
WLR_RENDERER=pixmansoftware rendering fallback) somewhere to the readme. I think it is usually available on systems that have at least one desktop environment running but for new systems without any desktop environment it would reduce the time required to get labwc running and prevent some troubleshooting steps.See #859 for reference.
Would it be worth also listing GUI polkit software packages someone could use in autostart to get a GUI popup? I recently had to figure this out and my solution was installing lxqt's polkit agent and autostarting it in the background. (It was otherwise trying to use systemctl's prompt and wasn't spawning a terminal window to make it work)
Would it be worth also listing GUI polkit software packages someone could use in autostart to get a GUI popup? I recently had to figure this out and my solution was installing lxqt's polkit agent and autostarting it in the background. (It was otherwise trying to use systemctl's prompt and wasn't spawning a terminal window to make it work)
Yes. I'll try to get around to this soon.
I don't know anything about GUI polkit software. If you're happy to provide some words/sentences or a few pointers, that would be good.
Maybe https://wiki.archlinux.org/title/Polkit#Authentication_agents is useful