You are not logged in.
I´m getting nutts, I searched the net on how to get it to work but haven´t found a solution.
In Nautilus I can´t change a file or folder to a name with ÅÄÖ in the name, when i try it just prints me that it´s not valid.
And in urxvt I can´t type ÅÄÖ either, nothing happens when I press the keys.
It works fine when writing in documents and so on but not in filenames and urxvt.
Here is some of my configed files...
rc.conf
LOCALE="sv_SE.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Europe/Stockholm"
KEYMAP="sv-latin1"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
fstab
/dev/sda3 /mnt/sda3 ntfs-3g defaults,user,locale=sv_SE.utf8 0 0
In locale.gen both "sv_SE.UTF-8 UTF-8" and "sv_SE ISO-8859-1" is uncommented.
Would really appreciate some help here
Last edited by neuwerld (2009-04-17 18:25:11)
Offline
I can't really help you (sorry), but you might consider not using special characters in filenames (that includes spaces and dashs). That's really bad practice.
Offline
Is it possible to use ÅÄÖ in the virtual console? It could be a problem with the keyboard layout for X, if that is the problem you might find this wiki article useful: http://wiki.archlinux.org/index.php/Xor … otplugging
The parts that might be useful in the wiki article are: http://wiki.archlinux.org/index.php/Xor … figuration or http://wiki.archlinux.org/index.php/Xor … _it_off.3F (the last one in case you have the keyboard layout specified in xorg.conf)
I have change the following in /etc/hal/fdi/policy/10-keyboard.fdi to get swedish layout in X:
<merge key="input.xkb.layout" type="string">se</merge>
Offline
Thanks for the tips!
I will look at the links as soon as I can!
Offline
Now that I have configured it some I get this error message when I try naming file:
Cannot convert filename "åäö" to the local encoding.
Invalid byte sequence in conversion input.
Any idea?
Should I add sv_SE.utf8 to the fstab options on the partitions?
Offline
Is it possible to use ÅÄÖ in the virtual console?
I'm not sure if this comment is helpful. My system is set up for English only, but urxvt on my computer can in fact display those characters using DejaVu Sans Mono.
Offline
1) Try "setxkbmap se", after xorg-server 1.6 and/or evdev 2.2.1 update I have to use setxkbmap with X, "fi" layout in /etc/hal/fdi/policy/10-keymap.fdi doesn't seem to work
2) Start urxvt from another urxvt, and if you see something like
urxvt: the locale is not supported by Xlib, working without locale support.
try starting with LC_CTYPE="en_US.utf8" urxvt and see if it works; of course you would need that locale. I personally specify LC_CTYPE in ~/.profile.
I used option 2) with success before, but now I use 1) since 2) doesn't seem to be enough.
In ttys I get "åäö" with "altgr+åäö", without altgr it's "}{|" respectively. Haven't really looked into it, since i don't use them
Also, ntfs doesn't need locale option anymore http://www.ntfs-3g.org/releases.html
Change: The 'locale=' mount option is not used anymore for filename characterset conversion. Instead filenames are always converted to UTF-8.
Offline
I'm not sure if this comment is helpful. My system is set up for English only, but urxvt on my computer can in fact display those characters using DejaVu Sans Mono.
Actually, I was more referring to enter, as in pressing those keys on the keyboard and seeing the same characters on the screen. I should have been a bit more clear with that.
Offline
Haha I tried just for fun to change locale in rc.conf from sv_SE.utf8 to en_US.utf8 and that solved all my problems.
Now I can name folders with åäö characters and type åäö in console and everything, kinda irritating that it was so easy to fix when I have tried so many different things
But thanks for all the help thou! Really nice of you to bother me
/Neuwerld
Offline