0

I installed xscreensaver in kde, because i dont like the way the default gnome screensaver looks, and after installing xscreensaver, i uninstalled gnome screensaver. I am not asking for the keyboard combo, i need to change the command. Whenever i press lock screen in the application launcher thinking its using the xscreensaver command, it says the screen locker is broken, and i need to use ctrl alt f2 and enter,

loginctl unlock-sessions

to unlock it, im assuming its using the old gnome screensaver command, because i uninstalled it. Is there anyway to change the lock screen button command to use xscreensaver's command? That is:

xscreensaver-command -lock

0

Luckily for you I have a direct answer. Replace the contents of /usr/lib/kscreenlocker_greet with the command below and then make the file executable.

#!/bin/sh
xscreensaver-command -lock

Now clicking the "Lock" button in the launcher will execute the script.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.