Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#62012 - [sway] RFE: systemd --user integration
Attached to Project:
Community Packages
Opened by Damjan Georgievski (damjan) - Thursday, 14 March 2019, 17:25 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 22 April 2019, 23:26 GMT
Opened by Damjan Georgievski (damjan) - Thursday, 14 March 2019, 17:25 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 22 April 2019, 23:26 GMT
|
DetailsThe idea is to support for systemd --user sessions when running sway.
We need to add /usr/lib/systemd/user/sway-session.target More info is here https://github.com/swaywm/sway/wiki/Systemd-integration there are two options here, one is for sddm/gdm/… to start sway directly (as now), and then sway would start its session, or, the login manager can start a shell script that imports env vars for the session, and runs sway as a --user service itself. sway.service has a dependency on sway-session.target. I'm running the second option, so that I also get the output from sway in the user journal. ps. this has been suggested to upstream in a pull request, but they seem to have unreasonable opinions on systemd, and suggested that distributions should implement it themselves. |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Monday, 22 April 2019, 23:26 GMT
Reason for closing: No response
Monday, 22 April 2019, 23:26 GMT
Reason for closing: No response
If you have specific files and commands that made it work for you, that could be helpful. Did you just follow the instructions on the sway wiki, using the sway and wlroots packages from [community]?
Do you have a working example of using systemd user services for launching sway?