LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-07-2006, 06:05 AM   #1
uncle-c
Member
 
Registered: Oct 2006
Location: The Ether
Distribution: Ubuntu 16.04.7 LTS, Kali, MX Linux with i3WM
Posts: 299

Rep: Reputation: 30
Slax 5.1.8 - How to change keyboard layout at command line


Hi,
I've just ran and tested the Slax Live CD and what an excellent live distro it is ! Now by default it gets you into Run level 3 , command line. As I use an English keyboard what command should I use to map correctly. When ever I try to use the "|" charcter I get ">" etc due to incorrect country codes. Is "loadkeys" the answer ?

Thanks !

Uncle
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 11-07-2006, 07:53 AM   #2
theoffset
Member
 
Registered: Aug 2005
Location: Guadalajara, Jal, Mexico
Distribution: Slackware Linux
Posts: 211

Rep: Reputation: 31
Checkout
Code:
man loadkeys
I for example, use
Code:
loadkeys la-latin1.map
It will load la-latin1.map.gz in /usr/share/kbd/keymaps/i386/qwerty/ and change my layout to a latinamerican one.

Last edited by theoffset; 11-07-2006 at 08:08 AM.
 
Old 11-09-2006, 04:32 AM   #3
uncle-c
Member
 
Registered: Oct 2006
Location: The Ether
Distribution: Ubuntu 16.04.7 LTS, Kali, MX Linux with i3WM
Posts: 299

Original Poster
Rep: Reputation: 30
Thanks theoffset. Problem solved.
 
Old 07-14-2021, 02:37 PM   #4
Noorlatif
LQ Newbie
 
Registered: Jul 2021
Posts: 3

Rep: Reputation: Disabled
Solution

Because this is a popular post when searching for "slax keyboard", "slax change keyboard layout" or similar.
Here is how to change keyboard layout on newer Slax versions:

Code:
setxkbmap se
replace se with your own keyboard code
se, in this case, stands for swedish

Tested on Slax version 9.11.0

Last edited by Noorlatif; 07-14-2021 at 02:40 PM.
 
Old 07-14-2021, 02:38 PM   #5
Noorlatif
LQ Newbie
 
Registered: Jul 2021
Posts: 3

Rep: Reputation: Disabled
You can find the keyboard code in /etc/X11/xkb/rules/base.lst
or from the list here:
https://www.slax.org/blog/19525-Inte...-for-Slax.html

locale keyb Language
ar ara Arabic
bg bg Bulgarian
bs ba Bosnian
ca ad Catalan
ca@valencia ad Catalan (Valencian)
cs cz Czech
da dk Danish
de de German
el gr Greek
en_GB gb English (UK)
es es Spanish
et ee Estonian
eu es Basque
fa ir Farsi
fi fi Finnish
fr fr French
ga ie Irish
gl es Galician
he il Hebrew
hr hr Croatian
hu hu Hungarian
ia en Interlingua
id in Indonesian
is is Icelandic
it it Italian
ja jp Japanese
kk kz Kazakh
km kh Khmer
ko kr Korean
lt lt Lithuanian
lv lv Latvian
nb no Norwegian (Bokmaal)
nds de Low Saxon
nl nl Dutch
nn no Norwegian (Nynorsk)
pa in Punjabi
pl pl Polish
pt pt Portuguese
pt_BR br Brazilian Portuguese
ro ro Romanian
ru ru Russian
si lk Sinhala
sk sk Slovak
sl si Slovenian
sr rs Serbian
sv se Swedish
tg tj Tajik
th th Thai
tr tr Turkish
ug ara Uyghur
uk ua Ukrainian
vi vn Vietnamese
wa fr Walloon
zh_CN cn Simplified Chinese
zh_TW cn Chinese
 
Old 07-14-2021, 02:48 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by Noorlatif View Post
Because this is a popular post when searching for "slax keyboard", "slax change keyboard layout" or similar.
Here is how to change keyboard layout on newer Slax versions:

Code:
setxkbmap se
replace se with your own keyboard code
se, in this case, stands for swedish

Tested on Slax version 9.11.0
Irrelevant necro-posting, great as a first post Noorlatif.
And SLAX is not even based on Slackware anymore, it is a debian derivative nowadays, so please post your feedback on their forum instead of here.
 
3 members found this post helpful.
Old 07-14-2021, 03:46 PM   #7
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
OP don't even know what system is running.
 
  


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
controling keyboard layout on slax live cd 5 linuxmandrake Slackware 3 10-06-2006 01:25 PM
Need to change keyboard layout anti.corp Solaris / OpenSolaris 4 04-02-2006 06:02 AM
Changing keyboard layout from command line wimnat Linux - General 0 02-02-2006 04:28 AM
Why I cannot change my keyboard layout? GregSP Mandriva 3 01-14-2006 05:48 PM
How do i change the keyboard layout? ArmedCoder Linux - Hardware 0 11-20-2003 06:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:54 AM.

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