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
14
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

Revision history for this message
Jarno Suni (jarnos) wrote :
description: updated
Revision history for this message
williamts99 (williamts99) wrote :

This bug affects me also. I worked around it by creating a bash script and called that from the keyboard shortcut.
http://ubuntuforums.org/showpost.php?p=10457105&postcount=4

Lets create a new file in /usr/local/bin called lockwithaview and open it with gedit:
Code:
sudo gedit /usr/local/bin/lockwithaview

It should contain the following(cut and paste):
Code:
#!/bin/bash
sleep 1 && xtrlock

Save the file and close gedit, then make it executable:
Code:
sudo chmod a+x /usr/local/bin/lockwithaview

Create a keyboard shortcut to execute lockwithaview(I used ctrl+alt+k) and you are finished.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.