[SailfishDevel] Sailfish OS API: changing home/lock screen wallpaper and running your app on schedule

Lucien XU sfietkonstantin at free.fr
Thu Jul 18 17:18:34 UTC 2013

Hello Artem !

I guess it is still a bit too early to talk about that, especially that the 
"ambiance" changing API do not exist. (My hack that you linked is just a hack, 
and do things in a really dirty way).

About your application, it should be rather easy.
You might create a daemon that is launched by systemd (you will need to get 
documentation on that, but it is a matter of a file in some folder to ask 
systemd to launch your daemon).

After that, you might ask your daemon to trigger some API that is not made 
public yet to change ambiance. These API might come with SDK beta, we are not 
sure. Personally I would be quite happy to have them in the SDK, but it only 
depends on Jolla.


Le jeudi 18 juillet 2013 19:49:33 Artem Marchenko a écrit :
> Hi all
> As Sailfish SDK nears Beta and phones come closer, I started thinking about
> porting one app of mine that is downloading cool flickr wallpapers once in
> a while and sets a lockscreen picture or wallpaper. Here's MeeGo version
> http://store.ovi.com/content/214273
> So before starting it would be cool to check if system APIs for it exist at
> all (e.g. BlackBerry 10 doesn't allow you to start an app on schedule at
> all, they promise it to be changed in 10.2 only).
> So do you know if following APIs exist in Sailfish?
> 1. Starting your app on schedule or on some frequent event (e.g. on every
> screen lock)
> 1.1 In a headless mode too?
> 2. Setting lock screen wallpaper or home screen wallpaper. In MeeGo it used
> to be controlled by one of GConf entries, and this post suggests that GConf
> does control some similar things (ambiance source as for that post) -
> http://sfietkonstantin.wordpress.com/2013/03/07/dev-ambiance-changer-my-firs
> t-sailfish-os-app/
> Cheers,
> Artem.

More information about the Devel mailing list