View Single Post
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#318
Originally Posted by qwerty12 View Post
I've always thought of GConf as the place to store one-liner strings...
A control panel applet that has a "helper" program whitelisted in sudoers would probably work.
Nah, too many unnecessary moving parts :-) If it's got to be in the filesystem let's stick it somewhere under /home/user (or even better /home/user/.osso so it gets backed up/restored automatically without additional configuration).

That said, a watch could be kept.
Hm, is there a GIOCondition that would notify for file creation? Maybe inotify could work instead, but either way adding an application-specific main loop callback inside a widget library seems dirty to me.
 

The Following User Says Thank You to lma For This Useful Post: