Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I'm using Xscreensaver. I replaced gnome-screensaver with it. Made such link:

sudo ln -s /usr/bin/xscreensaver-command /usr/bin/gnome-screensaver-command

However, hitting Ctrl+Alt+L does nothing even after I replaced actual command. But running xscreensaver-command -lock inside terminal locks screen fine.

Any ideas?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

From your Dash search for keyboard

enter image description here

Then go to shortcuts tab

enter image description here

Under System menu go to lock screen and change the associated shortcut to a new One.

enter image description here

on Custom Shortcuts click on + and enter the command xscreensaver-command and associated it the Ctrl+Alt+L shortcut.

enter image description here

share|improve this answer
Yep, I made custom shortcut, but locking does not work anyway except xscreensaver-command -lock typed in terminal. Also, I have entry xscreensaver -nosplash inside Startup Applications, if someone suspects that I don't have it. Anyway, thanks for your try. –  Danatela Feb 18 '14 at 5:36
have you made the custom shortcut with the command xscreensaver-command -lock ? –  Maythux Feb 18 '14 at 5:38
Yes. I should relogin after that, and now it works! –  Danatela Feb 18 '14 at 5:50
@Danatela Ok good. Glad to be able to help. wish you nice time –  Maythux Feb 18 '14 at 5:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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