Skip to content

Instantly share code, notes, and snippets.

@MauroFoti
MauroFoti / __surface_scripts.md
Last active January 19, 2020 11:25
A collection of useful script to properly use your Surface tablet as a linux machine

Find below a collection of useful script to properly use your Surface tablet as a linux machine. Read my full guide [here]

Scripts

  • pen_support.sh Just run this script after you click at least once with your pen and it will enable right click. I still need to find a way to do it regardless of the pen being used
  • gtk_touchscreen_fix.py You can run it (as sudo) as you like, but for optimal convenience, put it in /usr/bin/gtk_touchscreen_fix.py and use the service file below. Remember to change the device name of your touchscreen.
  • gtk_touchscreen_fix.service Put this in /etc/systemd/system and you can start it and stop as a normal service. Remember here to change $user with your username. Warning! The service