Improving Sway PKGBUILD For Arch Linux

The PKGBUILD file for the sway wayland compositor on Arch Linux had a hard dependency on polkit which didn't really make sense because sway doesn't depend on polkit. However, systemd does depend on polkit to provide access to seat hardware devices and the user session to sway. The alternative is using seatd, a lightweight seat and session management daemon that can act as a replacement of systemd-logind for this specific task.

=> seatd

I raised a bug report on the Arch Linux bugtracker and Brett Cornwall made several improvements to the sway PKGBUILD since sway 1:1.7-2 was released. I also updated the Arch Linux wiki to highlight these changes.

=> bug report on Arch Linux to use seatd | replacing polkit with seatd for sway in Arch Linux | Updated Arch Linux wiki page on Sway

If you're using Arch Linux and sway, you can now uninstall polkit and use seatd which should already be installed.


Created: 2022-05-21

=> MicroGemlog | Home

Proxy Information
Original URL
gemini://ayushnix.com/microgemlog/2022-05-21-improving-sway-pkgbuild-arch-linux.gmi
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
612.935187 milliseconds
Gemini-to-HTML Time
0.442822 milliseconds

This content has been proxied by September (3851b).