Visit Jeremy's Blog.
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 05-16-2004, 11:26 PM   #1
Registered: Jun 2003
Location: Bogota, Colombia
Distribution: Red Hat 8, knoppix, Xandros
Posts: 51

Rep: Reputation: 15
Question Changing my keyboard layout (language) globally by command (shell)

Sorry for the subject.. i did not know how to name it...

I`d like to know how to configure my keyboard layout by command.. Meant when working under KDE is already done, but inmediately i used any other window manager or just do not use X (GUI) my keyboard layout change... Can anyone explain where to change it globally ?

Thanks for your help....

Old 05-17-2004, 02:04 PM   #2
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo, Slackware
Posts: 333

Rep: Reputation: 30
To change it for all X Windows, in my case to danish:
Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "Keyboard"
    Option "XkbLayout"  "dk"
    Option "XkbVariant" "nodeadkeys"
and for the console you need this in your startup scripts:
loadkeys dk
Depening on your distro, there maybe a smarter way of doing this, but loadkeys should work too.

I notice you are using knoppix too: for that you should press F2 at boot up the type:
knoppix lang=dk


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
Changing Keyboard Language kalgregor SUSE / openSUSE 0 09-13-2005 12:25 AM
Changing the keyboard Layout from UK to US (Debian) critical Linux - Hardware 7 02-16-2005 03:35 PM
Changing keyboard layout SAC82 Linux - Software 5 10-18-2004 01:39 AM
crash when changing language(keyboard layout) atkbd.c cuk Mandriva 0 06-20-2004 04:16 AM
Changing keyboard layout? Eits0 Linux - General 2 08-13-2002 06:57 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:56 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