PDA

View Full Version : [xubuntu] How do I lock the screen in XFCE?



JordyD
December 26th, 2008, 03:28 AM
How do I lock the screen in XFCE?

Usually I use Ubuntu, and whenever I walk away from my computer, I ctrl+alt+l. But I noticed on my laptop that runs Xubuntu, I can't do that.

Is there a key combination or button I can press?

Thanks,
Jordy

lipwig
January 27th, 2009, 01:23 AM
I'm having that same problem. I have added the 'lock screen' action button, which works fine, and my screen is also set to lock once my screen saver loads, but I'm just use to being able to ctrl+alt+l and lock it. Any suggestions would be very much appreciated.

Denestria
January 27th, 2009, 03:18 AM
Open the settings manager > keyboard > shortcuts and you can see that the default shortcut to lock the screen is ctrl-alt-del. If you want to change it, click add on the left, type in a name for your list of shortcuts, (widen the window so you can see the whole thing) select xflock4 shortcut on the right and enter the new key combo.

adamlau
January 27th, 2009, 04:52 AM
Or simply run:


xflock4

lipwig
January 28th, 2009, 04:11 PM
Thanks! Problem solved.

chika.tambun
April 29th, 2009, 10:09 AM
alternative way...
create icon shortcut on the upper panel by:
1. right click on the panel
2. choose add new items
3. choose action buttons
4. select action type >> Lock
5. nice icon created


ym_id: chika.tambun
"someone that used to use gnome, but recently 'ev impressed with kde, but choose xfce for stability n lightness on jaunty"

bagy
October 6th, 2009, 09:54 AM
Press Ctrl+Alt+Delete

candida
September 15th, 2010, 10:53 AM
thanks for pointing me in the right direction, in my case however it was already configured in keybord settings correctly to point to /usr/bin/xflock4, but when trying that out on the command line some dependecy were missing: /usr/bin/xlock
where after i had to install xlockmore to obtain the missing executable. It was on a opensuse 11.3 system, i've never got this type of issue on my xubuntu partition..

berlinick
August 28th, 2011, 01:07 PM
My case is quite funny:


I have an action button, which isn't (always) working
In my Settings Manager the keyboard shortcut is set at Ctrl+Alt+Del for xflock4 but the system just doesn't react on the combination
Running xflock4 in Terminal returns "xscreensaver-command: already locked."


There must be some conflict or something somewhere. I will very much appreciate your suggestions :)

Best wishes

jringoot
April 3rd, 2012, 07:35 AM
Thanks Denestria, clear and concise.
Works also in Sabayon Linux.