Oh wow, thank you! Did you do that by hand, or did you use a script? I was planning to write something short in Haskell to parse the MSKLC file and turn it into a .mim, but if you’ve written something already, maybe I could use that instead.Richard W wrote: ↑Wed Nov 27, 2019 4:33 pm I got a bit nervous of pushing my advice beyond what I had actually done, so I went ahead and did the translation as proof of principle. It's currently available at http://wrdingham.co.uk/sounds/Conkey.mim . I'll probably take it down when the official conversion becomes available. Testing has been sketchy, and it contains typos. There are no deliberate errors.
That will certainly be useful, especially since I didn’t even know that .mim files supported hexadecimal.I learnt two things during the process - hex numbers must start '0x'. not '0X' - and that if there are syntax errors, the keyboard file will be interpreted up to the point at which it deviated from the syntax.
I don’t think I’ll worry about caps lock (although I’ll do it if anyone complains). Anyway, I thought that caps lock was implemented automatically? And I definitely wouldn’t worry about the dead keys — it really doesn’t make any difference whether the key is shown before it gets combined.I haven't addressed 'caps lock' - there might be a lot of work to do there. Also, as I said earlier, the dead keys aren't dead. I believe one can use states to implement them if one really wants dead key behaviour. After all, the M17n formalism seems to be designed to support, inter alia, the implementation of a Japanese IME.
The VM I’ve been using is the latest Ubuntu version, 18.something. (Too lazy to check right now.) Any idea how that affects me?AltGr worked for me - but then I patched fcitix to stop it deliberately ignoring it. I use it on Ubuntu 16.04. For later releases, one would, it seems, be back to IBus. At least package ibus-m17n has been reinstated.
I’m confused now — I just restarted ibus to get my new layout loaded. What is fcitix, and what does it do in terms of keyboard layouts?As English is a known language, it was fairly straightforward to add the keyboard. I clicked 'configure' on the fcitix control button, and then the button labelled '+' to add the keyboard. There is another button to control whether it be added for 'other' languages. In general, there's the subtlety that keyboards are ordered by language code, so unknown codes are in alphabetical order but displayed as 'unknown'. M17n keyboards are further identified by (M17N) being added after the name form the keyboard file.
I’ll try doing this then. (Not entirely sure whether it’ll help for an ibus/m17n keyboard, but it’s worth a try.)Richard W wrote: ↑Wed Nov 27, 2019 12:34 pmI think that is the reason forin my .profile.Code: Select all
xmodmap -e 'keysym Mode_switch = Mode_switch Alt_R'
(Or maybe this site? I’ll keep on looking up solutions to see if I can find anything…)