0

Currently on Xubuntu and I want to use Awesome WM, but Awesome is highly dependent on the Windows key, which my keyboard does not have. So I'm trying to remap the Win key to Right Alt with no success yet. I've been searching and reading Man Pages for a couple hours now with no luck. Ive tried using xmodmap, which I understand is now obsolete, and also setxkbmap. I've also attempted to alter evdev.lst with no success.

What is the correct way to do this?

1 Answer 1

0

Correctly all this is done with the help of xkbcomp. The name of the utility, like the man to it, gives little information about what it does. Allegedly translates text descriptions of the keyboard layout into a binary format. But in fact, it also loads them. Reading https://lampjs.wordpress.com/2015/06/26/remapchange-your-secondaryusb-keyboard-keys/ https://geekhack.org/index.php?topic=53137.0

more https://lists.freedesktop.org/archives/xorg/2014-April/056564.html https://lists.freedesktop.org/archives/xorg/2014-April/056565.html

4
  • Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
    – J. Starnes
    Dec 31, 2017 at 6:10
  • Ok.I.tried.the.method.described.in.the.second.link.and.it.didn't.work.but.it.seems.to.have.disabled.my.spacebar...The.spacebar.still.selects.text.and.opens.the.window.menu,.but.as.you.can.see.it.does.not.make.spaces. Dec 31, 2017 at 16:53
  • OK. Describe what you did and attach the modified files. It is necessary to see what led to this result
    – Alex_Krug
    Jan 1, 2018 at 5:13
  • try return original mylayout.xkb, which you had to backup. more askubuntu.com/questions/956243/…
    – Alex_Krug
    Jan 1, 2018 at 6:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .