Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to lock workstation in Xubuntu (XFCE, XFWM)?

share|improve this question
up vote 10 down vote accepted

You use program called xflock4, I can really remember what is the shortcut to that bu i thing it is Ctrl+Alt+Delete. Anyway if it doesn't work make sure it is installed.

share|improve this answer
Yes, Ctrl+Alt+Delete works. Thanks. And the keyboard shortcut can be chaned in XFCE keyboard configuration. – Ivan Dec 21 '10 at 10:20

I recently upgraded from Xubuntu 11.10 to Xubuntu 12.04 LTS, which made the <Control><Alt>Delete stop initiating the lock for some unknown reason.

To work around this (and reinstate the original behavior), you can go to Xfce Settings, then Keyboard, then Application Shortcuts. You should find the original <Control><Alt>Delete shortcut for xflock4. But now try adding a new shortcut for the same command (xflock4), by entering what you believe to be "Control", "Alt", "Delete". The shortcut entered in will say <Primary><Alt>Delete. Now the key sequence should work, but I don't know why my "Control" key is called "Primary".

share|improve this answer

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.