![]() Registered Member ![]()
|
I would like to switch my "BackSpace" with "backslash" (habits due to HHKB). I used to use a bash script which invokes xmodmap at startup, but this method is not very satisfying, because sometimes it does not work for unknown reason (about 30% of the time I have to manually execute the bash script) and it can easily be blocked by some other applications (for example, 1. fcitx by default will reset all keys to original keyboard layout, 2. after recovering from "suspend" or "sleep", the keys are also recovered to default).
So I am just wondering if there is a quick way to switch the two keys by some KDE utility? KDE keyboard setting handles the "ctrl/Caps_Lock" switch rather nicely, but I don't see options to switch other keys. Thanks! |
![]() Registered Member ![]()
|
Or is there any way to find out which program changed my keybindings? Sometimes even when I manually executed the xmodmap bash script, there was some unknown application that kept reverting my keymaps to default.
|
![]() Global Moderator ![]()
|
Perhaps related therefore I am posting in your thread without wanting to hijack...
Clementine does not accept pause/play, previous or next track media keys in KDE while it hasn't got these problems under a GTK environment like cinnamon.
Debian testing
|
![]() Manager ![]()
|
I think that's a Clementine bug http://code.google.com/p/clementine-pla ... il?id=2908 |
![]() Administrator ![]()
|
For the OP's issue - have you tried an alternative keyboard layout, or altering an existing one?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
I am sorry. How to alter a layout? In the keyboard settings, it seems that I can only select from a list of existing layouts. |
![]() Administrator ![]()
|
More information on customising / writing your own keyboard layout can be found here - https://help.ubuntu.com/community/Howto ... efinitions
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thanks! Looks quite complicated. I guess I will just stick to my current solution: assign a shortcut to executing the bash script. |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]