Created
May 17, 2022 16:17
-
-
Save KorigamiK/9f1f00bd8a38c5e16a803f5f214ab437 to your computer and use it in GitHub Desktop.
set natural scrolling for mouse linux
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
#!/usr/bin/bash | |
# -*- coding: utf-8 -*- | |
device_name="PixArt Dell MS116 USB Optical Mouse" | |
device_id=$(xinput list --id-only "$device_name") | |
xinput set-prop $device_id "libinput Natural Scrolling Enabled" 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment