This is really quite a kewl little program. Got it working with kde on f8 today... i cant find a "proximity" command thats appropriate, but i've set mine with the following commands:
lock: dcop kdesktop KScreensaverIface lock
unlock: killall -9 kdesktop_lock
If you use KDE4, I recommand you use the following commands, as D-COP server was replaced with D-BUS within KDE4 :
lock : qdbus org.kde.screensaver /ScreenSaver Lock ; xset dpms force off
unlock : xset dpms force on ; killall -9 krunner_lock
xset dpms force on/off is used to shutdown/wake up the monitor, so you don't have to wake it up moving your mouse.
It works like a charm. :-)
Thanx for this incredible tool.
unlock : xset dpms force on ; killall -9 krunner_lock kblankscrn.kss
I got this half working. I used the commands provided but only locking works. When I bring my phone back into range my workstation doesn't unlock. Additionally, what exactly is the Proximity command and what should be used. Right now it still says 'xscreensaver-command -p' but a) looking at the xscreensaver-command help doesn't list a -p option and b) because I use the KDE screensaver I'm not running xscreensaver to apply commands to. Any help on this would be appreciated.
The following works for me in KDE 4.10:
See https://bugs.kde.org/show_bug.cgi?id=314989#c3 .