You are not logged in.

#1 2011-01-09 09:27:45

Lea
Member
From: Slovenia
Registered: 2010-01-21
Posts: 34

kayboard lyout

Hi. I would like to set my lyout to slovene but i have only this in my local -a:

C
en_US
en_US.iso88591
en_US.utf8
POSIX

Where can i get slovene lyout. I tryed to change keymap in /etc/rc.conf like this

LOCALE="en_US.UTF-8"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Ljubljana"
KEYMAP="slovene"

but it's still not working. sad

Offline

#2 2011-01-09 12:05:56

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: kayboard lyout

You need to set the X keyboard layout, you can use xsetkbmap for this.

xsetkbmap si

read more at the wiki: https://wiki.archlinux.org/index.php/Xo … d_settings

Offline

#3 2011-01-09 14:18:02

ferda
Member
Registered: 2010-02-05
Posts: 67

Re: kayboard lyout

ijanos wrote:

You need to set the X keyboard layout, you can use xsetkbmap for this.

the correct command is setxkbmap.

setxkbmap si

changes the keymap temporarily.
to make it permament you should create a /etc/X11/xorg.conf with the following
content:

Section "InputClass"
    Identifier             "Keyboard Defaults"
    MatchIsKeyboard       "yes"
    Option               "XkbLayout" "si"
EndSection

for the console you probably need

LOCALE="sl_SI.UTF-8"

in your /etc/rc.conf.

Offline

#4 2011-01-09 15:54:21

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: kayboard lyout

Damn, I knew it looked funny...

Anyways, setting the LOCALE has nothing to do with the keyboard layout.

Offline

#5 2011-01-09 16:00:45

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: kayboard lyout

Creating

/etc/X11/xorg.conf.d/10-evdev.conf

and putting in my keyboard layout worked for me.

                                                                                                                                                                                                 
Section "InputClass"                                                                                                                                                                                       
        Identifier "evdev keyboard catchall"                                                                                                                                                               
        MatchIsKeyboard "on"                                                                                                                                                                               
        MatchDevicePath "/dev/input/event*"                                                                                                                                                                
        Driver "evdev"                                                                                                                                                                                     
        Option "XkbLayout" "si"                                                                                                                                                                            
EndSection

For the terminal it may be worth checking that your locale is uncommented in /etc/locale.gen


Rauchen verboten

Offline

Board footer

Powered by FluxBB