On Fri, 4 Mar 2011 16:13:02 +0300 BrainWorker BrainWorker <owl.brainworker@xxxxxxxxx> wrote: > > When deciding which directory to use for configuration data, the application > > first checks for the environment variable $XDG_CONFIG_DIR. If that's > > available, but wrong (e.g. your 'su' process didn't change it) then the > > configuration data will of course be read from and written to the wrong > > place. > > By the way > > ================================================== > [brainworker@brainworker-computer ~]$ echo $XDG_CONFIG_DIR > > [brainworker@brainworker-computer ~]$ su > Password: > [root@brainworker-computer brainworker]# echo $XDG_CONFIG_DIR > > [root@brainworker-computer brainworker]# exit > exit > [brainworker@brainworker-computer ~]$ su - > Password: > [root@brainworker-computer ~]# echo $XDG_CONFIG_DIR > > ================================================== > > All the results of 'echo $XDG_CONFIG_DIR' are empty (as normal user, > after switch using 'su', after switch using 'su -') Argh, remind me to check the code ... it's actually $XDG_CONFIG_HOME svn code now has a workaround for checking this, it's ignored if it doesn't begin with the directory recorded in the $HOME variable. Regards Tom -- Users can unsubscribe from the list by sending email to emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by logging into the web interface.