Last active
February 13, 2020 14:52
-
-
Save phackwer/5207d76b189794d68fe37401d046b742 to your computer and use it in GitHub Desktop.
Scroll on non-scrollwheel devices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Just install mouseemu by: | |
sudo apt-get install mouseemu | |
and edit "/etc/default/mouseemu" and add the line: | |
SCROLL="-scroll 56" | |
126 is the key scan code for the right super key. you can find other key codes by using showkey in the terminal. now restart mouseemu: | |
sudo /etc/init.d/mouseemu restart | |
In ubuntu the right win key is also bringing up a list of shortcuts. I have not figured out how to disable that properly, because I also use the right win key as the compose key, so the list is already disabled that way. | |
A weird side effect of mouseemu is it is messing with the caps/num/scroll lock lights on my keyboard and turning them off. But I kind of like that, once I learned why they weren’t working. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment