Summary: | Start screensaver on laptops when you close the lid | ||
---|---|---|---|
Product: | [Unmaintained] kscreensaver | Reporter: | Sebastien Bourdeauducq <sebastien.bourdeauducq> |
Component: | general | Assignee: | kscreensaver bugs tracking <kscreensaver-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | wishlist | CC: | klingens, l.lunak, ogoffart |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Sebastien Bourdeauducq
2004-02-09 20:57:25 UTC
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 |