Re: e2 config name

  • From: <tpgww@xxxxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Mon, 10 Apr 2017 22:38:47 +1000

On Mon, 10 Apr 2017 14:13:21 +0300
serge <omoikane@xxxxx> wrote:

On Mon, 10 Apr 2017 19:02:47 +1000
<tpgww@xxxxxxxxxxx> wrote:

On Wed, 5 Apr 2017 13:34:12 +0300
serge <omoikane@xxxxx> wrote:

I have a problem with e2 config file - sometimes after OS reboot e2
starts with default configuration, doesn't read and load existing
conf (with right permissions). If i commit settings or close e2, new
default config file created with changed extension - ".UTF-8" or
".UTF8" instead of ".utf8" Next reboot i need to rename file back
to ".utf8".

The config-data file name is determined at runtime, by joining string
"config-" and an environment variable: "LC_MESSAGES" or "LANG" or
"LC_ALL" or last-resort, "C".

(technically, the variables are retrieved by g_getenv())

The same filename (the exact same string, in fact) is used for
loading at session-start, and saving at session-end.

I can only imagine that somehow your environment is changing after
reboot. Seems very odd!

Is it bug or something wrong with Jessie? e2 0.9.1.1

On the other hand .... I've never created a release 0.9.1.1, so
there's a very tiny chance that somebody did something silly with the
code.

Regards
Tom



Hello again.

"
serge@debian:~$ env|grep LANG
LANG=en_US.utf8
LANGUAGE=en_US:en
serge@debian:~$ su
Password: 
root@debian:/home/serge# env|grep LANG
LANG=en_US.UTF-8
LANGUAGE=en_US:en
root@debian:/home/serge# su - serge
serge@debian:~$ env|grep LANG
LANG=en_US.UTF-8
LANGUAGE=en_US:en
serge@debian:~$ 
"

LANG changed to UTF-8 after login as root. What you think?

I can't say why your system is set up like that. However it should not be a 
problem for emelfm2.

Config files are user-specific. You'll need to remember that, and apply any 
changes for both.

Or as root you could start sessions like

emelfm2 -c DIR

which uses config data from directory DIR (default: ~/.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: