View Single Post
Posts: 235 | Thanked: 86 times | Joined on Dec 2010
#8
try move the script to /home/user, and run it using X-Term and see if it works

it should not print anything unless triggered by battery low notification or changer being connected. if you see some lines while running the script, there might be an error while copying the code

please also make sure that "/com/nokia/mce/request" and "com.nokia.mce.request.req_led_pattern_activat e/deactivate" are in the same line (the code on my browser, it looked as if they're on different lines). or add trailing backslash after "/com/nokia/mce/request" (there are 2 of them, change both)

Code:
		dbus-send --system --dest="com.nokia.mce" --type=method_call \
			"/com/nokia/mce/request" \
			"com.nokia.mce.request.req_led_pattern_deactivate" \
			"string:$BATTERYLOW_PATTERN"

Last edited by figaro; 2011-02-10 at 15:05.