[ltp] gnome-screensaver and locking using fn-f2
dieter.jurzitza@t-online.de
linux-thinkpad@linux-thinkpad.org
Wed, 04 Apr 2007 16:29:38 +0200
Hi Grant,
I made the following structure
echo x60 lock_screen
APPLICATION="/opt/kde3/bin/kdesktop_lock"
[ -f ${APPLICATION} ] || exit 0
USER=`/usr/bin/who -u | /bin/awk '{if(match($2, ":0")){print $1}}'`
sudo -u ${USER} /bin/bash -l -c "export DISPLAY=:0.0; ${APPLICATION}
--forcelock &"
work for me on kde. Would you kindle test that on gnome, changing
APPLICATION and parameter (--forcelock) accordingly?
If that would work I could adapt my patch in such a way that it can work
for both gnome and kde.
Thank you,
take care
Dieter
-----Original Message-----
> Date: Wed, 04 Apr 2007 13:18:30 +0200
> Subject: Re: [ltp] gnome-screensaver and locking using fn-f2
> From: Grant Williamson
> To: linux-thinkpad@linux-thinkpad.org
> That does not seem to work either, xscreensaver would, even if I set
*****