Skip to content

Instantly share code, notes, and snippets.

@EiNSTeiN-
Last active April 20, 2017 02:08
Show Gist options
  • Save EiNSTeiN-/39ec9766a4b5318195ce7fa8087998d0 to your computer and use it in GitHub Desktop.
Save EiNSTeiN-/39ec9766a4b5318195ce7fa8087998d0 to your computer and use it in GitHub Desktop.
My notes to get decent hardware support with Ubuntu 16.04 for my Surface Book

Get a functional kernel

PPA: https://launchpad.net/~tigerite/+archive/ubuntu/kernel

sudo apt-add-repository ppa:tigerite/kernel

Fix up the weird lock screen bug in cinnamon-screensaver

Patch: https://github.com/linuxmint/cinnamon-screensaver/commit/6ac60f406930ee0e760da10c9b05118d1fd23603.diff Instructions: linuxmint/cinnamon-screensaver#55 (comment)

Install a decent multitouch trackpad driver

https://gist.github.com/EiNSTeiN-/c443ee32cf71d65065599288e7bec2af

Fix video scaling bug:

Xenial's version of xserver-xorg-video-intel is a bit too old (+git20160325), but installing Yakkety's package fixes the bug: Yakkety's package: https://launchpad.net/ubuntu/+source/xserver-xorg-video-intel/2:2.99.917+git20160522-1ubuntu1/+build/9798512 Bug tracker: https://bugs.freedesktop.org/show_bug.cgi?id=93461

Install Qt 5.6 to get auto scaling for HiDPI screen

Reference: https://wiki.archlinux.org/index.php/HiDPI#Qt_5 PPA: https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-011

sudo apt-add-repository ppa:ci-train-ppa-service/landing-011

gtk2 does not support hidpi screens, so various tools need to be ported to gtk3

  • Deluge: sudo apt-add-repository ppa:einstein-b/deluge-gtk3
  • Terminator: sudo apt-add-repository ppa:einstein-b/terminator-gtk3

Fix Grub and TTY text scaling

Reference: http://hgdev.co/optimize-ubuntu-interface-scaling-on-hidpi-displays/

  • Edit /etc/default/grub to add GRUB_GFXMODE=1024x768 and then sudo update-grub
  • Run sudo dpkg-reconfigure console-setup, Select UTF-8 > Combined – Latin > any font > Select 16×32 size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment