Oh, I see. So basically Ctrl+Alt+Shift+Numlock takes the place of xkbset -m The .xmodmap method wasn't working for me. Maybe it's because I'm using KDE :-/. But I put the following script inside the ~/.kde/Autostart folder to make it work.
#!/bin/sh xmodmap -e "keycode 116 = Pointer_Button2" xmodmap -e "keycode 108 = Pointer_Button3" #xkbset -m Originally the third line would be uncommented if xkbset worked, but I guess I can press Ctrl+Alt+Shift+Numlock to enable it every time. Thanks, AJ, this works better than mouseemu, there is a delay when I use the F12 and F11 buttons for the first time for right click and middle click. -- When setting mousekeys, xkbset reports "XKB not supported" https://bugs.launchpad.net/bugs/215496 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs