maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] LED Event Notifier 2.0 (https://talk.maemo.org/showthread.php?t=84581)

MohammadAG 2012-05-29 17:52

[Announce] LED Event Notifier 2.0
 
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)

ibrakalifa 2012-05-29 18:00

Re: [Announce] LED Event Notifier 2.0
 
this is cool one, :D

gorgezilla 2012-05-29 18:19

Re: [Announce] LED Event Notifier 2.0
 
thanks man.

omar451451 2012-05-29 18:49

Re: [Announce] LED Event Notifier 2.0
 
Do we have UI to control this for non technical persons like me ??? Thanks

solstice88 2012-05-29 19:00

Re: [Announce] LED Event Notifier 2.0
 
Quote:

Originally Posted by omar451451 (Post 1214536)
Do we have UI to control this for non technical persons like me ??? Thanks

He mentions there is no GUI at the moment. Although I hope there will be one in the future. Awesome job

automagic68 2012-05-29 19:33

Re: [Announce] LED Event Notifier 2.0
 
Amazing Everyday : Nokia N9 :D

Seriously thanks man you are awesome! My phone's LED blinks when I get a text message or email now!

Transcend 2012-05-29 19:36

Re: [Announce] LED Event Notifier 2.0
 
Yay!! it's working thanks! :)

lolloo 2012-05-29 19:58

Re: [Announce] LED Event Notifier 2.0
 
luv!

Nokia N9 Notification
http://bit.ly/L20sVm

solstice88 2012-05-29 20:04

Re: [Announce] LED Event Notifier 2.0
 
Is the config file you listed in the directory. ~/.config/MohammadAG/led-event-notifier.conf just used if we want to tweak the LED notifier?

The reason i ask is because when i try to create it I cant seem to create it. I used filebox to do it.

All in all it works beautifully. :cool::D

MohammadAG 2012-05-29 20:16

Re: [Announce] LED Event Notifier 2.0
 
Yes, if no config exists for a certain event (or no config file), the default pattern used is PatternCommunication.


All times are GMT. The time now is 12:39.

vBulletin® Version 3.8.8