Open Dejvino opened 4 years ago
A workaround is to comment out this line:
Exec=elogind-inhibit --what=shutdown:handle-power-key --mode=block dbus-run-session /usr/bin/sway
and enable (remove the comment) from the next line:
Exec=dbus-run-session /usr/bin/sway
plus let logind know to ignore the power button by editing its config file.
Where is the logind config file located? I don't see it in /etc
Sway fails to start since elogind-inhibit that should start it fails with Access denied. Seems like some permissions need to be fixed. Related file: /usr/share/wayland-sessions/sway.desktop