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=10457105postcount=4
Lets create a new file in /usr/local/bin called lockwithaview and open it with
gedit:
Code:
sudo gedit
** Attachment added: Dependencies.txt
http://launchpadlibrarian.net/37413265/Dependencies.txt
** Description changed:
Binary package hint: xtrlock
Can not lock screen by keyboard shortcut in Xfce; needs to be run in
- terminal.
+ terminal. (Running by Alt-F2 works, though.)