Active Topics

 


Reply
Thread Tools
Posts: 12 | Thanked: 0 times | Joined on Jun 2009
#1
I have modified the file at : /var/lib/gconf/system/osso/connectivity/IAP/41de6c79-bf43-41e8-942c-d6c0253a13b7/%gconf.xml

I want to take the change effect immediately instead of restarting the N800.

I have tried several approaches:

1. ifconfig wlan0 down/up
2. /etc/init.d/networking restart
3. dbus-send --system --type=signal /com/nokia/mce/signal com.nokia.mce.signal.sig_device_mode_ind string:"flight/normal"
4. close X terminal and restart it.

But these above didn't work and I must still restart the machine to apply the change.

Does anybody know how to apply it immediately?
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#2
Er, by not editing the xml directly?

gconftool or gconf-editor.
 

The Following 3 Users Say Thank You to qwerty12 For This Useful Post:
Posts: 12 | Thanked: 0 times | Joined on Jun 2009
#3
Originally Posted by qwerty12 View Post
Er, by not editing the xml directly?

gconftool or gconf-editor.
I don't know how to modify the file %gconf.xml in a specific path.
So I had to use "vi" modifying this file.
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#4
You can use gconftool-2 for modifying gconf, e.g.

Code:
gconftool-2   --type    string    --set    /apps/myapp/somesetting "Some Value"
Directly editing the XML doesn't work because the XML is only the backend where gconf stores its data. It's not even safe to edit the XML while gconfd is running.
 

The Following 3 Users Say Thank You to pycage For This Useful Post:
benny1967's Avatar
Posts: 3,790 | Thanked: 5,718 times | Joined on Mar 2006 @ Vienna, Austria
#5
i'd recommend http://maemo.org/downloads/product/OS2008/gconf-editor/ anyway.... isn't it all so much easier with a GUI?
 

The Following 2 Users Say Thank You to benny1967 For This Useful Post:
Posts: 12 | Thanked: 0 times | Joined on Jun 2009
#6
Thanks all! My problem has been solved by "gconftool-2".
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:48.