jadams@jadlaptop:/usr/share/locale$ cd /usr/lib/locale/ jadams@jadlaptop:/usr/lib/locale$ ls -l | grep -i gb drwxr-xr-x 8 root bin 8 Mar 28 2011 en_GB.ISO8859-1 drwxr-xr-x 8 root bin 8 Mar 28 2011 en_GB.ISO8859-15 drwxr-xr-x 8 root bin 8 Mar 28 2011 en_GB.UTF-8 jadams@jadlaptop:/usr/lib/locale$ cd /usr/share/locale/ jadams@jadlaptop:/usr/share/locale$ ls -l | grep -i gb drwxr-xr-x 3 root other 3 May 26 2010 en_GB
keyboard works fine. hmm ... my guess is that it is something to do with me picking a bad locale from the login page ... jadams@jadlaptop:~$ export LC_ALL=en_GB bash: warning: setlocale: LC_ALL: cannot change locale (en_GB): No such file or directory jadams@jadlaptop:~$ locale LANG=C LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_ALL=en_GB jadams@jadlaptop:~$ export LC_ALL=en_GB.UTF-8 jadams@jadlaptop:~$ locale LANG=C LC_CTYPE="en_GB.UTF-8" LC_NUMERIC="en_GB.UTF-8" LC_TIME="en_GB.UTF-8" LC_COLLATE="en_GB.UTF-8" LC_MONETARY="en_GB.UTF-8" LC_MESSAGES="en_GB.UTF-8" LC_ALL=en_GB.UTF-8 I'll have a look and see if it is offering me a bad language. Jon On 29 November 2013 00:10, Udo Grabowski (IMK) <[email protected]>wrote: > On 29/11/2013 00:28, Jonathan Adams wrote: > >> I recently changed my locale at the Graphical login screen to "English >> (United Kingdom)" from "Unknown (624)" (or something like that) ... >> >> whenever I open a terminal (or a new window, or a new tab) I get the >> message "bash: warning: setlocale: LC_ALL: cannot change locale (en_GB): >> No >> such file or directory" at the top of this. >> >> >> Anyone got any ideas how to get the message to go away, or if it causes a >> problem? >> > Usually, one of the locale packages is not installed, have > a look into /usr/lib/locale/ and /usr/share/locale, if you don't > see en_GB.UTF-8|en_GB there. The usual setting for your language > should be en_GB.UTF-8, that works best. You can combine that > with a different LC_CTYPE for your keyboard, if need be. > > > > _______________________________________________ > OpenIndiana-discuss mailing list > [email protected] > http://openindiana.org/mailman/listinfo/openindiana-discuss > > _______________________________________________ OpenIndiana-discuss mailing list [email protected] http://openindiana.org/mailman/listinfo/openindiana-discuss
