Re: updated list of bugs in emelfm2

  • From: <tpgww@xxxxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Fri, 4 Mar 2011 23:04:26 +1100

On Thu, 3 Mar 2011 23:24:40 +0300
BrainWorker BrainWorker <owl.brainworker@xxxxxxxxx> wrote:

> > It is not a bug in emelfm2.
> >
> > Your issue is with your deployment/usage of gksu.
> > It appears that it has been set to maintain the environment of the user
> > by default rather than allowing you the option of assuming roots
> > environment.
> If it is not the bug, then what???
> 
> I ran many file managers: PCManFM, Thunar, Worker, ... as normal user
> and as root with 'gksu ...'. And every time, besides root privileges,
> there were separate configs stored for root: separate interface,
> fonts, so on. Even a special reminder for me that currently I am root
> and should be very careful. And later when I launch program as usual
> everything becomes usual like it should be.

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.

If you can't adjust the variable, then override the default directory-selection 
protocol, by:
  gksu "emelfm2 -c /root/.config/emelfm2"

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.

Other related posts: