[K12OSN] "marketing" the K12LTSP desktop
eharrison at mail.mesd.k12.or.us
Wed Jun 15 23:24:03 UTC 2005
Shahms King wrote:
> Eric Harrison wrote:
> | On Wed, 8 Jun 2005, Shahms King wrote:
> |> I don't know about KDE, but changing the default GNOME background should
> |> be pretty easy and can be done using gconftool-2 by applying a new
> |> schema. It should also be possible to write the value directly to the
> |> "default source" if having multiple schemas applying to a single key
> |> doesn't work well.
> | Hmmm, that might do the trick. A nice little script that set the
> | default background. It could even have an icon on the desktop like
> | the "Push new icons" script and the admin user could just drag-and-
> | drop a new default background.
> | I'll play around with gconftool-2 to see if I can get it to do this.
> ~ However, it is possible to change the default both locally (GConf ships
> configured to include local sources, if they're found) and
> "scriptically". Poking around on the Red Hat site, the following should
> # gconftool-2 --direct --config-source \
> ~ xml:readwrite:/etc/gconf/gconf.xml.defaults \
> ~ xml:readwrite:/etc/gconf/gconf.xml.defaults --type string --set \
> ~ /desktop/gnome/background/picture_filename "$1"
That was pretty close. This worked:
gconftool2 --direct --config-source \
--type string --set desktop/gnome/background/picture_filename "$1"
The only minor issue is that the specified file ($1) needs a full path,
a relative path does not work. Easy enough to deal with.
I'll try to get test packages out tonight or tomorrow...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 251 bytes
Desc: OpenPGP digital signature
More information about the K12OSN