I recently installed Fedora 42 with KDE Plasma, and I’m looking for an on-screen keyboard that allows me to click individual keys with my mouse.
In Windows, this feature is called “On-Screen Keyboard,” and in macOS, it can be accessed by clicking “Show Keyboard Viewer” under the keyboard icon in the taskbar.
My use case involves a child who needs to type French accented letters on a US keyboard, which does not have those characters. Clicking on the letters with a mouse is much easier than trying to train them to use AltGr deadkeys.
With that said, I am posting in brainstorming to propose an alternative solution to the above problem. In Mac OS, if you hold down a key long enough, a popup appears giving you the option of choosing non-ASCII alternatives:
We actually tried to implement this several years ago.
The problem was that the surrounding infrastructure wasn’t set up for it, so it didn’t really work properly. To do it right, we need infrastructural changes in how input methods can be chained together and one can delegate tasks to another one. Then this can be implemented as just another input method.
You can also use different∕multiple keyboard(s) layout ; some offers a lot of glyphs like Bépo (not only french but all european language using extended latin alphabet).
While not as annoying as having to remember unicode character codes, you still have to remember the glyphs to stick a different type of hat over a letter. Having the basics built in to a long press function would be ideal for the general public, à la MacOS while power users will obviously be more experienced with unicode IDs and AltGr key sequences.
This is interesting - on my phone, long press hits the ‘Shift’ layer - which is useful, but not so much on a keyboard.
With your example, I’m interested if you can change those options - as the fact is personally I never type those characters myself - but if I did, there is Compose (and you can add new options with .XCompose). I set my Compose key to RAlt, but as I now have RAlt as AltGr, I mapped it to my CapsLock… either way, it’s very easy now to hit compose: Let’s look a alternatives for ‘o’: RAlt/o ø RAlt~o õ RAltoe œ RAlt-o ō
Even typing that is a case in point, I press RAlt for compose, then < to ‘open’ a key, > to end, kn to go to the next ( </kbd><kbd>).
Auto-Repeat is mostly useful for navigation (especially vertical) deleting/backspacing… so it would be nice to have fine tuning to allow that for specified keys only… but now life is getting complicated; and we do have .XCompose.
Custom Keymaps are a great way to get around issues too - putting ° ‘degree’ as the third level character for my ‘o’ and/or put extra currencies - I have € on E, but then £ and ฿ is on 4 with $.
Anyway, in the absence of a long-press option, take a good look at ~/.XCompose and figure out how to best use Compose. To enable me to use CapsLock for XCompose, I set both my Shift keys to lock instead (single Shift unlocks) - much like a mechanical typewriter.
Sorry for the late reply; I was hesitant to install this. I expected it to be included in Fedora 44 or for there to be a stable release between your post and now. Since that isn’t the case, I followed the blog’s instructions and ran:
The diacritics feature isn’t in Fedora 44 because it will be part of Plasma 6.7, which is due to be released 2026-06-16. Fedora will likely have it as an update not long after that.
flatpak remove org.kde.plasma.keyboard
At the moment this isn’t possible. There has been some discussion about it and I have a couple things I’d like to try regarding it when I have some time, so we’ll see.
And it shipped with 6.7 and is on by default… this is the very first thing i disable when forced to use OSX. But cannot seem to find anywhere to disable this on KDE!
searching for “diacritics” in settings correctly singles out the keyboard option. But nothing in the keyboard section get’s highlighted!
How do I disable it? it makes KDE unusable for any developer! (or people using mouse keys for accessibility!)
Answering myself on how to disable (because i couldn’t work anyway )
ignore the search sending you to keyboard section, instead go to “On Screen Keyboard” (which never worked for me ) and disable “[ ] show popup when holding a key”
PS: this is a freaking awesome feature! but enabling by default without modifiers (just to copy osx) breaks too many use cases (can’t even move my cursor on vim!). Enabling this behind something like AltGr would be perfect!
It is not supposed to be enabled by default yet, we made the decision to keep it off by default while working to polish the experience (including finding the settings!). So far I know Fedora overrode that and enabled it by default.
Good news: I fixed it so that key repeat is available even when this is enabled, landing in Plasma 6.7.1