LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-22-2014, 05:48 PM   #1
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 15.0, SARPI, artix
Posts: 408

Rep: Reputation: 33
How to change keyboard layout and variant?


Everytime I install Slackware I get this issue. I realize that due to the non-uniform way Linux is set up that it's pretty much impossible to force every program to acknowledge one implementation. Well, unless it's made a kernel level setting. At least, that's my understanding, I'm hardly the last word.

Anyway, I have set it to dvorak layout in the console, but Fluxbox doesn't recognize it. Previously I could edit rc.hald, but that's no longer an option. I have to manually set setxkbmap blah blah is the terminal, which works, but it's awkward and not a permanent solution.

So, I'm wondering how do I get fluxbox to recognize us dvorak layout/variant? Or is there a way to universally set it?

Thanks.
 
Old 06-22-2014, 06:10 PM   #2
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Create a file at '/etc/X11/xorg.conf.d/90-keyboard-layout.conf' (or any name that ends in .conf)
Code:
Section "InputClass"
	Identifier "keyboard-all"
	MatchIsKeyboard "on"
	MatchDevicePath "/dev/input/event*"
	Driver "evdev"
	Option "XkbLayout" "us"
	Option "XkbVariant" "dvorak"
	Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
A sample file can be found at '/usr/share/X11/xorg.conf.d/90-keyboard-layout.conf'.
 
2 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] Keyboard layout variant: (US, international with dead keys) Battus Debian 4 03-21-2014 05:36 AM
Cannot change keyboard layout mikerobinson Linux - Hardware 10 04-20-2009 04:54 PM
How to change keyboard layout abd_bela Solaris / OpenSolaris 11 01-30-2008 04:26 AM
Need to change keyboard layout anti.corp Solaris / OpenSolaris 4 04-02-2006 07:02 AM
How do i change the keyboard layout? ArmedCoder Linux - Hardware 0 11-20-2003 07:25 PM

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

All times are GMT -5. The time now is 12:42 PM.

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