> > Hi, I'm using Etch RC2 and I use klaptopdaemon to lock and hibernate my > > laptop when I noticed an interesting little bug. I access lock and > > hibernate by right-clicking on the system tray icon and clicking on the > > option there.
I have absolutely only very little clue about this, but I took a look at the klaptopdaemon sources - and it seems it invokes the lock command and after that it invokes hibernate. It might be that the lock command returns immediately while the locking can be delayed for some reasons. I have tried to add a extra check if the screen is locked before running the hibernate. I have not been able to reproduce this bug - so I don't know. I don't have a system running with hibernate, so ... The packages at http://users.alioth.debian.org/~pusling-guest/kdeutils_4_3.5.5-3sune1/ is 100% untested - the only thing I know is that they compiles, so this is some standard disclaimer: Use it on your own responsibility and don't blame me if your computer explodes or your wife starts cheating on you. but the packages do have a small patch applied that might or might not work. The patch: Index: kdeutils/klaptopdaemon/daemondock.cpp =================================================================== --- kdeutils/klaptopdaemon/daemondock.cpp (revision 646499) +++ kdeutils/klaptopdaemon/daemondock.cpp (working copy) @@ -501,7 +501,13 @@ { DCOPClient* client = kapp->dcopClient(); if (client) + { client->send("kdesktop", "KScreensaverIface", "lock()", ""); + while ( ! client->send("kdesktop", "KScreensaverIface", "isBlanked()", "")) + { + usleep(20000); + } + } laptop_portable::invoke_hibernation(); } void laptop_dock::invokeStandby() /Sune -- How might I delete the device? From the preferences within AutoCAD 7.4 you have to log from the software to digit from the RO virus on a gadget.
pgpvKgBiRrjfi.pgp
Description: PGP signature