|
| 1 | +# Preface |
| 2 | +Many Linux distros bundle the Workman layout, so check your system settings before following these instructions. |
| 3 | + |
| 4 | +Some distros include the workman-p layout, but Gnome may hide it. Use `gnome-tweaks` to show extended input sources to |
| 5 | +see if your disto includes it before trying to install it. |
| 6 | + |
| 7 | +# Install |
| 8 | +Go to the directory where you have downloaded Workman: |
| 9 | +```sh |
| 10 | +sudo cp xorg/workman /usr/share/X11/xkb/symbols/ |
| 11 | +sudo cp xorg/workman-p /usr/share/X11/xkb/symbols/ |
| 12 | +``` |
| 13 | + |
| 14 | +## Gnome |
| 15 | +To complete the installation on Gnome, add the new layout to the rules files. |
| 16 | + |
| 17 | +``` |
| 18 | +# /usr/share/X11/xkb/rules/base.lst |
| 19 | +
|
| 20 | + workman us: English (Workman) |
| 21 | + workman-p us: English (Workman-P) |
| 22 | +``` |
| 23 | + |
| 24 | +``` |
| 25 | +# /usr/share/X11/xkb/rules/base.xml |
| 26 | +# In the variantList for layout us. |
| 27 | +
|
| 28 | + <variant> |
| 29 | + <configItem> |
| 30 | + <name>workman</name> |
| 31 | + <description>English (Workman)</description> |
| 32 | + </configItem> |
| 33 | + </variant> |
| 34 | + <variant> |
| 35 | + <configItem> |
| 36 | + <name>workman-p</name> |
| 37 | + <description>English (Workman-P)</description> |
| 38 | + </configItem> |
| 39 | + </variant> |
| 40 | +``` |
| 41 | + |
| 42 | +``` |
| 43 | +# /usr/share/X11/xkb/rules/evdev.lst |
| 44 | +
|
| 45 | + workman us: English (Workman) |
| 46 | + workman-p us: English (Workman-P) |
| 47 | +``` |
| 48 | + |
| 49 | +``` |
| 50 | +# /usr/share/X11/xkb/rules/evdev.xml |
| 51 | +# In the variantList for layout us. |
| 52 | +
|
| 53 | + <variant> |
| 54 | + <configItem> |
| 55 | + <name>workman</name> |
| 56 | + <description>English (Workman)</description> |
| 57 | + </configItem> |
| 58 | + </variant> |
| 59 | + <variant> |
| 60 | + <configItem> |
| 61 | + <name>workman-p</name> |
| 62 | + <description>English (Workman-P)</description> |
| 63 | + </configItem> |
| 64 | + </variant> |
| 65 | +``` |
| 66 | + |
| 67 | +## Xorg |
| 68 | +Type: `setxkbmap -v workman && xset r 66` |
| 69 | + |
| 70 | +You should get something similar to this: |
| 71 | +``` |
| 72 | +Warning! Multiple definitions of keyboard layout |
| 73 | + Using command line, ignoring X server |
| 74 | +Trying to build keymap using the following components: |
| 75 | +keycodes: xfree86+aliases(qwerty) |
| 76 | +types: complete |
| 77 | +compat: complete |
| 78 | +symbols: pc(pc105)+workman+level3(ralt_switch) |
| 79 | +geometry: pc(pc105) |
| 80 | +``` |
| 81 | + |
| 82 | +To switch back to QWERTY type: |
| 83 | +``` |
| 84 | +setxkbmap us; xset -r 66 |
| 85 | +``` |
0 commit comments