Version: 0.8.0 (using KDE KDE 3.2.0) Installed from: Debian stable Packages OS: Linux Hi ! It would be nice if Kopete set auto away when you close the lid of the laptops... you can easily do it using the information from /proc/acpi/button/lid. I think you should add this feature as a separate plug-in as most people are using desktop computers. Thanks ! Seb
Grab your acpid docs, you can run scripts when you close the lid. In that script do something like: dcop kopete default setAway As the user running the script is probably not your login (it's probably root), use: the --all-users option on dcop. The dcop utility itself also has a nice --help page. I don't think writing a whole bunch of C++ is needed for such a seldom used feature if you can do it with a one-liner script.
I would like to see this being done differently instead: KDE should detect the lid being closed and start the screensaver and/or lock the screen. All Kopete should do is just watch KDesktop's status and go away when the screen is locked (which makes sense also for non-notebooks), but I think the latter is already reported somewhere as a separate wish. But can you agree with my first suggestion? Martijn
Even if we do, doesn't this make this a kdelibs and non-kopete bug? Kopete shouldn't have anything to do with ACPI IMO. ( Don't nearly all users have their laptops *suspend* when it's closed?? )
> All Kopete should do is just watch KDesktop's status and go away when the > screen is locked I think it already does so. If not then I can add that immediately.
> Don't nearly all users have their laptops *suspend* when it's closed?? I don't. I often close it when I download big files from the internet.
see also Bug 63752 I tempted to 1) make it duplicate of 63752 or 2) re-assing it to another kde component, which one? (kscreensaver?)
Ok, indeed the Kopete part of the wish is implemented. The rest is for the KDesktop people to implement, that is, starting the screensaver when the user closes the lid of the notebook. Martijn
*** This bug has been marked as a duplicate of 44510 ***