Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 21563 ideas, 132479 comments, 2607061 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #10639: Run application when laptop lid is closed/opened

Written by dhart the 3 Jul 08 at 03:02. Related project: Gnome. Status: New
Rationale
at System > Preferences > Power Management

on tabs "On AC Power" and "On Battery Power"

add on option to "Run Application" when laptop lid is closed (and when it's opened).

For example, I'd like to send a STOP signal to Firefox when the laptop lid is closed, to reduce power use, then send a CONT signal when the lid is opened, all while keeping SSH and chat sessions alive and active.

44
votes
up equal down
Solution #1: Auto-generated solution of idea #10639
Written by dhart the 3 Jul 08 at 03:02.
Ubuntu Brainstorm was updated in January 2009. Since the idea #10639 was submitted before this update, its rationale and solution are not separated. Please vote accordingly, and if you have the necessary rights, please separate the rationale from the solution. Thanks!

Propose your solution

Attachments
No attachments.


Duplicates


Comments
Lunatico wrote on the 21 Jan 09 at 12:07
Great idea. In the mean while how can I do this?
I want to run a script when I close/open the lid.

Endolith wrote on the 1 Apr 09 at 04:49
Great idea. There's gotta be a way to do this using a script, at least.

airtonix wrote on the 27 Feb 10 at 04:52
This is how, but it needs to be re-constructed because it doesn't support multiple users properly.

http://ubuntuforums.org/showthread.php?t=1076486


Post your comment