Ambience: fixing the service
First things first; it seems there is a bug within Ambience that prevents the installation animation from finishing (bug), despite the output of pkmon
reporting that the installation has finished: "SUCCESS!". (I'm certain this has already been reported, so I won't tag this post as a 'bug'.
Note pkmon
typed into a second terminal window and running it, allows you to see the output of a package being downloaded/installed while using the first terminal to do the dirty work, as laid out below).
Are you having problems with installing or using ambience packages supplied with 'Other Half'? (TOH). I was, on 2 devices, here's what I did to remedy that and now all is working again.....however, if my 'how-to' doesn't help you, then have a look at this link; https://together.jolla.com/question/73184/toh-not-installing-ambience/ (dirt inside the phone housing, preventing the NFC chip from reading the TOH tag!).
User created ambience; i.e ambience created from a photo/image; are NOT REMOVED OR AFFECTED
In terminal, type:
pkcon search name ambience --filter installed
a list of ambience related packages are displayed, time to start removing packages.
(These two packages cannot be removed;
ambienced
and jolla-gallery-ambience
)
Remove packages with;
pkcon search name ambience --filter installed
or you can create a removal list of packages; like this example;
pkcon remove ambience-allblack ambience-poppy-red ambience-poppy-red-all-translations-pack ambience-snow-white ambience-snow-white-all-translations-pack sailfish-content-ambiences-default sailfish-content-ambiences-default-about sailfish-content-ambiences-default-community sailfish-content-ambiences-default-default-ambience sailfish-content-ambiences-default-favorites sailfish-content-ambiences-default-salamander
Now the relevant packages are gone, time to clean up the ambience filing system found in /usr/share/ambience
(by running the following command, you will remove everything in that folder, including Salamander/Freedom/Party/Sailing/etc, these can be reinstalled using the command shown at the bottom of this post)
In terminal;
Delete files in /usr/share/ambience
with; (note, the asterisk at the end of the command)
devel-su rm -rf /usr/share/ambience/*
With /usr/share/ambience
emptied;
Snap on your favourite The Other Half (or remove the current one and snap back on), install, wait for installation to finish. Repeat for any other TOH you have**.
**NOTE: by checking the ambience pull down menu in homescreen, that the ambience appears to still be installing, but it has finished (the bug!), type this in terminal;
systemctl --user restart ambienced.service
now check the Ambience pulley menu in homescreen again, the ambience should be ready to use.
IF you removed the community based Ambience and presets by Jolla (Salamander and Freedom) and you want them all back on your device, then do this;
pkcon install sailfish-content-ambiences-default sailfish-content-ambiences-default-about sailfish-content-ambiences-default-community sailfish-content-ambiences-default-default-ambience sailfish-content-ambiences-default-favorites sailfish-content-ambiences-default-salamander'
followed by;
systemctl --user restart ambienced.service
Hopefully, now, you'll have full function of Ambience.