Categories
diy linux

lock screen with xscreensaver

Just a quick tip in case you’re not using a major desktop environment like KDE. I’m using LXQT at the moment and as a screensaver it uses xscreensaver. It has no default shortcut to lock the screen, so I looked around a little bit and I found this command:

xscreensaver-command -lock

which will fire up the screensaver locking the screen.

to set it up just open the lxqt settings and add a new global shortcut (mine is Win + L) and save. That’s it, now everytime you need to lock your screen just hit the shortcut and voilĂ ..

Danilo M.

By Danilo M.

Hi, I'm Danilo, I own this website.
I love Linux, I prefer Slackware over every other distribution, I live, eat, breath WordPress. I'm interested in technology in general and I try to write on this blog whenever I find the time..

Enjoy your stay on danix.xyz

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.