We have moved to a new Sailfish OS Forum. Please start new discussions there.

HowTo: Change notification LED pattern

asked 2014-01-06 23:27:26 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2014-02-25 12:25:32 +0300

jgr gravatar image

The blinking when fully charged might irritate or the color choices by Jolla might be wrong. Feel free to fill in your favorite LED patterns to the answer below.

This is a community wiki, so no-one will get Karma points for this.

edit retag flag offensive close delete


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 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2014-01-06 23:27:37 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2014-03-09 11:26:13 +0300

jgr gravatar image

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


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


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:

# 7f7f00 = Amber

# 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.

edit flag offensive delete publish link more


What is the meaning of the numbers for the pattern? So I could create my own :) Is there any listing of the available "events" (like "PatternBatteryFull")?

CsTom ( 2014-01-07 10:43:02 +0300 )edit

Yes, there's a meaning and you can create an own (just mind the disclaimer). The meaning is at the top of the file you'll be editing. You can set blinking pattern or steady light at any color.

Mohjive ( 2014-01-07 10:56:00 +0300 )edit

Okay, got it :) One addition to your guide: instead of rebooting, just type

systemctl restart mce.service

CsTom ( 2014-01-07 13:23:51 +0300 )edit

@CsTom: I made the answer a wiki, so it's ok to add contents as you wish. Though I used that command and screen blankout went crazy until I locked and unlocked my Jolla, but I guess one can live with that. :)

Mohjive ( 2014-01-07 13:26:48 +0300 )edit

I found this link, I see it as a complement to this wiki, to see how things will be before trying to change. Could help...


lunatix ( 2014-01-09 12:44:03 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2014-01-06 23:27:26 +0300

Seen: 4,508 times

Last updated: Mar 09 '14