fedora27 - Unable to temporarily change environment using *env*

asked 2017-12-19 10:52:04 -0500

bfay gravatar image

Hi all,

With Fedora 25, I used to temporarily change environment using env like this:

$ env LANG=it_IT.UTF-8 gedit

With this, I was able to launch gedit in italian in my GNOME LANG=en_DK.UTF-8 localized session. But in Fedora 27, this does not work anymore. Any suggestions are welcome.


edit retag flag offensive close merge delete


Use localectl list-locales | grep it_IT and check whether it_IT.utf8 is present. What if you use env LANG=it_IT.utf8 gedit?

florian gravatar imageflorian ( 2017-12-19 14:39:31 -0500 )edit

I've already done what you suggest and this is really working well on Fedora 25 but not on Fedora 27! So I can't get gedit in other localization than the default one. It seems that env command is ineffective.

bfay gravatar imagebfay ( 2017-12-19 15:27:56 -0500 )edit

I'd really want a few of us can test the env command before reporting a bug. Does anyone can reproduce this problem or am I the only one with this?

bfay gravatar imagebfay ( 2017-12-19 15:34:00 -0500 )edit

That's weird. (Can't test on F27 right now, sorry, maybe later).

Output of echo $PATH, ls -lL /usr/bin/env and env --version?

florian gravatar imageflorian ( 2017-12-19 16:44:49 -0500 )edit

Please see if https://unix.stackexchange.com/questi... is helpful to you.

florian gravatar imageflorian ( 2017-12-19 16:51:50 -0500 )edit