Last active
April 6, 2019 00:32
-
-
Save mertyildiran/53d3f0fd0966f822220dd9b65a09a69f to your computer and use it in GitHub Desktop.
Ubuntu 18.04 / KDE neon 5.14.3 mouse and screen tearing fix
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
#!/bin/bash | |
# chmod a+x startup-script.sh | |
# chmod 777 startup-script.sh | |
# sudo cp ./startup-script.sh /etc/init.d/ | |
# sudo ln -s /etc/init.d/startup-script.sh /etc/rc5.d/ | |
# --- Microsoft Classic Intellimouse --- | |
# Fix mouse sensitivity | |
xinput --set-prop 8 282 2.0 | |
# Fix mouse scroll speed | |
imwheel --kill --buttons "4 5" | |
# --- Nvidia GTX Series Graphics Card -- | |
# Fix screen tearing | |
nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }" | |
# --- Guake Terminal --- | |
# Run Guake on startup | |
guake & | |
# --- Guake Terminal --- | |
# Run Guake on startup | |
google-chrome & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment