[K12OSN] "marketing" the K12LTSP desktop

Shahms King shahms at shahms.com
Thu Jun 9 14:36:00 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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)
|
| -Eric

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
work:

# 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>
Multnomah ESD

Public Key:
http://shahms.mesd.k12.or.us/~sking/shahms.asc
Fingerprint:
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

iD8DBQFCqFPQ/qs2NkWy11sRAk+yAJ41LNScNC0ThKb+1zapOmRTSNTTjQCfeVun
cqrnchy33oOVAI7EEIhY69E=
=yzC5
-----END PGP SIGNATURE-----




More information about the K12OSN mailing list