How to Install Kubuntu on a Dell XPS 15
Table of Contents
I recently purchased a Dell XPS 15 9560 with a 4K screen for use at home. My decision was between the Dell and a System76 Galago Pro. I knew I wanted to install Linux on it, and the System76 was very tempting as it ships pre-installed with Ubuntu, but I decided to brave the installation and configuration with the Dell due to the larger screen with better color accuracy.
I ordered the Dell with the following specs:
- Intel Core i7-7700HQ CPU
- 16 GB RAM
- 1 TB PCIe SSD
- Qualcomm Atheros QCA6174 wireless card (The product page says it should have shipped with a Killer 1535, but I'm not complaining.)
- Nvidia GeForce GTX 1050 (I'm not using this at the moment, but there was no option to order without it.)
- 15 inch 4K touch screen
I removed Windows and installed Kubuntu 16.04 using the steps below. Note that when you boot into Kubuntu from USB, everything will look tiny until you adjust the scaling and fonts.
- Boot into Windows, complete the initial setup, and apply all Windows updates.
- Save the color profiles from
C:\Windows\System32\spool\drivers\colorto external storage.
- Create a Kubuntu installation USB drive, insert it into the laptop, and reboot.
- During the reboot, hold F2 to enter the UEFI settings .
- Change the boot sequence so that the USB drive is the first priority.
- Change the SATA operation from RAID to AHCI.
- Disable Secure Boot.
- Change Fastboot to "Thorough" in the POST Behavior section.
- Save and exit UEFI settings.
- At the GRUB screen, press "e" to edit the Linux line .
- Add "nouveau.modeset=0".
- After Kubuntu boots, verify all of your hardware is working properly.
- Install Kubuntu using the guided process.
- Change the display scaling to 2 in Settings -> Display and Monitor -> Scale Display.
- Set the font DPI to 192 in Settings -> Fonts -> Force fonts DPI.
- Set the cursor size to 48 in Settings -> Workspace Theme -> Cursor Theme to fix an issue where the cursor is tiny when hovering over window borders .
- Configure your wireless network.
- Apply all available updates.
GRUB_CMDLINE_LINUX_DEFAULTto prevent hanging on reboot and shutdown .
GRUB_CMDLINE_LINUX_DEFAULTto prevent the system from periodically freezing and sporadic touchpad problems .
- Run the
- Install Bumblebee for power savings :
sudo apt-get install --no-install-recommends bumblebee.
- Configure Darktable for the high DPI screen :
I initially tried the full installation of Bumblebee which should have worked with both the integrated Intel graphics and the Nvidia card. However, after installing and rebooting, the laptop would only boot into a text-only console. I uninstalled Bumblebee and then reinstalled using the instructions above to turn off the Nvidia card.
When starting up, the initial KDE login screen does not use scaling for the high DPI screen, so everything looks tiny. I'm guessing there's a way to configure this, but I haven't found it yet.
On rare occasions, the touchpad stops working. I've tried disabling and enabling it using the
synclient TouchpadOff=0commands, but it doesn't help. A restart fixes it.
 Arch Linux UEFI Info for the Dell XPS 15
 Ubuntu Bug Report Related to GRUB Changes
 Reddit Thread for Mouse Cursor Size
 Ask Ubuntu Thread Related to Hangs on Shutdown and Reboot
 Ubuntu Wiki Page for Bumblebee
 Reddit Thread for Darktable on High DPI Screens