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

How to create a light ambience?

asked 2018-11-01 15:31:11 +0300

cy8aer gravatar image

updated 2018-11-01 15:45:05 +0300

The light ambiences are a good idea for sailfishos. But what is needed to create a new one? Is it the average white in the photo or is the mimikry missing?

edit retag flag offensive close delete


Also curious about this. It looks like the light ambiences still need some work in general (not everything looks the way it should, at least to me), so it could be that creating light ambiences is not yet possible to minimise the amount of complaints.

nthn ( 2018-11-01 15:45:03 +0300 )edit

According to a facebook comment by James Noori there is no way to create a light ambience by yourself yet:

[...] light ambiances are only available through Jolla at the moment which means the ones you already have. It'll change later on though.

Alex ( 2018-11-01 16:12:16 +0300 )edit

So then the next question: Where and how are the personal ambiences stored?

cy8aer ( 2018-11-01 17:41:02 +0300 )edit

Good question ;)

4carlos ( 2018-11-01 17:47:42 +0300 )edit

Ok, wildly cloning e.g. /usr/share/ambience/glacial, get your own image and adjust the renamed ambience file (and reboot!) does the job by now. Same old thing: do not try it at home...

cy8aer ( 2018-11-01 17:54:21 +0300 )edit

2 Answers

Sort by » oldest newest most voted

answered 2018-11-01 17:25:22 +0300

Spam Hunter gravatar image

updated 2018-11-03 18:50:29 +0300

Just my 2 penneth; I appreciate James should know what he is talking about, but at first glance into one of the light ambience files, there are a few extra lines of code compared to an earlier version, couple that with an inverted image, by inverted I mean color inverted, add the files to 'usr/share/ambience/* then restart ambienced systemctl --user restart ambienced.service and the new ambience should appear in Settings/Ambience/*...I think the trick here is to actually use an image that is color inverted.....I will have a play to see if James is right. I also agree with comments about light ambience being an incomplete package.

This particular answer does not apply to personal ambiences, i.e. ones you make from an image in your Gallery, this is referring to structured ambience packages that are found in /usr/share/ambience/*

Each ambience has an ambience file, this file holds details/instructions on what the ambience consists of; there are 2 new lines of code; "version" :3, & colorScheme :"darkonlight"

The new type ambience must use a color inverted image. I've used a picture of a passionflower with plenty of dark foliage in the background. It's the dark background that gets inverted, allowing dark (black) text to show more clearly.

Original (only 512 x 512 to better fit this page, preferred size is 2048x2048)

image description

Inverted (only 512 x 512 to better fit this page, preferred size is 2048x2048)

image description

Ambience-passionflower (full size screenshot directly from device(Jolla1))

image description

The resulting package, if anyone is remotely interested, can be downloaded from my dropbollox account; https://www.dropbox.com/s/op5wj0drbct6gf6/ambience-passionflower-0.1-1.noarch.rpm?dl=0

The above package was made directly on my device, it installs and uninstalls without problems for me, you use the above file purely at your own risk. To uninstall the file, you will need to issue the following command;

devel-su pkcon remove ambience-passionflower

edit flag offensive delete publish link more



really ambienced?

Failed to restart ambienced.service: Unit ambienced.service failed to load: No such file or directory.
cy8aer ( 2018-11-03 16:34:37 +0300 )edit


My bad, a typo and missing an operator, original edited to reflect your comments, thanks

Spam Hunter ( 2018-11-03 18:51:40 +0300 )edit

answered 2018-11-04 17:05:45 +0300

g7 gravatar image

I have created a patch that allows changing the color scheme in Ambiences. Color inverted images aren't required.


edit flag offensive delete publish link more



Thank you!!! The patch works great!

011011010110101001100001 ( 2018-11-04 19:12:21 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2018-11-01 15:31:11 +0300

Seen: 938 times

Last updated: Nov 04 '18