LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  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


Hello.

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
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, 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
Code:
Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "Keyboard"
    Option "XkbRules"   "xfree86"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"  "dk"
EndSection

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

Hope it helps,
Ott
 
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!
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:09 PM.

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