Keyboard setup for Raspbian: Difference between revisions

From blinkenwiki

Created page with "In /etc/default/keyboard (seems to work for console only): <pre> XKBMODEL="pc105" XKBLAYOUT="us" XKBVARIANT="dvorak" XKBOPTIONS="terminate:ctrl_alt_bksp,ctrl:nocaps" </pre>..."
 
No edit summary
 
Line 16: Line 16:
xmodmap -e 'add Control = Control_L'
xmodmap -e 'add Control = Control_L'
</pre>
</pre>
(From Evernote)

Latest revision as of 01:35, 13 June 2021

In /etc/default/keyboard (seems to work for console only):

XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT="dvorak"
XKBOPTIONS="terminate:ctrl_alt_bksp,ctrl:nocaps"

For X: Use UI to make Dvorak the keyboard then use Xmodmap to make Caps-lock a Control:

xmodmap -e 'remove Lock = Caps_Lock'
xmodmap -e 'keysym Caps_Lock = Control_L'
xmodmap -e 'add Control = Control_L'

(From Evernote)