SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Even MS-DOS has a hotkey to switch between languages. But Linux console hasn't?
May be hotkey is right Ctrl-Alt?
The closest thing I can think of is adding loadkeys to sudoers and creating aliases, but note that the language will change for all users when you use loadkeys.
Code:
alias q="sudo loadkeys qwerty"
alias d="sudo loadkeys dvorak"
Or you can use "su -c 'loadkeys ...'", but that will prompt for the root password.
alias asdf="loadkeys dvorak" # to go from qwerty to the next keyboard layout, dvorak
alias aoeu="loadkeys qwerty" # to go from dvorak to the next keyboard layout, qwerty
# You can do this to cycle between several keyboard layouts, so long as the first for keys are different
# or you could try one of these commands:
Code:
alias asdf="loadkeys /usr/lib/kbd/keytables/dvorak.map"
alias aoeu="loadkeys /usr/lib/kbd/keytables/us.map"
Code:
alias asdf="setxkbmap -layout us -variant dvorak"
alias aoeu="setxkbmap -layout us -variant basic"
---
Quote:
I was about to answer when I realized that this thread is almost 9 years old...
sounds like a contradiction somewhere
Last edited by BryanFRitt; 08-05-2014 at 09:56 AM.
Reason: made it look prettier, and put the switching commands in the same order
Also slackware forum path most is slackware-14 in LQ ?
This has nothing to do with the version of Slackware. It's been slackware-14 even when Slackware was on v7.
You should let dead threads lie. There was no reason to respond to this topic. The answer was posted and it was done. If someone runs into a similar issue, they can find this thread and see the rc.keymap reference and check it on their system and make the required changes.
If we went through and updated all previous posts with current information, it'd be never ending and would flood the forum with posts that have no bearing on what people need today.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.