23
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 20 Jul 2026
23 points (100.0% liked)
Linux
14599 readers
366 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 3 years ago
MODERATORS
You could just drop the line into a script (without the sudo) into
/usr/local/bin/and call it on startup.If you use systemd it's as simple as:
Just drop it into
/etc/systemd/system/lid-suspend.serviceand then callsudo systemctl daemon-reloadandsudo systemctl enable lid-suspendThank you for this!๐ I was going this way, but found that some
udevconfig may need change, see update to post.