Page 1 of 1
Lock screen, and keyboard shortcut to switch desktops?
Posted: Fri Apr 17, 2009 8:42 am
by amca01
The title more or less says it all; I have two newbie questions:
1) How do I install , either in the panel or on the desktop, a button for locking the screen? That is, a button which executes the command "xscreensaver-command -lock".
2) Is there a way of travelling between desktops using a keyboard shortcut? And if so, how do I set it?
Thanks,
Al
Re: Lock screen, and keyboard shortcut to switch desktops?
Posted: Fri Apr 17, 2009 6:22 pm
by maces
Hi
1) Make a new textfile in /usr/share/applications called lock_screen.dektop and copy this in it:
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=Lock Screen
Comment=Locks your screen
Icon=xscreensaver
Exec=xscreensaver-command -lock
Terminal=false
Type=Application
Then choose "Application Lunch Bar Settings". Click add, choose the lock_screen.dektop file and that's it.
2) CRTL+ALT+arrow key.
maces
Re: Lock screen, and keyboard shortcut to switch desktops?
Posted: Tue May 05, 2009 9:38 am
by jeevs
Right click on desktop and create new text file with name: "
lockscreen.desktop"
Right click on the file and open with "
leafpad"
now paste thefollowing code into it and save it.
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=Lock Screen
Comment=Locks your screen
Icon=xscreensaver
Exec=xscreensaver-command -lock
Terminal=false
Type=Application
cheers.........
Re: Lock screen, and keyboard shortcut to switch desktops?
Posted: Fri Sep 18, 2009 12:14 am
by shahgols
maces wrote:
Then choose "Application Lunch Bar Settings". Click add, choose the lock_screen.dektop file and that's it.
maces
Hi maces,
I'm trying to do the same thing...to add a lock session button on the panel...but I got lost at this point. Where is the "Application Launch Bar Settings"? Thanks.
Re: Lock screen, and keyboard shortcut to switch desktops?
Posted: Sat Sep 19, 2009 6:46 pm
by maces
Where you click on your starters, for example PCManFM ect. there click right and the first item in the menu
maces