You are not logged in.
Pages: 1
Hello,
I having trouble with getting the right characters in my terminal (Termite).
When I open a terminal, the characters "æøå" is displayed as "?ae?".
If I open a termite session form within termite, the characters is displayed correctly.
In my /ect/locale.conf I have:
LANG="en_US.UTF-8"
And in ~/./config/locale.conf i have:
LANG="dk_DK.UTF-8"
I have tried read through the locale wiki entry, and search the forum for solutions,
but so far nothing have worked, and I don't really know here to go from here.
Offline
Try LANG=dk_DK.UTF-8 in /ect/locale.conf . I am from Norway and have LANG=nb_NO.UTF-8 in /ect/locale.conf. æøå is displayed right.
Offline
No luck. It still gives me "ae??"
Offline
What's the output of
locale -aOffline
What's the output of
locale -a
[m_hyperbolic@archbox ~]$ locale -a
C
da_DK.utf8
en_DK.utf8
en_GB.utf8
POSIX
Offline
I had that Problem too !
Don't worry, its easy to solve
.
First of all you should run this as root :
touch /usr/share/locale/locale.alias
after that (as root too):
locale-gen
That's it ! Have fun with your working locale!
Greetings Jack.
EDIT: Sorry, I was tired and posted a wrong command , now this should work
.
Last edited by jackmeep123 (2013-10-12 09:10:17)
Offline
This might seem like a silly question, but are you sure your font supports those characters?
Offline
This might seem like a silly question, but are you sure your font supports those characters?
If not , he may have to use the default font.
But let's wait until he ran those two commands.
Thats what fixed it for me.
EDIT: Also , it could really be a Font Issue, as Jellicent stated!
Last edited by jackmeep123 (2013-10-12 09:23:25)
Offline
I had that Problem too !
Don't worry, its easy to solve.
First of all you should run this as root :touch /usr/share/locale/locale.alias
after that (as root too):
locale-gen
That's it ! Have fun with your working locale!
Greetings Jack.
EDIT: Sorry, I was tired and posted a wrong command , now this should work
.
No dice. Still "ae??"
Edit: I rebooted after the above commands.
This might seem like a silly question, but are you sure your font supports those characters?
I use the inconsolata font, and it does support "øåæ" (http://www.levien.com/type/myfonts/inconsolata.html)
But to be sure, I have also tired with terminus, and it dosen't help.
And since "øæå" is displayed fine if a open termite session from within termite, I know they font works.
Last edited by Mhyperbolic (2013-10-12 09:52:43)
Offline
I'm glad been able to help you ! ![]()
If your problem is solved, dont forget to put the [SOLVED] tag on it.
You do it like this:
Editing the first post, putting [SOLVED] in front of the thread name.
(I assume after the reboot it worked, did it ?)
Greetings, Jack.
Last edited by jackmeep123 (2013-10-12 12:42:04)
Offline
I'm glad been able to help you !
If your problem is solved, dont forget to put the [SOLVED] tag on it.
You do it like this:
Editing the first post, putting [SOLVED] in front of the thread name.
(I assume after the reboot it worked, did it ?)
Greetings, Jack.
No you misunderstood me. After the reboot it still does not work ![]()
Offline
Hi.
What does /etc/vconsole.conf say?
Cause I had this problem before and the problem was that it changed my keyboard layout to english instead of swedish.
You can view the current keyboard config by typing: localectl status
It should say something like this:
System Locale: LANG=en_US.UTF-8
VC Keymap: sv-latin1
X11 Layout: n/aYou can try if KEYMAP=dk-latin1 in /etc/vconsole.conf solves the problem.
You can read more here: https://wiki.archlinux.org/index.php/Ke … in_Console
Offline
Hi.
What does /etc/vconsole.conf say?
Cause I had this problem before and the problem was that it changed my keyboard layout to english instead of swedish.
You can view the current keyboard config by typing: localectl status
It should say something like this:
System Locale: LANG=en_US.UTF-8 VC Keymap: sv-latin1 X11 Layout: n/aYou can try if KEYMAP=dk-latin1 in /etc/vconsole.conf solves the problem.
You can read more here: https://wiki.archlinux.org/index.php/Ke … in_Console
Those settings should be correct:
[m_hyperbolic@archbox ~]$ localectl status
System Locale: LANG=dk_DK.UTF-8
VC Keymap: dk-latin1
X11 Layout: n/a
[m_hyperbolic@archbox ~]$ cat /etc/vconsole.conf
KEYMAP=dk-latin1
FONT=Lat2-Terminus16Offline
You can try FONT=lat0-16 in /etc/vconsole.conf . Works in norwegian with æøå.
Offline
You can try FONT=lat0-16 in /etc/vconsole.conf . Works in norwegian with æøå.
That didn't do it. Still does not work ![]()
Offline
Maybe I is important that my login manager (SLiM) has a us-keyboard layout despite the above settings.
Offline
How have you configured your keyboard layout for X? If you have only specified keyboard layout for your specific desktop environment, it might not apply to certain things like your login manager, which does not load your DE settings until you have actually logged in. Otherwise X will use the default settings. You have a couple of options for setting system wide keyboard layout for X. I would suggest you try this if you have not done it as it may solve your problem.
This part of the wiki may prove useful. I personally use a custom configuration file, but you can also use localectl as mentioned below the section I have linked to:
https://wiki.archlinux.org/index.php/Ke … tion_files
You can give this a try and see if it solves your problem.
Offline
To be honest, i have no more ideas except the commands i posted, but since they didn't work...
Sorry! I hope you will solve your problem soon. I will also look after a solution , will post it if i find one! ![]()
Greetings, Jack.
Offline
Pages: 1