Linux Lite Forums

Software - Support => Other => Topic started by: DirkBrown on August 11, 2019, 02:26:32 PM

Title: Gtk-WARNING **:
Post by: DirkBrown on August 11, 2019, 02:26:32 PM
Hi Chaps.
I have the following error when running chirpw from the Terminal:

Gtk-WARNING **: 18:32:01.074: Locale not supported by C library.
   Using the fallback 'C' locale.

It doesn't seem to cause any trouble with the program, and as far as can tell my language settings are correctly set to English UK.
I did a search of the forum, but couldn't see the issue posted before.
I apologize if I've missed it.

Cheers.
Dirk.

Linux Lite 4.4
Title: Re: Gtk-WARNING **:
Post by: Jerry on August 11, 2019, 08:08:32 PM
What did the chirpw developer say?
Title: Re: Gtk-WARNING **:
Post by: DirkBrown on August 12, 2019, 01:24:21 AM
Morning Jerry.
I've not asked the question to be honest.
I was just assuming it was a Linux Lite issue, but it certainly did cross my mind this morning and I tried Firefox from the Terminal.
Yep, that's fine!
I'll pop over to Chirp and ask over there.
Cheers.
Dirk.
Title: Re: Gtk-WARNING **:
Post by: Jerry on August 12, 2019, 02:28:17 AM
We support what we bundle, we can't help people with random software after your install of LL. The logical port of call is the developer. If they have no answers, you can pop back here and we'll see what we can do :)
Title: Re: Gtk-WARNING **:
Post by: Moltke on August 12, 2019, 08:44:28 AM
It's not an "issue" per se, at least not one you should worry about. If you try running all of the software you've installed right from the terminal you'd probably  find that many of them would trigger this gtk warning, the reason is that when you launch a GUI app from whisker menu it gets a completely different set of environment variables than programs run from the terminal. In general, neither LANG nor any of the LC_* variables will be set for a GUI app. If you run
Code: [Select]
locale from the terminal you'll see something similar to this
Code: [Select]

LANG=es_VE.utf8
LANGUAGE=
LC_CTYPE="es_VE.utf8"
LC_NUMERIC="es_VE.utf8"
LC_TIME="es_VE.utf8"
LC_COLLATE="es_VE.utf8"
LC_MONETARY="es_VE.utf8"
LC_MESSAGES="es_VE.utf8"
LC_PAPER="es_VE.utf8"
LC_NAME="es_VE.utf8"
LC_ADDRESS="es_VE.utf8"
LC_TELEPHONE="es_VE.utf8"
LC_MEASUREMENT="es_VE.utf8"
LC_IDENTIFICATION="es_VE.utf8"
LC_ALL=
As you can see "Language" and "lc_all" are empty and as far as I know that how's supposed to be since different programs will use different set of settings, in conclusion, the gtk warning is the program saying "hey, is this a shell?" and nothing more, like I  said nothing to be worried about really.

Hope this helps! :)
Title: Re: Gtk-WARNING **:
Post by: trinidad on August 12, 2019, 10:00:15 AM
add to the end of original command
for stdout add: 1>/dev/null
for stderr add: 2>/dev/null
for both add: &>/dev/null
TC


Title: Re: Gtk-WARNING **:
Post by: DirkBrown on August 12, 2019, 03:41:01 PM
Thanks chaps!
Guess I won't sweat the small stuff!

  ;D

Dirk.