Hi there
I’m desperately trying to figure out how to use the compose key in Plasma.
What is the default compose key in KDE Plasma?
Hi there
I’m desperately trying to figure out how to use the compose key in Plasma.
What is the default compose key in KDE Plasma?
There is no default compose key, unless your physical keyboard has one.
You can re-bind one of your keyboard’s physical keys to be a compose key though. I use Caps Lock.
This is done in System Settings > Keyboard > Key Bindings (in the toolbar on top) > Position of the Compose key > choose a key to use as your Compose key.
See also Type Characters Not On Your Keyboard - KDE Community
It varies with layout, and your keyboard… I also bought a 75% keyboard, which compounded the issue by removing the right MENU key.
So there are MANY options for arranging your keyboard, starting with the layout.
Then in the options you can do many things:
I’m on number 2. now, and it works pretty well overall (and having it as an extra escape brings that function into reach when typing which is great).
Thanks @ngraham and @ben2talk but neither of your answers are working for me.
I’m running a MS Surface Pro 6 with a Danish keyboard layout. As suggested in the link @ngraham provides, I can rebind the keys to make CapsLock the compose key or as @ben2talk suggests make the AltGr the compose key.
But whatever I do, it doesn’t work. If I assing CapsLock to be the compose key, the only effect it has is on one single character: If I press CapsLock and then AltGr+~~ I get ≈
That’s the only effect of the compose key I have discovered so far.
If I press CapsLock, e, ´ I get e´ and if I press CapsLock, n, ~ I get n~
Not exactly what I’m after.
settings > input devices > keyboard > hardware tab
what does it say for the keyboard model?
does that match up with your physical equipment?
if so then moving to the Advanced tab you should be able to assign the compose key to one of your existing physical keys.
i have mine set to the right ctrl key since i have two of them on my 104 key device and i can still use the other one as the ctrl modifier.
the other thing to check is to see if you have the file ~/.XCompose in your home dir.
if so you should look in there to see what it shows.
Thanks @skyfishgoo , @ngraham and @ben2talk - after heavy experimentation I got it to work.
If I just set CapsLock to be the compose key, it didn’t work - or rather it worked as described above only for one character combination, namely AltGr + ~ + ~ giving ≈.
However, when I, in addition, swapped the ECS key and CapsLock something strange happened. The CapsLock didn’t start to behave as ESC. Insted the cursor changed when I pressed CapsLock and I could make the expected character combinations. Apparently, CapsLock had now become the compose key.
Even more strange: When I disabled the swap of ECS and CapsLock the functionality persisted. CapsLock still worked like the compose key. I have tested that this functionality persists after a restart. In addition, I have set up the simultaneous press of right and left SHIFT keys to do what CapsLock did previously.
So now everything works as I would like it to. Thanks again for your input ![]()
![]()