![]() Registered Member ![]()
|
System settings > Input Devices > Advanced > Position of Compose Key lists a number of options. However on a laptop where spare keys are limited most of them aren't really good. On the other hand my laptop has a few keys which aren't useful for anything (such as XF86Calculator and etc.) and I'd like to assign one of them to Compose. Is it possible to set those values in $HOME/.kde/share/config/kxkbrc manually and what should be the syntax there?
For example currently on my desktop system it has such setting (when it's set to Menu key): Options=grp:rwin_toggle,compose:menu So can I set it somehow to XF86Calculator? |
![]() ![]()
|
You can use one of this options:
It may be possible to just map eg. the calculator to caps lock (or another of those keys) eg. via xmodmap or a custom xkb definition to "trick" the option. Never tried. |
![]() Registered Member ![]()
|
I see. Those same options are basically exposed from System Settings. |
![]() ![]()
|
Good news: you can cheat it =)
run "xev -event keyboard", ensure the xev window is focused and press the calculator key. There'll be a line like
now map the keycode ("148" in this case)
|
![]() Registered Member ![]()
|
Thanks, I'll give it a try.
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]