Page 1 of 1

[SOLVED] chsh to tsh causes gnome-terminal to fail

PostPosted: Jul 18th, '19, 04:05
by cmorning
I just installed Mageia 7 on my new Dell Latitude 3400 laptop. Everything working well with one exception so far.
When I change the default shell to tcsh, I cannot use gnome-terminal. It gives me an error

Code: Select all
   # Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0:
    Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached


gnome-terminal works ok with bash as my default shell, but I really prefer tcsh shell.
xterm works with either default shell, but I prefer gnome-terminal. Any suggestions how to
overcome this problem?

Re: chsh to tsh causes gnome-terminal to fail

PostPosted: Jul 18th, '19, 09:22
by ITA84
Looking around a bit, it might be a locale issue. You could try launching tcsh via xterm and posting the output of the 'locale' command

Re: chsh to tsh causes gnome-terminal to fail

PostPosted: Jul 19th, '19, 17:37
by cmorning
I discovered that
Code: Select all
dbus-launch gnome-terminal
works.

[SOLVED] Re: chsh to tsh causes gnome-terminal to fail

PostPosted: Jul 21st, '19, 20:34
by cmorning
SOLVED: I added a line
Code: Select all
LC_ALL=en_US.UTF-8

to /etc/locale.conf and the problem is resolved. No idea why this has to be done.

Re: chsh to tsh causes gnome-terminal to fail

PostPosted: Jul 21st, '19, 23:01
by doktor5000
What did it contain beforehand ?

Re: [SOLVED] chsh to tsh causes gnome-terminal to fail

PostPosted: Jul 22nd, '19, 12:34
by cmorning
Code: Select all
COUNTRY=US
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8:en_US:en

Re: [SOLVED] chsh to tsh causes gnome-terminal to fail

PostPosted: Jul 22nd, '19, 23:25
by doktor5000
What about /etc/sysconfig/i18n ?

Re: [SOLVED] chsh to tsh causes gnome-terminal to fail

PostPosted: Jul 23rd, '19, 01:31
by cmorning
Contents of /etc/sysconfig/i18n is

Code: Select all
COUNTRY=US
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8:en_US:en
LC_ADDRESS=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_PAPER=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_TIME=en_US.UTF-8
SYSFONT=lat0-16

Re: [SOLVED] chsh to tsh causes gnome-terminal to fail

PostPosted: Jul 24th, '19, 02:42
by doktor5000
Hmmm, looks fine. LANGUAGE seems to be set properly there. Next time try running http://doc.mageia.org/mcc/7/en/content/ ... ocaledrake and set your locale settings there and see if your original issue shows up again.