LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-18-2020, 08:03 PM   #1
SandMan420420
Member
 
Registered: Nov 2020
Posts: 51

Rep: Reputation: Disabled
slackware current to dvorak?


how would i do a system wide change to dvorak us?
 
Old 11-18-2020, 08:36 PM   #2
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 935

Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
I think in a console you have to load a map in '/usr/share/kbd/keymaps/i386/dvorak/' editing /etc/rc.d/rc.keymap

In KDE and Xfce is easy to configure, go to keyboard settings and choose a dvorak map.
 
Old 11-19-2020, 02:45 PM   #3
SandMan420420
Member
 
Registered: Nov 2020
Posts: 51

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Paulo2 View Post
I think in a console you have to load a map in '/usr/share/kbd/keymaps/i386/dvorak/' editing /etc/rc.d/rc.keymap

In KDE and Xfce is easy to configure, go to keyboard settings and choose a dvorak map.
My problem is that when i change it to dvorak in xfce it doesnt change for the boot up login screen?
 
Old 11-19-2020, 04:27 PM   #4
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 935

Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
Do you have a /etc/rc.d/rc.keymap file? Is it executable?
Take a look
Code:
ls -l /etc/rc.d/rc.keymap
It should be listed as -rwxr-xr-x
If not, make it executable
Code:
chmod +x /etc/rc.d/rc.keymap
Then edit it as root and change the keymap to something in /usr/share/kbd/keymaps/i386/dvorak/

I think those are the maps you want, I never used a dvorak map.


Before all this, you can test the keyboard map in a console running loadkeys
Code:
loadkeys dvorak.map
 
1 members found this post helpful.
Old 11-21-2020, 12:18 AM   #5
SandMan420420
Member
 
Registered: Nov 2020
Posts: 51

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Paulo2 View Post
Do you have a /etc/rc.d/rc.keymap file? Is it executable?
Take a look
Code:
ls -l /etc/rc.d/rc.keymap
It should be listed as -rwxr-xr-x
If not, make it executable
Code:
chmod +x /etc/rc.d/rc.keymap
Then edit it as root and change the keymap to something in /usr/share/kbd/keymaps/i386/dvorak/

I think those are the maps you want, I never used a dvorak map.


Before all this, you can test the keyboard map in a console running loadkeys
Code:
loadkeys dvorak.map
hello this error shows up

~ ❯❯❯ ls -l /etc/rc.d/rc.keymap
ls: cannot access '/etc/rc.d/rc.keymap': No such file or directory

so i guess i need to create it how would i do that? thank you.
 
Old 11-21-2020, 10:03 AM   #6
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 935

Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
The content of /etc/rc.d/rc.keymap is
Code:
#!/bin/sh
# Load the keyboard map.  More maps are in /usr/share/kbd/keymaps.
if [ -x /usr/bin/loadkeys ]; then
 /usr/bin/loadkeys us-acentos.map
fi
Replace us-acentos.map with the dvorak map you want.
 
Old 11-21-2020, 11:34 AM   #7
SandMan420420
Member
 
Registered: Nov 2020
Posts: 51

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Paulo2 View Post
The content of /etc/rc.d/rc.keymap is
Code:
#!/bin/sh
# Load the keyboard map.  More maps are in /usr/share/kbd/keymaps.
if [ -x /usr/bin/loadkeys ]; then
 /usr/bin/loadkeys us-acentos.map
fi
Replace us-acentos.map with the dvorak map you want.
i am confused i dont have a /etc/rc.d/rc.keymap what commands do i do in order to make it?
 
Old 11-21-2020, 12:36 PM   #8
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 935

Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
I think the best way is, with your regular user, open an text editor (kate or kwrite or other
that you are used to run) and type or paste the content I posted and save it as 'rc.keymap'

Then as root move that file to '/etc/rc.d/' and don't forget to make it executable.
Then reboot, at next boot the keyboard map you wrote instead us-acentos.map should
be loaded.

Take a look at this book I think it will help
http://dsl.org/cookbook/cookbook_toc.html

Last edited by Paulo2; 11-21-2020 at 12:39 PM.
 
  


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
[SOLVED] Dvorak in X on Slackware 13.37 BrutalMusic Linux - Newbie 2 05-04-2011 01:55 AM
dvorak made easy (slackware) phos LinuxQuestions.org Member Success Stories 1 12-05-2004 01:33 PM
dvorak layout = can't use bash functions with xterm elconde Linux - General 2 03-14-2004 05:35 PM
dvorak question darthczyz Linux - Newbie 13 12-09-2003 06:40 PM
dvorak keymap seingoku Slackware 1 05-22-2003 10:14 PM

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

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