Today I learned...

Fixing idle-inhibitor behaviour in Firefox with Wayland

Whenever Firefox played videos or - actually more relevant - I watched the shared screen of a colleague, after some time the screenlock would start. This is especially annoying, since I have to enter my password to unlock again.

In my status way waybar there is an idle inhibit switch which I could then use to prevent the lock from activating. That this switch worked led to the conclusion that there is something with Firefox that prevented this from working. Behind the scenes, there are two components that have mixed responsibility when it comes to locking / suspending / sleeping - responsibilities which overlap, and are not completely clear in the end.


Archlinux Sway with a 4K display

Subtle issues running an external 4K display on Linux

Managing Sway tools as systemd services

Sway in its default config comes with almost no support for starting and managing helper applications. However, using systemd you can comfortably control your whole session.

Waiting for Waybar tray

Helper script for waybar