HomePage > ComponentHowTo Components and HowTos > InputDevices Input Devices

Switch between Dvorak and regular layout


I needed to switch between regular US English layout and US Dvorak layout. The keyboard layout wizard in Puppy 525 was not able to do this so you need to manually edit the xorg.conf file. Open /etc/X11/xorg.conf file with a text editor and find the InputDevice section.

Note If you do not have and xorg.conf file then run the Xorg Video Wizard under the Puppy setup menu, this will create one for you.

The box below shows the items needed to switch from US international to US dvorak. The most important lines are obviously the XkbLayout options. To make the switch back and forth I use the left win key which triggers the switch as indicated by the 'grp:lwin_toggle' option in the last line. I also have the scroll led on the keyboard light to let me know I am in Dvorak layout mode. For a better explanation of the options see the wiki entry for the KeyboardLayouts Puppy keyboard wizard.

 Section "InputDevice" 
 Identifier "Keyboard0" 
 Driver "kbd" 
 Option "XkbRules" "xorg" 
 Option "XkbModel" "pc102" 
 Option "XkbLayout" "us(intl),us(dvorak)" #xkeymap0 
 # Option "XkbVariant" "dvorak" 
 Option "XkbOptions" "grp:lwin_toggle,grp_led:scroll,lv3:menu_switch" 
 EndSection

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki