Notices


Reply
Thread Tools
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#21
I expect gconftool will sanity check the input. Editing the XML directly and missing out a / or a > etc. will cause all sorts of problems. Plus you need to be root to edit that XML file, which is more risky in general.
 

The Following User Says Thank You to pelago For This Useful Post:
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#22
Originally Posted by pelago View Post
I expect gconftool will sanity check the input. Editing the XML directly and missing out a / or a > etc. will cause all sorts of problems. Plus you need to be root to edit that XML file, which is more risky in general.
Presumably it also handles conflicts, cache flushes, notification of changes, etc.
 

The Following 2 Users Say Thank You to Rob1n For This Useful Post:
Posts: 30 | Thanked: 6 times | Joined on May 2010
#23
Originally Posted by Rob1n View Post
gconf is the configuration system for GTK, and gconftool (or gconftool-2) is the application used to interact with this system. You can get help on gconftool-2 by running "gconftool-2 --help".

To modify the update frequency, the command to use is:
Code:
gconftool-2 --set /apps/hildon/update-notifier/check_interval --type=int 10000000
Similarly to set the blink-after value (though I don't think that needs setting).

Oh, and you can run all this as the normal user, no need to be root.
how do i verify these changes took place..as in view this xml file..thanks..i entered the command into xterm but no indication it did anything
 

The Following User Says Thank You to snowman For This Useful Post:
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#24
Originally Posted by snowman View Post
how do i verify these changes took place..as in view this xml file..thanks..i entered the command into xterm but no indication it did anything
You can check it using gconftool as well:
Code:
gconftool-2 --get /apps/hildon/update-notifier/check_interval
 

The Following 4 Users Say Thank You to Rob1n For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:09.