How to create this keyboard layout for Xfce :
Works also on Mate!!!!
It is a lightly modified version of the dvorak programmers layout.
I changed the lower left row. So you can easily undo, cut, copy & paste with your left hand and keep the other hand on your mouse.
Step 1.
Edit file: /usr/share/X11/xkb/symbols/us
Insert this snippit:
// programmer Dvorak wim's style, by Wim Stockman <wim.stockman at gmail dot com> // Main features: Numbers are in shift position (like French), symbols have been // switch position of z x c v to the bottom left for easy shortcut handling partial alphanumeric_keys xkb_symbols "dvp-wim" { include "us(dvorak)" name[Group1] = "English (programmer Dvorak Wims style ZXCV)"; // Unmodified Shift AltGr Shift+AltGr // symbols row, left side key <TLDE> { [ dollar, asciitilde, dead_tilde ] }; key <AE01> { [ ampersand, percent ] }; key <AE02> { [ bracketleft, 7, currency ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; key <AE03> { [ braceleft, 5, cent ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; key <AE04> { [ braceright, 3, yen ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; key <AE05> { [ parenleft, 1, EuroSign ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; key <AE06> { [ equal, 9, sterling ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; // symbols row, right side key <AE07> { [ asterisk, 0 ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; key <AE08> { [ parenright, 2, onehalf ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; key <AE09> { [ plus, 4 ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; key <AE10> { [ bracketright, 6 ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; key <AE11> { [ exclam, 8, exclamdown, U2E18 ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; // reversed interrobang key <AE12> { [ numbersign, grave, dead_grave ] }; key <BKSP> { [ BackSpace, BackSpace ] }; // upper row, left side key <AD01> { [ semicolon, colon, dead_diaeresis ] }; key <AD02> { [ comma, less, guillemotleft, U201C ] }; key <AD03> { [ period, greater, guillemotright, U201D ] }; key <AD04> { [ p, P, paragraph, section ] }; key <AD05> { [ y, Y, udiaeresis, Udiaeresis ] }; // upper row, right side key <AD08> { [ k, K ] }; key <AD09> { [ r, R, registered, trademark ] }; key <AD11> { [ slash, question, questiondown, U203D ] }; // interrobang key <AD12> { [ at, asciicircum, dead_circumflex, dead_caron ] }; // home row, left side key <AC01> { [ a, A, aring, Aring ] }; key <AC02> { [ o, O, oslash, Ooblique ] }; key <AC03> { [ e, E, ae, AE ] }; key <AC04> { [ u, U, eacute, Eacute ] }; // home row, right side key <AC06> { [ d, D, eth, ETH ] }; key <AC07> { [ h, H, dead_acute ] }; key <AC08> { [ t, T, thorn, THORN ] }; key <AC09> { [ n, N, ntilde, Ntilde ] }; key <AC10> { [ s, S, ssharp ] }; key <AC11> { [ minus, underscore, hyphen, endash ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; key <BKSL> { [ backslash, bar ] }; // lower row, left side key <AB01> { [ z, Z ] }; key <AB02> { [ x, X ] }; key <AB03> { [ c, C, ccedilla, Ccedilla ] }; key <AB04> { [ v, V ] }; key <AB05> { [ j, J ] }; key <AB09> { [ q, Q ] }; key <AB10> { [ apostrophe, quotedbl, dead_acute ] }; // do NOT hardcode this switch; use lv3:ralt_switch option instead! //include "level3(ralt_switch)" };Save it
Step 2:
Edit file: usr/share/X11/xkb/rules/base.xml
Edit file: usr/share/X11/xkb/rules/evdev.xml
Add: (best way to add is by copy and past the programmer dvorak line and change name and description)
<variant> <configitem> <name>dvp-wim</name> <description>English (programmer Dvorak Wims style ZXCV)</description> </configitem> </variant> <variant> </variant>
Reacties
Een reactie posten