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

Changing background picture with dconf

asked 2016-09-11 17:23:28 +0200

eatdirt gravatar image

updated 2016-09-13 17:00:27 +0200

vattuvarg gravatar image

Hi, this was working before but has been broken by the latest 2.0.2.51 release

dconf reset /desktop/jolla/background/portrait/home_picture_filename

dconf write /desktop/jolla/background/portrait/home_picture_filename "myhomepicture.png"

Any idea how to set the home picture on the command line now? (Without using the gas-factory and closed source ambienced, of course...)

Thanks.

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
0

answered 2016-09-12 09:07:57 +0200

coderus gravatar image

updated 2016-09-12 09:13:21 +0200

send to dbus com.jolla.ambienced /com/jolla/ambienced com.jolla.ambienced.setAmbience

this will create new ambience by picture and set it as current, return ambience index

then send to com.jolla.ambienced /com/jolla/ambienced com.jolla.ambienced.remove 1 [return of previous command here]

will remove created ambience, but not select any other, homescreen picture will remain until reboot or ambienced refresh

edit flag offensive delete publish link more

Comments

Thanks, I was aware of this solution, but it does not do what I would like. Setting ambience with dbus actually creates a new ambience, i.e. changes the colour themes, zoom into the picture, create an app background etc...

The solution with dconf allowed one to let the sound and colour themes unchanged, to set the application image different than the home one, etc...

This is crazy to not allow users to set the picture they want as a background, it seems that the only way now is to create a new overlay hiding the business of ambienced daemon, crazy!

eatdirt ( 2016-09-12 19:37:17 +0200 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2016-09-11 17:23:28 +0200

Seen: 226 times

Last updated: Sep 12 '16