I'm a workman user, and I've really grown to like the dead-key variant on osx.
The idea of using 'dead' keys is based on assumption that pressing 2 easy keys is better than pressing 1 hard key. So to make it easier to type (programming) characters/symbols, we're going to press an easily reachable key (which will NOT output any character), release it and then press another easily reachable key to produce, say, @ character.
In this layout the COMMA key is a dead key, pressing it will cause keyboard enter a state in which a single stroke of other keys will output a different character than normal state. After that single stroke, the keyboard returns to its normal state.
For example, you'd press COMMA to enter the special state. Now if you strike the A key the output will be a forward slash "/". To see how to create other characters, refer to following images for more info.
To produce the COMMA character itself, just hit SPACE after entering 'dead' state.
I'd like to achieve this functionality on Lubuntu (19.04) too, but I don't even know where to start... or if something like this is even possible. Could you please give me some pointers?
From the site you provided
https://github.com/workman-layout/Workman/blob/master/linux_console/workman.iso15.kmap
This gets fed into
xmodmap
(http://manpages.ubuntu.com/manpages/disco/man1/xmodmap.1.html)
(Pointers only, For LXQt Lubuntu you maybe able to use the Keyboard and Mouse settings (Keyboard Layout) found through menu search using "keyb")
For more information :
Problems with xmodmap How do I set Xmodmap on login?
You can do this potentially by changing the workman keymap in the following ways:
Change:
to
Next, (for A to act as slash), add / as the action number 8 (example attached):
Test and you can add and modify the keyboard output to your desired layout.
The easiest way for Lubuntu would be: LXDE ubuntu 17.04 - The use of dead keys to type accents does not seem to work, to ensure that you have ibus; assuming the proper setup below.
Pointers of where to start:
The readme for Workman in the tree/master/xmodmap directory says:
The website "Shinobu's Secrets" webpage "Xorg: Switching Keyboard Layouts Consistenly and Reliably from Userspace" offers a complete set of scripts to switch your keyboard layout on the fly (without restarting X), that allows you to test your changes easily.
Another of the webpages "Xorg: Using the US International (altgr-intl variant) Keyboard Layout" explains how to set everything up using a US 104-key keyboard with the altgr-intl variant. That makes your right Alt key into your dead key.
On Romano Giannetti's blog his webpage "How to modify a keyboard layout in Linux" details instructions for Xubuntu in a country where laptops are not sold with US layout keyboards.
Finally, our question: How to have programmer-friendly Dvorak with deadkeys in Ubuntu? explains dead keys for a Dvorak layout, but is nowhere near as helpful as the above links.
Combining the instructions above to modify the xmodmap.workman script and related files should put you well on your way towards getting everything working.
Each of the above links are Waybacked here, so the links won't rot:
Xorg: Switching Keyboard Layouts Consistenly and Reliably from Userspace
Xorg: Using the US International (altgr-intl variant) Keyboard Layout
How to modify a keyboard layout in Linux