XFCE keyboard layout

Soldato
Joined
8 Nov 2003
Posts
7,409
Location
UK
Hi there,

Am using Archlinux and have a niggly little program with regards to the keyboard layout.

Everytime I reboot I am defaulted back to the US keyboard and so I have to login as root in the terminal and type 'setxkbmap gb'.

Here is my xorg config:

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
Option "XkbVariant" "nodeadkeys"


Any thoughts?
 
It's set to 'UK' because 'GB' isn't recognized.

LOCALE="en_GB.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Europe/London"
KEYMAP="uk"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
 
Is there a way of executing a startup script to automatically set the keyboard map to gb rather than me having to manually type it each time I log in?
 
GNU nano 2.0.7 File: /etc/rc.local

#!/bin/bash
#
# /etc/rc.local: Local multi-user startup script.
#
for i in $(seq 6); do /usr/bin/setleds -D +num < /dev/vc/${i} >/dev/null; done

{ echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register; } 2$

setxkbmap gb

Didn't work. How do I make it work?
 
It didn't work mate. Here is what i've got:

GNU nano 2.0.7 File: /etc/rc.local

#!/bin/bash
#
# /etc/rc.local: Local multi-user startup script.
#
for i in $(seq 6); do /usr/bin/setleds -D +num < /dev/vc/${i} >/dev/null; done

{ echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register; } 2$

/usr/bin/setxkbmap gb
 
Back
Top Bottom