Fedora :: Change ONLY The Locale Numeric Configuration?
Feb 11, 2011I have Fedora 12 on my laptop with locale settings set to spanish-argentina
Code:
locale
LANG=es_AR.UTF-8
[code]....
I have Fedora 12 on my laptop with locale settings set to spanish-argentina
Code:
locale
LANG=es_AR.UTF-8
[code]....
I have setup a VPS @ Strato with Linux Wheezy.Since I'am in the Netherlands I got a Dutch language package installed.I like to setup into englisch all the way.Via dpkg-reconfigure locales I have installed en_GB.UTF-8 UTF8 language packages and deïnstaled nl_NL.utf8
Generating locales (this might take a while)...
en_GB.UTF-8... done
Generation complete.
But a lot of the commands are still in Dutch like: h2458377:~# uitgelogd.And quite often I got:
-su: warning: setlocale: LC_ALL: cannot change locale (nl_NL.utf8)
How do I get ripped off this error?Just working with/on the command line
I recently installed language packs for Japanese and changed my system language to it, too. The problem is, now that I try to go back to English, the locale doesn't change back, only the menus are in english. "Apply system wide" in the Language Support didn't do anything; Firefox is in japanese too. Here is my locale output:
LANG=ja_JP.utf8
LANGUAGE=en_US:en
LC_CTYPE="ja_JP.utf8"
[code]....
Maverick 10.10 is unable to create Japanese locales on my wife's laptop (Acer Aspire 3000). This machine previously had no such problem. The install is a fresh install, since the machine froze during the upgrade (no fault of Ubuntu's). A possible complication is that it froze several times more during the install, and I have gone through many recovery boots and iterations of dpkg configure. All relevant packages are installed, I believe. Everything else works. Through System, Administration, Language Support, I have installed all components of English and Japanese. Currently English is selected. Japanese should appear in the list but does not. Japanese text appears properly, and I can write in Japanese,But all the menus are in English. Fine by me, but my wife will want Japanese when she uses the computer again (not soon).This mostly likely is a glibc/libc6 problem, as far as I can tell. I can't find any other Ubuntu user with this problem recently.And now, some outputs:1. dpkg-reconfigure locales
sudo dpkg-reconfigure locales
Generating locales...
en_AG.UTF-8... done
[code].....
I have a problem with sorting when locale is set to UTF-8 in Squeeze. Example:
echo -e "ą
a
b
c
[Code].....
I want to ask a question regarding on the "locale" problem. I've searched a lot on Google, but I think there is no detailed information and logic explained this topic well. Someone may suggest use Preference->Administration->Language Support to add or change whatever language I want. I can't use this way beacuse:
1. I need try to push locale configuration to a lot of linux clients.
2. I want to know the detailed information of how to configure.
I have tried to find the most helpful page on the Internet and read some "man locale":
[Code]...
I installed Ubuntu for the ability to easily change the system wide locale and language settings.However I've noticed a strange thing when logging in to my account with Japanese set as the language. Although I'm using the default "Ambiance" theme, the folder icons in Nautilus and some other styling seem to change to a different (much uglier) theme. For example on the top panel the network connection icon also reverts to an blue computer screen icon from the other theme, although other icons on the panel and the rest of the styling remains as the correct theme!
I'm now back in English locale, and my theme is normal again. In fact I don't even see the ugly other theme in the theme selector window. I haven't noticed this problem using other languages such as French and Russian.It's only a stylistic theme, but it's really ugly and really bugging me. what might be going wrong?EDIT***********************Ok I just logged back in again using the Japanese locale in order to post a screencap, and of course the problem has vanished now! I already logged in and out a number of times earlier to see if it would solve the problem and it didn't
All my LC environment variables are currently set to POSIX at boot, though I can't find the startup script that does this. I've grepped through /etc/rcS.d and /etc/rc2.d but no luck. In /etc/default/locale, LANG is set to en_GB.UTF-8, which is my preferred locale. But this doesn't stop all the LC's being set to POSIX. Consequently, my dates follow the American convention, which I find hard to read.
I tried resetting with update-locale LC_TIME=en_GB.UTF-8. This changed all the locales to en_GB but only for the session. When I rebooted, everything went back to POSIX. The only change is that en_GB.utf-8 is now in the /etc/default/locale file as the value of LC_TIME as well as LANG.
Would someone please let me know how to change the default locale in Ubuntu 10.04. In System/Administration/Language Support both Language and Text have been set to English (Denmark).
/etc/default/locale entry is LANG="en_DK.UTF-8".
/var/lib/locales/supported.d/locale entry is en_DK.UTF-8.
Yet locale command lists LANG=en_US.utf8, and all LC_ entries as "en_US.utf8". The machine has been reset many a time.
Fedora 12 live running from USB with persistence storage.My laptop has extra numeric key pad.But Fedora is not recognizing this keypad. Only number keys above the QWERTY working.---------- Post added at 04:55 PM CDT ---------- Previous post was at 08:16 AM CDT ----------Also, upon every restart my keyboard layout changes from UK to USA mode!
View 2 Replies View RelatedHow can i change IP of my fedora permanently without using any GUI???
View 2 Replies View RelatedI'm trying to get multiple numeric valued version information into a variable, all on the same line. I want for example $VERSION=3.1.0.01.002. I'm trying to pull seperate values from the file named version.properties, wherein the file contains;
patch.rel.num=0
sqa.num=01
major.rel.num=3
build.num=002
minor.rel.num=1
So I have the following script:
#!/bin/bash
BUILDVERFILE="version.properties"
PATCH=`grep "patch.rel.num" ${BUILDVERFILE} | awk {'print $1'}`
SQA=`grep "sqa.num" ${BUILDVERFILE} | awk {'print $1'}`
MAJOR=`grep "major.rel.num" ${BUILDVERFILE} | awk {'print $1'}`
BUILD=`grep "build.num" ${BUILDVERFILE} | awk {'print $1'}`
MINOR=`grep "minor.rel.num" ${BUILDVERFILE} | awk {'print $1'}`
P=`echo $PATCH | tr -d .=[:alpha:]`
S=`echo $SQA | tr -d .=[:alpha:]`
MA=`echo $MAJOR | tr -d .=[:alpha:]`
B=`echo $BUILD | tr -d .=[:alpha:]`
MI=`echo $MINOR | tr -d .=[:alpha:]`
VERSION=$MA.$MI.$P.$S.$B
echo $VERSION #
I end up with the value of .002 ?? Seems like it's only getting the last portion because if I run the script thru "bash -x" I get:
...
+ VERSION=$'3
.1
.0
.01
.002
'
+ echo $'3
.1
.0
.01
.002
'
.002
Can someone tell me where the configuration file is to change root logins?
View 1 Replies View RelatedI'm using Ubuntu 10.04 and the default system locale is:
Code:
LANG=en_US.utf8
LANGUAGE=en_US:en
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
[code]....
I want to change them to "en_US.UTF-8", but I after I changed "/etc/environment" and "/etc/default/locale", nothing happens. Where is this string defined?
I am *finally* getting around to rebuilding my file-sharing computer. I'll be sharing files with both Linux and Windoze machines. It's a home network, so there's nothing fancy needed. I know I have to tweak my smb.conf file until I'm satisfied with the features and security. I'm using SWAT and I'm starting with a bare-bones conf file. It's not secure but I can see the server and selected files/directories from my other Linux box.
My really dumb question is, do I have to reboot both the server and the client machines every time I change the SAMBA configuration? I thought I just had to stop and restart the SAMBA service in the SWAT software - but then the server disappears from my client. It looks like I need to reboot both machines for the client to see the server.
Running locale from terminal gives me:
[Code]...
Where is the system locale set?When /etc/profile is run it sources /etc/profile.d/lang.sh which sets envar $LANG but /etc/profile is only used by login shells so -- AFAIK -- modifying $LANG in /etc/profile.d/lang.sh will not change the system locale for processes started by the boot scripts.There are no *locale* files under /etc./etc/inittab has nothing about locale.man init has nothing about locale.man 7 locale describes locale.h and its usage.man 5 locale describes the format of locale files./sbin/init (as investigated using the strings command) may call nl_langinfo but man nl_langinfo only describes how to query the locale, not where it is set.
View 6 Replies View RelatedSomehow my language/locale setting has gotten messed up, and I don't know how to fix it. Several applications complain with a message like: "No matching locale found for 'C'."
The contents of /etc/default/locale is code...
How can I fix this?
(I'm running 64-bit Ubuntu 10.10 with all updates applied.)
When I open gedit and also some other applications, I get this message:(gedit:29595): Gtk-WARNING **: Locale not supported by C library.Using the fallback 'C' locale.Why is this happening and should I worry about it? It does not seem to affect my subsequent work.
View 8 Replies View RelatedI have been having some trouble using the Esperanto locale in Xmonad for sometime. I used this locale mainly in the terminal, because obviously Xmonad is a tiling WM and doesnt need a specific locale itself. I found that Esperanto locale prevents Xmonad from starting, but that if the LANG locale is exported after Xmonad is already started, it will turn my xterminal into an Esperanto terminal. Thus opening mutt mail will show Esperanto-Mutt, and for instance "command not found" becomes "komando ne trovita". I enjoy seeing this.
So the trick then is running "export LANG="eo.utf8"" just after xmonad loads before any other programs are run. I tried various things, and now wonder is it possible to just have the terminal itself running it its own locale? I could run this manually in every terminal, but wonder about automating it. I use the Xfce4-Terminal.
I tried .bash_profile, .xinitrc, .bashrc, and I tried adding the export to a bash script set to run by xmonad after it starts up. None of these cause the desired effect. I also notice it is temporary. If I open a terminal and do the export, that terminal is Esperantized. If I open a new terminal it is back to english.
Another thing I noticed is that after xmonad starts, if I manually add the export to .bashrc, all the terminals are in Esperanto. So I am thinking of making a script that does a find and replace of the .bashrc to add the export. Its tricky, some kind of sed-grep action. Another idea would be to put the .bashrc in a weird location so it isnt found on startup. Then make a command to symlink to it in the user folder after Xmonad starts. The main Slackware system would be English locale in order to prevent Xmonad from barfing on startup.
I run KDE 3.X and for the life of it, can't figure out how to assign the "ALT+SHIFT" to switch between keyboard layouts? The default AL+SHIFT+K switches from EN to second one and after that it (obviously) doesn't work. saw a few posts [URL]....alt-shift.html), but the flag is not changing in the tray.
I also tried to go thru "Keyboard shortcuts", but for whatever reason, it doesn't want to accept the combination of "alt+shift" and expects another key ( i guess).
I'm using Centos 5.2 and the the keyboard model is "MS natural keyboard pro" with US and two Cyrillic layouts - one of them is phonetic.
it just happened a few days ago. When i log in i pres ''Num lock'' and i type the password but after loging in the numeric keyboard won't work. I tried num lock several times but it doesn't work. It works in windows 7 so it's not a hardware problem. I hate using the number keys on the alphanumeric keyboard.
View 4 Replies View RelatedAfter changing the keyboard the numeric keys do not work using mandriva 2010.2. It works ok on windows xp and puppy linux.
Under puppy linux the setting is pc 101.
Mandriva the setting is Generic 105 key (intl) PC
Have tried a few different options.
how do i ask in a query for any numeric or string field? It may not have any meaning, but i need it to fill a toplink DataReadQuery in java....Something like " select * from table where table.fieldA='?'
View 2 Replies View RelatedIs there any way to force 24-hour time in my locale (for example, 14:00) instead of 12-hour time (2:00 PM)?
I use the en_US locale with a UTF-8 character set on Arch Linux, but this shouldn't matter, I think.
The date displayed in my panel is in the American format: Sat Jun 12, but my locale is set to Australian for everything. I have tried switching to different regions (System->Administration->Language Support), but this appears to have no effect on the date format.
Is this a bug? Anyone know how to fix it? code...
On Slackware64 13.1 the as-installed en_GB locale gave Sunday as the first day of the week. This was not an issue until Xfce's Orage calendar was used when its display of Sunday as the first day of the week was offputting for someone used to Monday. A minor inconvenience but expected to be easy to fix.
At the command line:
Code:
c@CW8:~$ export LANG=en_GB <== same for en_GB.utf8
[code]....
Under Debian "Expert Installation" once I have chosen installation/system language and location, I get an informative notice, that:
Code:
There is no locale defined for the combination of language and country you have selected.
..and I need to choose one locale available for the selected language. As I understand, locale is just a set of environmental variables used by applications and printed out with locale command?
In addition, is it possible to generate own locale files after the installation, which will match my needs?
I recently moved from gnome to xfce in my arch linux box. After I added greek to keyboard layout some applications like skype, openoffice and vlc changed their menus in greek characters. English language but greek characters! Anyone got any idea what can I do with this one?
View 1 Replies View RelatedIn accordance with directives - possibly misunderstood - I have reconfigured the Debian "locales" package; I changed the installed locale from en_US.ISO-8859-1 to en_US.UTF-8 and left the default locale for the system as "none". So far so good. In my ".bashrc" file, I have an entry for "LC_LANG".
If this entry is set to "en_US.ISO-8859-1" all my texts are readable on the console but I get warnings like: Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale If I change the LC_LANG entry to "en_US.UTF-8", I no longer get these warnings but the screen-display of Midnight Commander (mc) is a real mess. And even man-pages are no longer able to display hyphens (-) correctly.