How to run screensaver by hot key?

Under my Kubuntu 18.04 I have installed screensaver with default options and I want to know if there is a way to run
screensaver by hot key or by console command.


There’s a setting called Global Shortcuts where you can assign hotkeys. Not sure about whether you can add hotkeys to a custom command though.

EDIT. You can add hotkeys for applications listed in the application launcher.

1 Like

I found this option
but looks like that is different

I searched in net and found locking coomand
gnome-screensaver-command -l
which works, but I do not like lock the system…

I’m not really sure if Plasma has screensavers built in. You might have to find one that shows a screensaver but doesn’t lock your computer.

@PetroGromovo you can probably configure that in window manager settings. I do not use KDE but I am sure it is possible.