OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Small Useful Informations
ptoki
post Apr 22 2010, 08:28 AM
Post #1





Group: Members
Posts: 90
Joined: 1-April 08
From: Silesia
Member No.: 21,583



Scripts triggered by power/suspend changes are located in /etc/pm
They are triggered twice per change first time with "true" or "false" argument when power change is triggered and second time with "suspend suspend" or "suspend resume" when that change is finishing. That means when you do a full cycle suspend-resume they got triggered four times.
Simply put your script in /etc/pm and link in apropriate directory there and note what is happening.

Its useful to pause and resume mpd or when you dont want to use thick power agent (ie in text mode) to make suspend/resume or backlight change when button is pressed or lid closed/open.
Go to the top of the page
 
+Quote Post

Posts in this topic
ptoki   Small Useful Informations   Apr 22 2010, 08:28 AM
ptoki   Another small utility I made: #!/bin/bash whil...   Apr 22 2010, 02:03 PM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 30th October 2014 - 08:53 PM