Backdrop list
Brian J. Tarricone
bjt23 at cornell.edu
Tue May 4 20:52:16 CEST 2004
On Tue, 4 May 2004, Don Christensen wrote:
> Brian J. Tarricone wrote:
> ...
> > my first simple thought was to
> > make the settings panel responsible for selecting the random image from
> > the list file.
> ...
>
...
> Is it possible to place some sort of "hook" into the settings manager
> mechanism such that when xfdesktop requests a background image, the
> settings manager selects (and remembers, at least for the duration of
> the running instance) a random image? This would require the ability
> for the settings manager (or would it be xfce-mcs-manager?) to be able
> to calculate a response to a read request from an app rather than
> returning a static value.
that's the problem, actually. all communication with xfce-mcs-manager
is one-way. the client apps (e.g., xfdesktop) can say "hey mcs manager,
gimme the setting named X in channel Y," but that's basically all it can
do. building in a hook/callback mechanism would be a bit of an
undertaking, and probably not worth the effort. hopefully
xfce-mcs-manager will go away in favor of something DBUS-based for xfce
4.4 anyway.
at any rate, it seems to work fine just setting a property on the root
window in xfdesktop and reading the property in the mcs plugin, so i see
no need to mess with it.
-brian
More information about the Xfce
mailing list