← Back to team overview

epoptes team mailing list archive

Re: [Question #235416]: Epoptes is running commands with wrong locale

 

Question #235416 on Epoptes changed:
https://answers.launchpad.net/epoptes/+question/235416

    Status: Needs information => Open

Laércio de Sousa gave more information on the question:
I've created file /etc/xdg/autostart/xterm.desktop and rebooted my
machine. The "env" output of the autostarted xterm is exactly the same
I've got from alt+f2 launched one, but still DIFFERENT from that one
launched via Epoptes' execute dialog.

Searching a bit further for the origin of that LC_ALL trouble, I've
found a config file named /etc/rc.status, which exports LC_ALL=POSIX.
Many openSUSE boot scripts and system daemons source this file, but that
script /etc/profile.d/lang.sh gets rid of LC_ALL when LANG is set to a
different value.

As a last test, if I open a xterm with Epoptes' execute dialog and
explicitly source /etc/profile.d/lang.sh, LC_ALL goes away and I get the
expected "env" output.

-- 
You received this question notification because you are a member of
Epoptes Developers, which is an answer contact for Epoptes.