start new:
tmux
start new with session name:
tmux new -s myname
El Capitan and Sierra are pretty agressive with putting the wifi interface in power saving modes. | |
Running the following code in Terminal has made running [Synergy](http://symless.com) over wifi useable for me. | |
ping -i 0.1 -s 0 $SYNERGY_SERVER_ADDRESS > /dev/null |
This document is to serve as a set of notes for myself and can be used as a guide for others looking to set up Ubuntu on their XPS 15. For me this was a dual-boot setup with Windows 10. On Linux I don't have a need for the discrete graphics card, so the main focus is to maximize battery life for development.
I had initially tried to dual boot with Fedora 25, but ran into a lot of issues trying to disable the discrete graphics card, resulting in poor battery life. Instead of starting over with Fedora again, I decided to try with Ubuntu, since there seemed to be a few more resources available.
My XPS Configuration is: i7, 16GB RAM, 512GB SSD, 4K Screen.
Setup
# Depending on your distro this goes in /etc/X11/xorg.conf.d/ or /usr/share/X11/xorg.conf.d | |
Section "InputClass" | |
Identifier "libinput touchpad catchall" | |
MatchIsTouchpad "on" | |
MatchDevicePath "/dev/input/event*" | |
Driver "libinput" | |
Option "Tapping" "True" | |
Option "PalmDetection" "True" | |
Option "TappingDragLock" "True" | |
EndSection |
#Depending on your distro this goes in /usr/share/X11/xorg.conf.d/ or /etc//usr/share/X11/xorg.conf.d/ | |
Section "Device" | |
Identifier "Intel Graphics" | |
Driver "intel" | |
Option "AccelMethod" "sna" | |
Option "TearFree" "true" | |
EndSection |
Tuning Intel Skylake and beyond for optimal performance and feature level support on Linux:
Note that on Skylake, Kabylake (and the now cancelled "Broxton") SKUs, functionality such as power saving, GPU scheduling and HDMI audio have been moved onto binary-only firmware, and as such, the GuC and the HuC blobs must be loaded at run-time to access this functionality.
Enabling GuC and HuC on Skylake and above requires a few extra parameters be passed to the kernel before boot.
Instructions provided for both Fedora and Ubuntu (including Debian):
Note that the firmware for these GPUs is often packaged by your distributor, and as such, you can confirm the firmware blob's availability by running: