gconfd postinst/prerm prob

Oliver Grawert hostmaster at grawert.net
Thu Sep 30 14:09:21 CDT 2004


hi,

i'm trying to package a little photo import app which i want to get
started by g-v-m if a cam is plugged in.

in my postinst i have this lines:

------------- snip -----------
#!/bin/sh

gconftool-2 --direct --config-source
xml:readwrite:/etc/gconf/gconf.xml.defaults --type string
--set /desktop/gnome/volume_manager/autophoto_command "pimp %m"

killall -HUP gconfd-2
------------- snap -----------

which i would expect to immediately set the new key and reload the
config....
but obviously i have to relogin or wait quite a while.

what am i doing wrong ??

ciao
	oli 


-- 
got ubuntu ? --------------> GET UBUNTU !!!
http://www.ubuntulinux.org/





More information about the ubuntu-devel mailing list