Open Office ~ "Qt : Locales not supported on X server."=?iso-8859-7?q?=0A?=
Dear SuSErs, Open Office refuses to start, and I get an error message, which says : ` "Qt : Locales not supported on X server." How can I fix this, please ? thanks best wishes, Richard ____________ sent on Linux ____________
On Thursday 09 October 2003 11:12 am, pinto wrote:
Open Office refuses to start, and I get an error message, which says : ` "Qt : Locales not supported on X server."
Have you set your locale to a specific one, and if so, how and which one? One point to note is that the locale for RC_LANG must be specified with caps for the encoding, eg cy_GB.UTF-8 rather than cy_GB.utf8, since SUSE is set up to expect this (/usr/X11R6/lib/X11/locale/locale.dir). -- Best wishes Kevin Donnelly www.kyfieithu.co.uk - Meddalwedd Rydd yn Gymraeg
On Thursday 09 October 2003 11:10, Kevin Donnelly wrote:
On Thursday 09 October 2003 11:12 am, pinto wrote:
Open Office refuses to start, and I get an error message, which says : ` "Qt : Locales not supported on X server."
Have you set your locale to a specific one, and if so, how and which one?
One point to note is that the locale for RC_LANG must be specified with caps for the encoding, eg cy_GB.UTF-8 rather than cy_GB.utf8, since SUSE is set up to expect this (/usr/X11R6/lib/X11/locale/locale.dir). ...................................
Thank you kindly for your reply. As 'root' in the "Control Center" I have chosen English (US) as Default. Still, I get message " X windows system does not support locale "C" " What is the next step to trouble shoot, please ? In /usr/X11R6/lib/X11/locale/locale.dir I do not see any lower-case stuff as you caution. Thanks. best wishes ____________ sent on Linux ____________
On Thu, 9 Oct 2003 21:51, pinto wrote:
As 'root' in the "Control Center" I have chosen English (US) as Default.
Still, I get message " X windows system does not support locale "C" "
What is the next step to trouble shoot, please ?
In /usr/X11R6/lib/X11/locale/locale.dir I do not see any lower-case stuff as you caution.
Have a look at what your LANG is set to and adjust according to your locale. set | grep LANG will display the current setting. In ~/.bashrc add/change export LANG=en_US You will need to relogin after the changing the above setting so that the changes take effect. -- Regards, Graham Smith ---------------------------------------------------------
On Thursday 09 October 2003 23:15, Graham Smith wrote:
In ~/.bashrc add/change export LANG=en_US
You will need to relogin after the changing the above setting so that the changes take effect.
Dear Mr. Smith, ~ many thanks for your reply. I have done as you suggest, logged out, and then re-logged in. OpenOffice still refuses to start, and these are the messages : "openoffice I18N: X Window System doesn't support locale "LC_CTYPE=en_US;LC_NUMERIC=en_US;LC_TIME=en_US;LC_COLLATE=C;LC_MONETARY=en_US;LC_MESSAGES=en_US;LC_PAPER=en_US;LC_NAME=en_US;LC_ADDRESS=en_US;LC_TELEPHONE=en_US;LC_MEASUREMENT=en_US;LC_IDENTIFICATION=en_US" I18N: X Window System doesn't support locale "C" Aborted " ............................. Any ideas what to try next, please ? thanks Richard ____________ sent on Linux ____________
On Fri, 10 Oct 2003 15:54, pinto wrote:
OpenOffice still refuses to start, and these are the messages :
"openoffice I18N: X Window System doesn't support locale "LC_CTYPE=en_US;LC_NUMERIC=en_US;LC_TIME=en_US;LC_COLLATE=C;LC_MONETARY=en_ US;LC_MESSAGES=en_US;LC_PAPER=en_US;LC_NAME=en_US;LC_ADDRESS=en_US;LC_TELEPH ONE=en_US;LC_MEASUREMENT=en_US;LC_IDENTIFICATION=en_US" I18N: X Window System doesn't support locale "C" Aborted " .............................
Any ideas what to try next, please ?
I think that LC_COLLATE is set incorrectly. Open in an editor (as root) /etc/sysconfig/language and change RC_LC_COLLATE to read RC_LC_COLLATE="POSIX" Most of the other entries in this file on my system are not set except for the following entries RC_LANG="en_US" ROOT_USES_LANG="ctype" I think you will have to run SuSEconfig after you finish to get the changes to take place. Let me know how you get on. -- Regards, Graham Smith ---------------------------------------------------------
The "C" for LC_COLLATE, means that when sorting or comparing, the standard ascii collation sequence will be used. ASCII, stands for American Standard Code for Information Interchange, or something like that. So, the difference between "C" and "en_US" is trivial. Not sure about "POSIX" though, it may have a different functionality, although I'd suspect it to behave identically to C, just that it's a more fancy name. I don't think there is such a locale as "C", it's just the locale identifier used when these variables are empty. In which case it will default to the language built in, the C or ascii in this case. However, POSIX should be reserved and exist, but I wouldn't bet on it ... just leave them empty if what you want is a standard en_US, as it should be the default (The C, ascii or whatever). If you set them specifically to "en_US", then it requires for these translation files to exist, which I doubt they do, at least not in all cases. Meaning, you'll just have problems. On Friday 10 October 2003 10:22, Graham Smith wrote:
On Fri, 10 Oct 2003 15:54, pinto wrote:
OpenOffice still refuses to start, and these are the messages :
"openoffice I18N: X Window System doesn't support locale "LC_CTYPE=en_US;LC_NUMERIC=en_US;LC_TIME=en_US;LC_COLLATE=C;LC_MONETARY=e n_ US;LC_MESSAGES=en_US;LC_PAPER=en_US;LC_NAME=en_US;LC_ADDRESS=en_US;LC_TEL EPH ONE=en_US;LC_MEASUREMENT=en_US;LC_IDENTIFICATION=en_US" I18N: X Window System doesn't support locale "C" Aborted " .............................
Any ideas what to try next, please ?
I think that LC_COLLATE is set incorrectly.
Open in an editor (as root) /etc/sysconfig/language and change RC_LC_COLLATE to read RC_LC_COLLATE="POSIX"
Most of the other entries in this file on my system are not set except for the following entries RC_LANG="en_US" ROOT_USES_LANG="ctype"
I think you will have to run SuSEconfig after you finish to get the changes to take place.
Let me know how you get on.
-- Regards,
Graham Smith ---------------------------------------------------------
On Friday 10 October 2003 09:13, Örn Hansen wrote:
Meaning, you'll just have problems.
Thanks Orn :) . . . meantime, still struggling & getting message :- openoffice I18N: Operating system doesn't support locale "" I18N: X Window System doesn't support locale "C" Aborted -- best wishes ____________ sent on Linux ____________
On Friday 10 October 2003 08:22, Graham Smith wrote:
I think that LC_COLLATE is set incorrectly.
Open in an editor (as root) /etc/sysconfig/language and change RC_LC_COLLATE to read RC_LC_COLLATE="POSIX"
Most of the other entries in this file on my system are not set except for the following entries RC_LANG="en_US" ROOT_USES_LANG="ctype"
I think you will have to run SuSEconfig after you finish to get the changes to take place.
Dear Mr. Smith, Thank you indeed. I now have all as you suggest, and have run "SuSEconfig" .................... however, am getting message : openoffice I18N: Operating system doesn't support locale "" I18N: X Window System doesn't support locale "C" Aborted .......................... ~ any ideas, please, what else to try. { OpenOffice was working OK until a recent upgrade of KDE3 with apt-get } -- best wishes, Richard p.s. this is my /etc/sysconfig/language file :- ...................... # # This language is used in YaST. This is also the default # for local users, if RC_LANG and RC_LC_ALL are not set. Root # uses this language if ROOT_USES_LANG is set to "YES". # DEFAULT_LANGUAGE="en_US" # # # Local users will get RC_LANG as their default language, i.e. the # environment variable $LANG . $LANG is the default of all $LC_*-variables, # as long as $LC_ALL is not set, which overrides all $LC_-variables. # If RC_LANG is empty, $DEFAULT_LANGUAGE will be used. # Root uses this variable only if ROOT_USES_LANG is set to "yes". # RC_LANG="en_US" # # This variable will override all LC-variables!! # Again, ROOT_USES_LANG must be set to "yes", if an effect on the superuser # account is desired. # RC_LC_ALL="" # # This defines the locale in which messages of programs and # libraries with i18n-support should appear if a translated # message catalog for the library or the program is installed. # This also provides localized yes/no answers. # RC_LC_MESSAGES="" # # This defines the locale for character handling and classification. # The libc uses this value in language dependent function calls, such # as e.g. uppercase/lowercase mapping of foreign characters. # RC_LC_CTYPE="" # # This defines the locale for sorting strings and characters. # It is used by the libc to obtain the alphabetical order of characters # (e.g. for string comparisons). NOTE: sort(1) does NOT use these # function calls, but other applications (e.g. databases) might use it. # # To keep bash and possibly other apps from misbehaviour, you should # probably keep this at POSIX and set it only for the apps that need it. # RC_LC_COLLATE="POSIX" # # This defines the locale for date and time output formats. # i.e.: 06/09/1999 vs. 09.06.1999 # RC_LC_TIME="" # # This defines the locale for formatting and reading numbers. # i.e.: 1,234.56 vs. 1.234,56 # RC_LC_NUMERIC="" # # This defines the locale for formatting and reading money values. # RC_LC_MONETARY="" # # This defines if the user "root" should use the locale settings # which are defined here. # Value "ctype" means that root uses just LC_CTYPE. # ROOT_USES_LANG="ctype" ........................................................ ____________ sent on Linux ____________
On Thursday 09 October 2003 12:51 pm, pinto wrote:
As 'root' in the "Control Center" I have chosen English (US) as Default. Still, I get message " X windows system does not support locale "C" "
Have you set the RC_LANG variable to en_US.<encoding>? To do this: Run the YaST2 Control Centre -> System -> Editor for /etc/sysconfig Files. Click the plus beside System, then the plus beside Environment, then the plus beside Language. Click on RC_LANG. In the entry field "Setting of: RC_LANG" delete whatever is there, and enter en_US.<encoding> (whatever your desired encoding is - UTF-8 or ISO-8859-1 etc). Click Finish. This one setting in SUSE sets up all the other LANG and LC variables, so you don't need to deal with these separately. Let me know how you get on. -- Best wishes Kevin Donnelly www.kyfieithu.co.uk - Meddalwedd Rydd yn Gymraeg
On Friday 10 October 2003 08:29, Kevin Donnelly wrote:
This one setting in SUSE sets up all the other LANG and LC variables, so you don't need to deal with these separately. ........................
Dear Mr. Donnelly, thank you kindly. I believe my /etc/sysconfig/language is ok, like this :- # # This language is used in YaST. This is also the default # for local users, if RC_LANG and RC_LC_ALL are not set. Root # uses this language if ROOT_USES_LANG is set to "YES". # DEFAULT_LANGUAGE="en_US" # # # Local users will get RC_LANG as their default language, i.e. the # environment variable $LANG . $LANG is the default of all $LC_*-variables, # as long as $LC_ALL is not set, which overrides all $LC_-variables. # If RC_LANG is empty, $DEFAULT_LANGUAGE will be used. # Root uses this variable only if ROOT_USES_LANG is set to "yes". # RC_LANG="en_US" # # This variable will override all LC-variables!! # Again, ROOT_USES_LANG must be set to "yes", if an effect on the superuser # account is desired. # RC_LC_ALL="" # # This defines the locale in which messages of programs and # libraries with i18n-support should appear if a translated # message catalog for the library or the program is installed. # This also provides localized yes/no answers. # RC_LC_MESSAGES="" # # This defines the locale for character handling and classification. # The libc uses this value in language dependent function calls, such # as e.g. uppercase/lowercase mapping of foreign characters. # RC_LC_CTYPE="" # # This defines the locale for sorting strings and characters. # It is used by the libc to obtain the alphabetical order of characters # (e.g. for string comparisons). NOTE: sort(1) does NOT use these # function calls, but other applications (e.g. databases) might use it. # # To keep bash and possibly other apps from misbehaviour, you should # probably keep this at POSIX and set it only for the apps that need it. # RC_LC_COLLATE="POSIX" # # This defines the locale for date and time output formats. # i.e.: 06/09/1999 vs. 09.06.1999 # RC_LC_TIME="" # # This defines the locale for formatting and reading numbers. # i.e.: 1,234.56 vs. 1.234,56 # RC_LC_NUMERIC="" # # This defines the locale for formatting and reading money values. # RC_LC_MONETARY="" # # This defines if the user "root" should use the locale settings # which are defined here. # Value "ctype" means that root uses just LC_CTYPE. # ROOT_USES_LANG="ctype" ...................................... I remain mystified best wishes, Richard ____________ sent on Linux ____________
participants (4)
-
Graham Smith
-
Kevin Donnelly
-
pinto
-
Örn Hansen