Re: changing wallpaper

2008-01-18 Thread Johan Bilien
On Fri, Jan 18, 2008, Jussi Kukkonen wrote:
 Damien Moore wrote:
  is there an api or set of command line utilities for working with
  background images on the device? i've noticed the image is specified in
  home/user/.osso/hildon-desktop/home-background.conf
  but if i change it, the image won't change until the device is reset. at
  a minimum some way to force the update would do the job.
 
 You have the advantage of working with an open part of the platform...
 
 There seems to be a D-Bus service which I guess is not intended for
 this, but which you can maybe abuse:
 org.maemo.hildon.background_manager has method SetBackground. It's not
 documented, but looking at the source may help you out.
 
 https://stage.maemo.org/svn/maemo/projects/haf/trunk/hildon-desktop/background-manager/background-manager.xml.in

Unfortunately this will load an image, upload it to X and return a
Render Picture ID, but it does not apply it as the desktop wallpaper.
It's a utility service used by hildon-desktop.

There is no API for setting the background from an external process,
feel free to fill a feature request in bugzilla.

Regarding general look and feel of the desktop, everything is in
~/.osso/hildon-desktop/*.conf (number of panels, panel configuration ...).
But the theming is quite relying on the default configuration.

-- 
Johan Bilien
[EMAIL PROTECTED]
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: changing wallpaper

2008-01-17 Thread Jussi Kukkonen
Damien Moore wrote:
 is there an api or set of command line utilities for working with
 background images on the device? i've noticed the image is specified in
 home/user/.osso/hildon-desktop/home-background.conf
 but if i change it, the image won't change until the device is reset. at
 a minimum some way to force the update would do the job.

You have the advantage of working with an open part of the platform...

There seems to be a D-Bus service which I guess is not intended for
this, but which you can maybe abuse:
org.maemo.hildon.background_manager has method SetBackground. It's not
documented, but looking at the source may help you out.

https://stage.maemo.org/svn/maemo/projects/haf/trunk/hildon-desktop/background-manager/background-manager.xml.in

I assume you've seen the theming documentation:

http://www.maemo.org/development/documentation/how-tos/4-x/customizing_maemo_and_creating_themes.html


HTH,
 Jussi

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers