[K12OSN] "marketing" the K12LTSP desktop
shahms at shahms.com
Thu Jun 9 14:36:00 UTC 2005
-----BEGIN PGP SIGNED MESSAGE-----
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.
|> From the man page, it looks like this will do the trick:
| gconftool-2 --type string --set
| /desktop/gnome/background/picture_filename "$1"
| (where $1 = the desired image)
Sadly, that will only set the desktop for the user running the command.
~ 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"
Shahms E. King <shahms at shahms.com>
1612 054B CE92 8770 F1EA AB1B FEAB 3636 45B2 D75B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the K12OSN