Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-01-2005, 04:51 AM   #1
Per M.
LQ Newbie
Registered: Oct 2005
Posts: 27

Rep: Reputation: 15
Unhappy Changing the keymap


I have just installed Elive to hard drive, but how do I change the keyboard map from us to dk? When I type the special characters, others show up. I have tried changing /etc/X11/XF86Config as root, but it doesnt help when Im the normal user. What should I do?

- Per

Last edited by Per M.; 11-01-2005 at 06:24 AM.
Old 11-01-2005, 09:44 AM   #2
Registered: Oct 2004
Location: Tartu, rhus,Nrnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
'setxkbmap dk' or whatever keyboard layout you want. There also graphical applets for gnome and kde.

Note you have to have permissions to open the display (it only matters if you have su'ed to a different user).

In XF86Config (or XF86Config-4) you should have something like
Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "Keyboard"
    Option "XkbRules"   "xfree86"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"  "dk"

It should give everyone dk-keyboard after you restart X (e.g. reboot).

Hope it helps,
Old 11-01-2005, 10:54 AM   #3
Per M.
LQ Newbie
Registered: Oct 2005
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks, that really helped! I just typed "setxkbmap dk" and it worked!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
keymap editing oliver1386 Linux - General 1 03-15-2004 01:49 PM
Keymap with ,, ulfob Slackware 1 02-04-2004 11:40 AM
Keymap-woes... Megamieuwsel Linux - General 3 10-24-2003 06:47 AM
Loading keymap xodeus Slackware 1 07-12-2003 10:30 AM
Keymap For Decvt220 AnselmoMH Linux - Software 0 06-24-2003 08:19 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration