From d7ddb3f74f3bd82e22f6f8e923c13b699f804b86 Mon Sep 17 00:00:00 2001 From: Joel May Date: Thu, 10 Nov 2022 19:57:34 -0800 Subject: [PATCH] Updated Linux desktop instructions With Wayland dominating the desktop, the directory named xorg doesn't exactly seem fitting anymore. Updated the instructions for Gnome appearing to use rules lists to decide what layouts to show. Left in Xorg instructions, despite not testing to see if they are still current. --- linux_desktop/readme.md | 85 +++++++++++++++++++++++++++++++ {xorg => linux_desktop}/workman | 0 {xorg => linux_desktop}/workman-p | 0 xorg/readme.txt | 17 ------- 4 files changed, 85 insertions(+), 17 deletions(-) create mode 100644 linux_desktop/readme.md rename {xorg => linux_desktop}/workman (100%) rename {xorg => linux_desktop}/workman-p (100%) delete mode 100644 xorg/readme.txt diff --git a/linux_desktop/readme.md b/linux_desktop/readme.md new file mode 100644 index 0000000..d384643 --- /dev/null +++ b/linux_desktop/readme.md @@ -0,0 +1,85 @@ +# Preface +Many Linux distros bundle the Workman layout, so check your system settings before following these instructions. + +Some distros include the workman-p layout, but Gnome may hide it. Use `gnome-tweaks` to show extended input sources to +see if your disto includes it before trying to install it. + +# Install +Go to the directory where you have downloaded Workman: +```sh +sudo cp xorg/workman /usr/share/X11/xkb/symbols/ +sudo cp xorg/workman-p /usr/share/X11/xkb/symbols/ +``` + +## Gnome +To complete the installation on Gnome, add the new layout to the rules files. + +``` +# /usr/share/X11/xkb/rules/base.lst + + workman us: English (Workman) + workman-p us: English (Workman-P) +``` + +``` +# /usr/share/X11/xkb/rules/base.xml +# In the variantList for layout us. + + + + workman + English (Workman) + + + + + workman-p + English (Workman-P) + + +``` + +``` +# /usr/share/X11/xkb/rules/evdev.lst + + workman us: English (Workman) + workman-p us: English (Workman-P) +``` + +``` +# /usr/share/X11/xkb/rules/evdev.xml +# In the variantList for layout us. + + + + workman + English (Workman) + + + + + workman-p + English (Workman-P) + + +``` + +## Xorg +Type: `setxkbmap -v workman && xset r 66` + +You should get something similar to this: +``` +Warning! Multiple definitions of keyboard layout + Using command line, ignoring X server +Trying to build keymap using the following components: +keycodes: xfree86+aliases(qwerty) +types: complete +compat: complete +symbols: pc(pc105)+workman+level3(ralt_switch) +geometry: pc(pc105) +``` + +To switch back to QWERTY type: +``` +setxkbmap us; xset -r 66 +``` \ No newline at end of file diff --git a/xorg/workman b/linux_desktop/workman similarity index 100% rename from xorg/workman rename to linux_desktop/workman diff --git a/xorg/workman-p b/linux_desktop/workman-p similarity index 100% rename from xorg/workman-p rename to linux_desktop/workman-p diff --git a/xorg/readme.txt b/xorg/readme.txt deleted file mode 100644 index 4b7ff77..0000000 --- a/xorg/readme.txt +++ /dev/null @@ -1,17 +0,0 @@ -Go to the directory where you have downloaded workman: -sudo cp xorg/workman /etc/X11/xkb/symbols/workman -(for ubuntu 10.04) Type: sudo cp workman /usr/share/X11/xkb/symbols/workman - -Type: setxkbmap -v workman && xset r 66 - -You should get something similar to this: -Warning! Multiple definitions of keyboard layout - Using command line, ignoring X server -Trying to build keymap using the following components: -keycodes: xfree86+aliases(qwerty) -types: complete -compat: complete -symbols: pc(pc105)+workman+level3(ralt_switch) -geometry: pc(pc105) -To switch back to QWERTY type: -setxkbmap us; xset -r 66