SUMMARY Hello! I want to remap Alt + hjkl as arrow keys so I go to custom shortcuts > global shortcut > keyboard input to configure my setting. It work well but not so perfectly satisfying. When tap Alt+hjkl It does input arrow keys, but when I hold Alt+hjkl it only input arrow keys once and what I want is inputting arrow keys constantly When holding. Hope for a good solution. Thanks! STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
FWIW, it can be done more straightforwardly (no excessive daemons) with xkb overlays. However, be prepared that due to the way kxkb handles xkb rules, it would require modifying files in /usr/. (Feel free to ask, if the solution is not easily googlable.)
(In reply to Dmitry Alexandrov from comment #1) > FWIW, it can be done more straightforwardly (no excessive daemons) with xkb > overlays. However, be prepared that due to the way kxkb handles xkb rules, > it would require modifying files in /usr/. > > (Feel free to ask, if the solution is not easily googlable.) Hello! I searched the solution and according what I got I did this: 1. Change Right Alt to Mode_switch key, which is for changing group (In fact, I prefer Left Alt key, but it seems Left and Right Alt key are different. So I just do as the guide) 2. Add arrow keys to hjkl as a group After doing this, the Right Alt+hjkl almost works perfectly. But there's a small problem: the Right Alt is set to Mode_switch and cannot be used as alt key anymore. So I wonder if it is possible not to break its original function? Or is there any other way, such as use alt to change Level, to achieve that better? Thank you very much for your help!!
As announced in https://pointieststick.com/2023/07/26/what-we-plan-to-remove-in-plasma-6/ and https://community.kde.org/Plasma/Plasma_6#Removals, I'm afraid KHotKeys has reached end-of-life in Plasma 6. Accordingly, all bug reports and feature requests for it must be closed now. Most of what KHotKeys could do can already be done with the newer KGlobalAccel system in Plasma 6. A few features such as mouse gestures and triggering conditions based on changes to window states are not yet implemented in the new system. These will be added in the future if and when resources materialize for them, and/or when a kind soul submits patches to implement them! :) Meanwhile, the 3rd-party "Mouse Actions" app (https://github.com/jersou/mouse-actions) may be usable for implementing your own mouse gestures again. Thanks for your understanding, everyone.