sezanzeb / input-remapper

🎮 ⌨ An easy to use tool to change the behaviour of your input devices.
GNU General Public License v3.0
3.74k stars 155 forks source link

German umlaut keys (ü, ä ...) and Eszett key (ß) #874

Open Cash-coder opened 5 months ago

Cash-coder commented 5 months ago

When I try to remap umlaut german keys I get: german ä": The output_symbol "ä" is not a macro and not a valid keycode-name"

I've tried with key_ä and symbol:ä, not working

logs

  1. input-remapper-control --version input-remapper 2.0.1 https://github.com/sezanzeb/input-remapper python-evdev 1.6.1

  2. which linux distro (ubuntu 20.04, manjaro, etc.) Fedora release 39 (Thirty Nine)

  3. echo $XDG_SESSION_TYPE wayland

  4. which desktop environment (gnome, plasma, xfce4, etc.) gnome + hyprland as window manager

  5. sudo ls -l /proc/1/exe lrwxrwxrwx. 1 root root 0 Apr 17 21:06 /proc/1/exe -> /usr/lib/systemd/systemd

  6. paste the affected preset .json file from ~/.config/input-remapper-2/presets

  7. sudo pkill -f input-remapper-service && input-remapper-gtk -d, apply the preset and hit your key. Then share that log. 21:26:22.208794 30240 GUI DEBUG message_broker.py:76: from controller.py:720: Signal=status_msg: StatusData(ctx_id=5, msg='"Select Word": Macro.add_hold_keys() got an unexpected keyword argument \'LeftShift_L\'', tooltip="Macro.add_hold_keys() got an unexpected keyword argument 'LeftShift_L'") 21:26:22.208978 30240 GUI DEBUG message_broker.py:76: from controller.py:720: Signal=status_msg: StatusData(ctx_id=5, msg='"Select Line": Unknown key "EndShift_L"', tooltip='Unknown key "EndShift_L"') 21:26:22.209307 30240 GUI DEBUG message_broker.py:76: from controller.py:720: Signal=status_msg: StatusData(ctx_id=5, msg='"german ä": The output_symbol "ä" is not a macro and not a valid keycode-name', tooltip='The output_symbol "ä" is not a macro and not a valid keycode-name') 21:26:22.209609 30240 GUI DEBUG message_broker.py:76: from data_manager.py:136: Signal=selected_event: InputConfig KEY_A

maddinpsy commented 3 months ago

I managed to get this setting the compose key in system settings to ALT_R. German Ä can be made with ALT_R + Shift_R + KEY_APOSTROPHE + A See this post for details: https://github.com/xremap/xremap/issues/120#issuecomment-1518699015

oleasteo commented 3 weeks ago

Using a compose key is no option for me, as I desire the comfort of the pure US-layout ALT_R key (e.g. for one-handed backward/forward history navigation in browsers).

Adding special character input key combinations seems like a standard use-case for a custom keyboard mapping o.O