Re: How to retrieve the current desktop background



2005/12/5, Hans Oischinger <hans oischinger h3c de>:
>
> I hope to fix this long-standing bug as I often get requests from gnome users
> wanting to use Kompose as it seems to be the most comfortable (in UI terms)
> of all fullscreen takswitchers. Would be great to make them happy, too.
>
> Can anyone at least point me to the right direction?
>

This is stored in gconf, in the key:
    /desktop/gnome/background/picture_filename
which is of type string.

If you don't want to depend on and link to gconf, you can popen gconftool-2:
  gconftool-2 --get /desktop/gnome/background/picture_filename

Isak



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]