2

On Lubuntu 18.04, I found the following commands will cancel each other

$ setxkbmap -option keypad:pointerkeys

$ xmodmap ~/.Xmodmap 

I would like to be able to fully control my cursor using keyboard, with the first command.

I would like to remap left alt key to the super key, with the second command.

I wonder why they cancel each other? Can I get them both work? Thanks.

muru
  • 193,181
  • 53
  • 473
  • 722
Tim
  • 24,657
  • 62
  • 151
  • 245
  • `xmodmap` is ancient and deprecated; it will not function at all on modern Wayland desktops. best to stop using it entirely. – quixotic Jun 26 '18 at 10:11
  • what do you use instead on Wayland desktops? Is LXDE based on Wayland or Xwindows? – Tim Jun 26 '18 at 17:09
  • XKB is the system Wayland uses. but system XKB only, last i checked `setxkbmap` and `xkbcomp` only funciton in X. see https://unix.stackexchange.com/a/355428/222377 ... i haven't looked at LXDE in years, no idea what if they've moved to Wayland. – quixotic Jun 26 '18 at 19:32

0 Answers0