answered
2014-01-06 23:27:37 +0200
This post is a wiki.
Anyone with karma >75 is welcome to improve it.
HowTo: Personalize LED combinations
Reference for patterns is available at the top of the file you will be editing.
DISCLAIMER Use developer mode and edit system files at own risk. Wrong characters in the file below has been reported to put Jolla in an endless boot loop
Open settings and select Developer mode and enable it. Set a password. Reboot to apply. Then open a terminal and install your favorite editor, I prefer nano for basic editing (vi isn't referenced, since those that know about it will use it and others shouldn't bother to learn it for basic edits):
pkcon install nano
switch to superuser mode
devel-su
make a backup copy of /etc/mce/20hybris-led.ini
cp /etc/mce/20hybris-led.ini /etc/mce/20hybris-led.ini.bak
then open it with the editor of choice.
nano /etc/mce/20hybris-led.ini
At the top of the file is a reference on the pattern applied to this file. Comments start with '#'.
For those of you disturbed by blinking LED when full battery, at the end of the file add PatternBatteryFull to LEDPatternsDisabled
LEDPatternsDisabled=PatternDeviceOn;PatternBatteryFull
Instead, LED will stay white and on until you plug off charger. Any pattern can be disabled by being added to this line.
If inspired by N900 suits you change PatternBatteryCharging and PatternBatteryFull to the following:
PatternBatteryCharging=50;1;0;0;0;7f7f00
# 7f7f00 = Amber
PatternBatteryFull=40;1;0;0;0;008b00
# 008b00 = DarkGreen
Or use an online color chooser, like http://www.colorpicker.com/, to pick colors that suits you.
When done save your changes with ctrl-o and exit nano with ctrl-x
Reboot your Jolla (or type systemctl restart mce.service
) and enjoy your new patterns.
GUI in settings for this would be nice... but thanks, I wanted to change indication for SMS to green and Calls to red
Bobsikus ( 2014-04-13 10:16:07 +0200 )edit