XPS 13 Setup
Install 16.04 (64-bit)
- Download desktop iso and create bootable usb stick, using pre-installed program Startup Disk Creator.
- Reboot into BIOS and disable Secure boot
- Install Ubuntu from stick
- Enable Secure Boot again
Upgrade to latest kernel (4.4.13)s
sudo apt update && sudo apt dist-upgrade
cd /tmp
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.13-xenial/linux-headers-4.4.13-040413_4.4.13-040413.201606072354_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.13-xenial/linux-headers-4.4.13-040413-generic_4.4.13-040413.201606072354_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.13-xenial/linux-image-4.4.13-040413-generic_4.4.13-040413.201606072354_amd64.deb
sudo dpkg -i linux-headers-4.4*.deb linux-image-4.4*.deb
Install libinput
sudo apt-get install xserver-xorg-input-libinput
Edit the following file
sudo vi /usr/share/X11/xorg.conf.d/90-libinput.conf
and set the following options in the appropriate section
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "Tapping" "True"
EndSection
Logout and login again
Touch gestures
Short summary from this github repo:
sudo apt install libinput-tools xdotool
sudo gpasswd -a $USER input # Then log out and back in to assign this group
After login, check if you can see your gestures appearing here:
libinput-debug-events
Clone repo and install:
git clone http://github.com/bulletmark/libinput-gestures
cd libinput-gestures
make install # Do this as your normal user, NOT as sudo/root.
Configure gestures in ~/.config/libinput-gestures.conf
.
Could then look like this:
gesture: swipe up 3 xdotool key ctrl+super+Up
gesture: swipe down 3 xdotool key ctrl+super+Down
gesture: swipe right 3 xdotool key alt+Right
gesture: swipe left 3 xdotool key alt+Left
gesture: swipe up 4 xdotool key shift+super+w
gesture: swipe down 4 xdotool key super+s
gesture: swipe left 4 xdotool key ctrl+alt+Left
gesture: swipe right 4 xdotool key ctrl+alt+Right
Test it by running
./libinput-gestures # will autostart on startup
Other issues
Slow shutdown due to cups-browsed service
see here
sudo systemctl disable cups-browsed.service
Chrome flickering
see here
sudo apt-get purge xserver-xorg-video-intel