LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   change keyboard language in startx (http://www.linuxquestions.org/questions/slackware-14/change-keyboard-language-in-startx-887985/)

Vozz 06-23-2011 03:55 PM

change keyboard language in startx
 
hello everyone im hoping you can help me whit this problem im new to slackware ive used ubuntu and fedora before, but i asked around for the "best" linux distro and they told me slackware or archlinux so i desided to pick slackware ive installed it and when im in the console mode its the swedish keyboard settings, that i choose in the install but when i go into visual mode startx i dont have the swedish keyboard so i was wondering if eny of you know how to change it

cccc828 06-23-2011 04:05 PM

Hello,

take a look at the CHANGES_AND_HINTS.TXT.
There it says:
Code:

The version of Xorg in Slackware 13.37 will not (in most cases) require an
  /etc/X11/xorg.conf file.  Input hotplugging is no longer done using hal;
  instead, it now uses udev for input device detection and keyboard mapping.
(...)
    * 90-keyboard-layout.conf
        this sample ("normal" en layout) keeps the "old" default of
        allowing Zap'ing the Xserver.
  If you need to modify any of these defaults, then copy the relevant file
  from /usr/share/X11/xorg.conf.d/ to /etc/X11/xorg.conf.d/ and edit the
  copy.

So just copy /usr/share/X11/xorg.conf.d/90-keyboard-layout.conf to /etc/X11/xorg.conf.d/90-keyboard-layout.conf and edit the keyboad layout!

Hope I could help you:)

FeyFre 06-23-2011 04:12 PM

If you have installation disk near you, you can read CHANGES_AND_HINTS.txt file. There is part which touches your question: search for /etc/X11/xorg.conf in text(cut - oops, that was unrelated).
Also you can achieve same result running xorgsetup in console - a few simple dialogs will help you to do some X configuration, including keyboard layout.
Another way: if you using xfce or kde, you can run their setting manager, which allows to setup keyboard layout on fly.

You should read slackbook(provided with installtion), it can give you a lot of answers.

Vozz 06-23-2011 04:17 PM

Thank you i edited the file and now its fixt thank you both and thanks for telling me about the manual


All times are GMT -5. The time now is 03:24 PM.