Dvorak keymap in single user mode

Robert Downes nullentropy at lineone.net
Thu Jan 1 21:25:33 PST 2004


Reply to myself again, just to make sure this thread can be of use to 
anyone searching archives at any point in the future.

Stéphane Witzmann suggested that the kernel configuration be altered to 
specify a default keyboard.

So, after checking NOTES and the name of the keyboard map I want 
(us.dvorak), I changed my custom kernel configuration file (BOBKERN) so 
that it now contains a section exactly like this:

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc          # AT keyboard controller

device          atkbd           # AT keyboard
options         ATKBD_DFLT_KEYMAP
makeoptions     ATKBD_DFLT_KEYMAP=us.dvorak     # use Dvorak key layout

Once this was built and installed (see the handbook for advice on custom 
kernel building), I booted into single user mode and, hallelujah, it is 
now in Dvorak layout by default.

Thanks to Stéphane.

DISCLAIMER: Bob is not liable for any minor, major, or irreparable 
damage his advice may cause. Furthermore by having read the above 
message, you have already agreed to indemnify Bob against all legal, 
civil, military, and psychologically hurtful action, whether or not 
initiated by you. Should any part of this agreement contradict itself, 
you will close your eyes and ignore the section that is of less 
profitability to Bob. Should any of this agreement be deemed illegal, 
you agree to raise up an army and defeat any and all that stand in the 
way of a change in the law that will install or reinstate the validity 
of this agreement.

-- 
Bob



More information about the freebsd-questions mailing list