Changing locale from en_US.utf8 to en_US in RHEL 7

Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I'm installing "Red Hat Enterprise Linux 7.2 (Linux version 3.10.0-327.el7.x86_64 (mockbuild@x86-034.build.eng.bos.redhat.com) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Oct 29 17:29:29 EDT 2015)"
I am trying to switch from LANG="en_US.UTF-8" to LANG="en_US" as we need to operate the OS in 8 bits ASCII mode.
I have tried to change /etc/locale.conf and reboot.
It doesn't work for gnome. For instance, when I try to launch a terminal session, I get this error:
Dec 23 14:27:56 cmt22 gnome-session: Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/libexec/gnome-terminal-server exited with status 8
Accordingly to gnome documentation, it says the locale is not defined but localectl list-locales shows it is defined.
rhel gnome gnome-terminal locale
add a comment |Â
up vote
1
down vote
favorite
I'm installing "Red Hat Enterprise Linux 7.2 (Linux version 3.10.0-327.el7.x86_64 (mockbuild@x86-034.build.eng.bos.redhat.com) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Oct 29 17:29:29 EDT 2015)"
I am trying to switch from LANG="en_US.UTF-8" to LANG="en_US" as we need to operate the OS in 8 bits ASCII mode.
I have tried to change /etc/locale.conf and reboot.
It doesn't work for gnome. For instance, when I try to launch a terminal session, I get this error:
Dec 23 14:27:56 cmt22 gnome-session: Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/libexec/gnome-terminal-server exited with status 8
Accordingly to gnome documentation, it says the locale is not defined but localectl list-locales shows it is defined.
rhel gnome gnome-terminal locale
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm installing "Red Hat Enterprise Linux 7.2 (Linux version 3.10.0-327.el7.x86_64 (mockbuild@x86-034.build.eng.bos.redhat.com) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Oct 29 17:29:29 EDT 2015)"
I am trying to switch from LANG="en_US.UTF-8" to LANG="en_US" as we need to operate the OS in 8 bits ASCII mode.
I have tried to change /etc/locale.conf and reboot.
It doesn't work for gnome. For instance, when I try to launch a terminal session, I get this error:
Dec 23 14:27:56 cmt22 gnome-session: Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/libexec/gnome-terminal-server exited with status 8
Accordingly to gnome documentation, it says the locale is not defined but localectl list-locales shows it is defined.
rhel gnome gnome-terminal locale
I'm installing "Red Hat Enterprise Linux 7.2 (Linux version 3.10.0-327.el7.x86_64 (mockbuild@x86-034.build.eng.bos.redhat.com) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Oct 29 17:29:29 EDT 2015)"
I am trying to switch from LANG="en_US.UTF-8" to LANG="en_US" as we need to operate the OS in 8 bits ASCII mode.
I have tried to change /etc/locale.conf and reboot.
It doesn't work for gnome. For instance, when I try to launch a terminal session, I get this error:
Dec 23 14:27:56 cmt22 gnome-session: Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/libexec/gnome-terminal-server exited with status 8
Accordingly to gnome documentation, it says the locale is not defined but localectl list-locales shows it is defined.
rhel gnome gnome-terminal locale
rhel gnome gnome-terminal locale
edited Dec 31 '17 at 18:17
Bigon
1,178613
1,178613
asked Dec 23 '15 at 14:51
user23921
62
62
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
0
down vote
Some forwards:
- RHEL 7 as opposed to 5 defaults to the utf8 character encoding. So in RHEL5, you could do 'en_US' and you'd still be in ASCII. Now you're in utf8.
- Unfortunately, all man pages are now in utf8 and the man page system
sorta forces you to use it. You will have trouble viewing some man pages with a non-utf8 encoding unless you hammer away at thenroffprogram andman.config - 8-bit ASCII is de facto replaced with iso-8859-1, which lacks a few things that are fixed by iso-8859-15.
You can override the character encoding by replacing UTF-8 with iso-8859-1 or perhaps iso-8859-15. Update /etc/locale.conf (in <7, /etc/sysconfig/i18n) or set it per-user in $HOME/.i18n.
LANG=en_US.iso-8859-15
Test on the command line first (using export LANG...) and then run locale to make sure there are no errors (it will complain if so).
sorry, I tried with en_US.iso885915 but I get the same issue into gnome.
â user23921
Dec 23 '15 at 15:54
I updated my answer to be more specific. and fix some mistakes. Re-read and try again?
â Otheus
Dec 23 '15 at 16:08
Worst case: set LANG=C and re-start gnome. Are you running GNOME as a system desktop? Do you know how to relaunch it without rebooting?
â Otheus
Dec 23 '15 at 16:45
add a comment |Â
up vote
0
down vote
You need an UTF8 locale for gnome-terminal to work properly in the recent version of GNOME
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Some forwards:
- RHEL 7 as opposed to 5 defaults to the utf8 character encoding. So in RHEL5, you could do 'en_US' and you'd still be in ASCII. Now you're in utf8.
- Unfortunately, all man pages are now in utf8 and the man page system
sorta forces you to use it. You will have trouble viewing some man pages with a non-utf8 encoding unless you hammer away at thenroffprogram andman.config - 8-bit ASCII is de facto replaced with iso-8859-1, which lacks a few things that are fixed by iso-8859-15.
You can override the character encoding by replacing UTF-8 with iso-8859-1 or perhaps iso-8859-15. Update /etc/locale.conf (in <7, /etc/sysconfig/i18n) or set it per-user in $HOME/.i18n.
LANG=en_US.iso-8859-15
Test on the command line first (using export LANG...) and then run locale to make sure there are no errors (it will complain if so).
sorry, I tried with en_US.iso885915 but I get the same issue into gnome.
â user23921
Dec 23 '15 at 15:54
I updated my answer to be more specific. and fix some mistakes. Re-read and try again?
â Otheus
Dec 23 '15 at 16:08
Worst case: set LANG=C and re-start gnome. Are you running GNOME as a system desktop? Do you know how to relaunch it without rebooting?
â Otheus
Dec 23 '15 at 16:45
add a comment |Â
up vote
0
down vote
Some forwards:
- RHEL 7 as opposed to 5 defaults to the utf8 character encoding. So in RHEL5, you could do 'en_US' and you'd still be in ASCII. Now you're in utf8.
- Unfortunately, all man pages are now in utf8 and the man page system
sorta forces you to use it. You will have trouble viewing some man pages with a non-utf8 encoding unless you hammer away at thenroffprogram andman.config - 8-bit ASCII is de facto replaced with iso-8859-1, which lacks a few things that are fixed by iso-8859-15.
You can override the character encoding by replacing UTF-8 with iso-8859-1 or perhaps iso-8859-15. Update /etc/locale.conf (in <7, /etc/sysconfig/i18n) or set it per-user in $HOME/.i18n.
LANG=en_US.iso-8859-15
Test on the command line first (using export LANG...) and then run locale to make sure there are no errors (it will complain if so).
sorry, I tried with en_US.iso885915 but I get the same issue into gnome.
â user23921
Dec 23 '15 at 15:54
I updated my answer to be more specific. and fix some mistakes. Re-read and try again?
â Otheus
Dec 23 '15 at 16:08
Worst case: set LANG=C and re-start gnome. Are you running GNOME as a system desktop? Do you know how to relaunch it without rebooting?
â Otheus
Dec 23 '15 at 16:45
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Some forwards:
- RHEL 7 as opposed to 5 defaults to the utf8 character encoding. So in RHEL5, you could do 'en_US' and you'd still be in ASCII. Now you're in utf8.
- Unfortunately, all man pages are now in utf8 and the man page system
sorta forces you to use it. You will have trouble viewing some man pages with a non-utf8 encoding unless you hammer away at thenroffprogram andman.config - 8-bit ASCII is de facto replaced with iso-8859-1, which lacks a few things that are fixed by iso-8859-15.
You can override the character encoding by replacing UTF-8 with iso-8859-1 or perhaps iso-8859-15. Update /etc/locale.conf (in <7, /etc/sysconfig/i18n) or set it per-user in $HOME/.i18n.
LANG=en_US.iso-8859-15
Test on the command line first (using export LANG...) and then run locale to make sure there are no errors (it will complain if so).
Some forwards:
- RHEL 7 as opposed to 5 defaults to the utf8 character encoding. So in RHEL5, you could do 'en_US' and you'd still be in ASCII. Now you're in utf8.
- Unfortunately, all man pages are now in utf8 and the man page system
sorta forces you to use it. You will have trouble viewing some man pages with a non-utf8 encoding unless you hammer away at thenroffprogram andman.config - 8-bit ASCII is de facto replaced with iso-8859-1, which lacks a few things that are fixed by iso-8859-15.
You can override the character encoding by replacing UTF-8 with iso-8859-1 or perhaps iso-8859-15. Update /etc/locale.conf (in <7, /etc/sysconfig/i18n) or set it per-user in $HOME/.i18n.
LANG=en_US.iso-8859-15
Test on the command line first (using export LANG...) and then run locale to make sure there are no errors (it will complain if so).
edited Dec 23 '15 at 16:07
answered Dec 23 '15 at 15:36
Otheus
3,242730
3,242730
sorry, I tried with en_US.iso885915 but I get the same issue into gnome.
â user23921
Dec 23 '15 at 15:54
I updated my answer to be more specific. and fix some mistakes. Re-read and try again?
â Otheus
Dec 23 '15 at 16:08
Worst case: set LANG=C and re-start gnome. Are you running GNOME as a system desktop? Do you know how to relaunch it without rebooting?
â Otheus
Dec 23 '15 at 16:45
add a comment |Â
sorry, I tried with en_US.iso885915 but I get the same issue into gnome.
â user23921
Dec 23 '15 at 15:54
I updated my answer to be more specific. and fix some mistakes. Re-read and try again?
â Otheus
Dec 23 '15 at 16:08
Worst case: set LANG=C and re-start gnome. Are you running GNOME as a system desktop? Do you know how to relaunch it without rebooting?
â Otheus
Dec 23 '15 at 16:45
sorry, I tried with en_US.iso885915 but I get the same issue into gnome.
â user23921
Dec 23 '15 at 15:54
sorry, I tried with en_US.iso885915 but I get the same issue into gnome.
â user23921
Dec 23 '15 at 15:54
I updated my answer to be more specific. and fix some mistakes. Re-read and try again?
â Otheus
Dec 23 '15 at 16:08
I updated my answer to be more specific. and fix some mistakes. Re-read and try again?
â Otheus
Dec 23 '15 at 16:08
Worst case: set LANG=C and re-start gnome. Are you running GNOME as a system desktop? Do you know how to relaunch it without rebooting?
â Otheus
Dec 23 '15 at 16:45
Worst case: set LANG=C and re-start gnome. Are you running GNOME as a system desktop? Do you know how to relaunch it without rebooting?
â Otheus
Dec 23 '15 at 16:45
add a comment |Â
up vote
0
down vote
You need an UTF8 locale for gnome-terminal to work properly in the recent version of GNOME
add a comment |Â
up vote
0
down vote
You need an UTF8 locale for gnome-terminal to work properly in the recent version of GNOME
add a comment |Â
up vote
0
down vote
up vote
0
down vote
You need an UTF8 locale for gnome-terminal to work properly in the recent version of GNOME
You need an UTF8 locale for gnome-terminal to work properly in the recent version of GNOME
answered Dec 31 '17 at 17:37
Bigon
1,178613
1,178613
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f251163%2fchanging-locale-from-en-us-utf8-to-en-us-in-rhel-7%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password