Skip to content

Instantly share code, notes, and snippets.

@mertyildiran
Last active April 6, 2019 00:32
Show Gist options
  • Save mertyildiran/53d3f0fd0966f822220dd9b65a09a69f to your computer and use it in GitHub Desktop.
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
#!/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