Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Somewhat better config for "mousekeys," in my opinion
EDIT: no longer works/works erratically, I have no idea how it works.
I find it a bit cumbersome to have to change the default button and then click "every time," and at the same time, I barely ever use the diagonals, so I thought it could be a good idea to have keypad keys 7, 5, and 9 set to the mouse buttons 2, 1, and 3 respectively (middle, left, and right, respectively). It partly deviates from the positioning on the mouse itself, but it feels more natural to have "5" as the left click.
That's done by changing the "mousekeys" file to have the following entries like this (there are other entries between them on the actual file, skipped here):
I have actually edited the system file at nano /usr/share/X11/xkb/compat/mousekeys, I don't know how to have a file at the home folder for that. In order to reload the thing, you'd issue at the terminal: setxkbmap -option -- with no option whatsoever, at least given that you already had issued setxkbmap -option keypad:pointerkeys or maybe set it via xorg.conf or something else.
I find it a bit cumbersome to have to change the default button and then click "every time," and at the same time, I barely ever use the diagonals, so I thought it could be a good idea to have keypad keys 7, 5, and 9 set to the mouse buttons 2, 1, and 3 respectively (middle, left, and right, respectively). It partly deviates from the positioning on the mouse itself, but it feels more natural to have "5" as the left click.
That's done by changing the "mousekeys" file to have the following entries like this (there are other entries between them on the actual file, skipped here):
Code:
interpret KP_7 { action = PointerButton(button=2); }; interpret KP_9 { action = PointerButton(button=3); }; interpret KP_5 { action = PointerButton(button=1); };
Total Comments 0