Red Hat Bugzilla – Bug 141634
Changing keyboard mode to "dvorak" produces error output
Last modified: 2014-08-31 19:26:58 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3)
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.su to root
5.Observe error output
6.hit C-A-F1 and try to type.
7.Observe the keyboard is not in dvorak
Actual Results: Loading /lib/kbd/keymaps/i386/dvorak
input in flex scanner failed
* running ['/usr/X11R6/bin/setxkbmap', '-layout', 'dvorak', '-model',
'pc105', '-option', '']
Expected Results: No error message
Error message comes from loadkeys for console mapping, loadkeys dvorak
fails as dvorak is a directory. loadkeys dvorak/dvorak or loadkeys
ANSI-dvorak works, which of these is the desired layout? I'll adjust
the table appropriately.
dvorak/dvorak seems to match the X dvorak keyboard.
dvorka/ANSI-dvorak doesn't. So the former is the right choice.
Modified keyboard_models in rhpl to use dvorak/dvorak
Created attachment 114480 [details]
If a directory name matches what we look for we try and open it :|
This makes loadkeys dvorak work as expected.
Thanks, fixed in kbd-1.12-10.