LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Changing my keyboard layout (language) globally by command (shell) (https://www.linuxquestions.org/questions/linux-newbie-8/changing-my-keyboard-layout-language-globally-by-command-shell-182285/)

Santorres 05-16-2004 11:26 PM

Changing my keyboard layout (language) globally by command (shell)
 
:Pengy:

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....



:newbie:

Muzzy 05-17-2004 02:04 PM

To change it for all X Windows, in my case to danish:
Code:

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "Keyboard"
    Option "XkbLayout"  "dk"
    Option "XkbVariant" "nodeadkeys"
    ....
EndSection

and for the console you need this in your startup scripts:
Code:

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:
Code:

knoppix lang=dk


All times are GMT -5. The time now is 04:26 AM.