xflock4: lock the screen

I am using XFCE and I want to have an entry in the menu that will lock the screen. The command that locks the screen in XFCE is

xflock4

yes… it took me some time to figure it out. Anyway, from here it is quite straightforward. I made the following xflock4.desktop file:

[Desktop Entry]
Categories=System;
Comment=Molecular evolutionary genetics analysis
Exec=xflock4
Icon=/usr/share/icons/Adwaita/48x48/status/changes-prevent.png
Name=Screen lock
StartupNotify=false
Type=Application

and placed it in ~/.local/share/applications/

That’s it!



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s