1

In Windows I use sharpkeys to remap keys. On Mac I use Karabiner Elements to remap keys.

Is there a preferably built in way to remap keys based on scan code?

The advantage of this is that VirtualBox, and remote applications like TeamViewer work correctly.

Xmodmap does not work to my knowledge do to a bug in Ubuntu(I am going to call it this) https://askubuntu.com/questions/458245/unable-to-get-xmodmap-working-after-suspend

EDIT: I type in Dvorak on JIS(Japanese Keyboard). Only mentioning the Japanese keyboard because it changes a couple keys not pure Dvorak.

  • 1
    Use xmodmap. – Ipor Sircer Oct 18 '18 at 12:36
  • 1
    I'm pretty sure ubuntu contains xmodmap. It's in package x11-xserver-utils. – Ipor Sircer Oct 18 '18 at 12:42
  • @IporSircer yes there is a bug askubuntu.com/questions/458245/… – William Oct 18 '18 at 12:42
  • As someone who uses multiple layouts on a day-to-day basis, I regret to say I'm unaware of anything that comes even close to Karabiner in terms of usability and features. However, you can make xmodmap work in your particular case if you define custom shortcuts for layout switching that would re-apply xmodmap every time you switch your layout. – undercat Oct 18 '18 at 12:45
  • Could you describe in your question what remappings you would like to make? It may be possible to remap your keyboard via hwdb in which case the layout problem will be rendered moot. – undercat Oct 18 '18 at 12:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.