<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Udev on Learning Journey of Alexander Allgäuer</title><link>https://bitlex.li/tags/udev/</link><description>Recent content in Udev on Learning Journey of Alexander Allgäuer</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 14 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://bitlex.li/tags/udev/index.xml" rel="self" type="application/rss+xml"/><item><title>YubiKey: Autolockscreen via udev (Hyprland)</title><link>https://bitlex.li/tutorials/yubikey-autolockscreen/</link><pubDate>Tue, 14 Apr 2026 00:00:00 +0000</pubDate><guid>https://bitlex.li/tutorials/yubikey-autolockscreen/</guid><description>&lt;p&gt;Automatically lock your Hyprland session the moment you pull your YubiKey out of the USB port.
A udev rule triggers a screen lock script.&lt;/p&gt;
&lt;h2 id="read-hyprlock-doc-first"&gt;Read hyprlock doc first!&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;⚠️ :&lt;/strong&gt; If you are using hyprland the default application to lock the screen is Hyprlock.
Hyprlock does not automatically create a config, and without one, hyprlock will not render anything.
But even without a config, your session will get locked and thus Hyprland will cover your session with a black screen.&lt;br&gt;
&lt;a href="https://wiki.hypr.land/Hypr-Ecosystem/hyprlock/"&gt;https://wiki.hypr.land/Hypr-Ecosystem/hyprlock/&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>