View Single Post
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#1
Inception or open mode required!

This is a rewrite of led-event-notifier which uses a new way of monitoring notifications.

It still doesn't have a GUI, but you can now configure it to select which pattern you want for which event, and you can disable events you don't want a LED pattern for.

The config file resides in ~/.config/MohammadAG/led-event-notifier.conf
If it doesn't exist, create it.

Here's an example config:
Code:
[x-nokia.call.missed]
active=true
mce-pattern-name=PatternCommunication

[x-nokia.software-update]
active=false
Patterns are to be defined in /etc/mce/mce.ini, I'll leave creating patterns as an exercise to the community (mostly cause I suck at it).
LEDPatternLystiRM680 section for N950, LEDPatternNJoyRM696 for the N9 (you'll need to add the pattern under those and to:
Code:
# A list of all pattern names that should be configured
LEDPatterns=PatternPowerOn;PatternPowerOff;PatternCommunication;PatternCommunicationAndBatteryFull;PatternBatteryCharging;PatternBatteryChargingFlat;PatternBatteryFull;PatternDeviceSoftOff
)

A full list of events can be found here: http://pastebin.com/raw.php?i=jvY6GYvR

To install:

Inception:
Code:
devel-su #enter root pass
wget http://mohammadag.xceleo.org/public/Harmattan/led-event-notifier_2.0_armel.deb
/usr/sbin/incept led-event-notifier_2.0_armel.deb
Open mode:
Code:
devel-su #enter pass
wget http://mohammadag.xceleo.org/public/Harmattan/led-event-notifier_2.0_armel.deb
export AEGIS_FIXED_ORIGIN=com.nokia.maemo
dpkg -i led-event-notifier_2.0_armel.deb
Thanks to javispedro for his work on sowatch and helping me with the manifest file

Source: https://github.com/harmattan/led-event-notifier (GPLv3)
 

The Following 71 Users Say Thank You to MohammadAG For This Useful Post: