Does not lock desktop, if run by keyboard shortcut or by a launcher in Xfce, if not run in terminal
Bug #503029 reported by
Jarno Suni
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xtrlock (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xtrlock
Can not lock screen by keyboard shortcut in Xfce; needs to be run in terminal. (Running by Alt-F2 works, though.)
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: xtrlock 2.0-13
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: xtrlock
Uname: Linux 2.6.28-17-generic i686
To post a comment you must log in.
This bug affects me also. I worked around it by creating a bash script and called that from the keyboard shortcut. ubuntuforums. org/showpost. php?p=10457105& postcount= 4
http://
Lets create a new file in /usr/local/bin called lockwithaview and open it with gedit: bin/lockwithavi ew
Code:
sudo gedit /usr/local/
It should contain the following(cut and paste):
Code:
#!/bin/bash
sleep 1 && xtrlock
Save the file and close gedit, then make it executable: bin/lockwithavi ew
Code:
sudo chmod a+x /usr/local/
Create a keyboard shortcut to execute lockwithaview(I used ctrl+alt+k) and you are finished.