- Post-install script
- Ready to use ISO
- Manual respin procedure
- Switching from one graphic card to the other
- Troubleshooting
Collection of scripts and tweaks to make Ubuntu 18.04 run smooth on Dell XPS 15 9570. I suggest everyone to use the post install method, the respun ISO is no longer neeeded for booting Ubuntu on 9570 as the stock one contains the needed fixes.
All informations, tips and tricks was gathered from:
Kudos and all the credits for things not related to my work go to developers and users on those pages!
- ✅ Atheros Wifi
- ✅ Audio
- ✅ Audio on HDMI
- ✅ HDMI ( even on lid closed )
- ✅ Nvidia/Intel graphic cards switch
- ✅ Keyboard backlight
- ✅ Display brightness
- ✅ Sleep/wake on Intel
- ➖ Sleep/wake on nVidia
- ❌ Goodix Fingerprint sensor
If you already have a standard Ubuntu install, you can try applying basic tweaks with the xps-tweaks.sh
script.
You can run it directly without cloning the repository with the following command (requires curl
):
bash -c "$(curl -fsSL https://raw.githubusercontent.com/JackHack96/dell-xps-9570-ubuntu-respin/master/xps-tweaks.sh)"
You can download an already respun ISO here.
- Clone the repo and install necessary tools
- Download your Ubuntu 18.04 ISO
- Respin the ISO (it many take a about 30 minutes or even longer)
- Install OS and run post-install commands
To respin an existing Ubuntu ISO, you will need to use a Linux machine with some packages like squashfs-tools
and xorriso
installed (e.g. sudo apt install -y squashfs-tools xorriso
) and a working internet connection. Script require at least 10GB of free storage space.
The first step is to clone this repo:
git clone https://github.com/jackhack96/dell-xps-9570-ubuntu-respin.git
cd dell-xps-9570-ubuntu-respin/
Install all the required packages:
sudo apt install -y git wget genisoimage bc squashfs-tools xorriso
Install all the required packages:
sudo pacman -S git wget cdrkit bc libisoburn squashfs-tools dosfstools
Download Ubuntu 18.04 ISO and copy it in this repository cloned folder.
Run ./build.sh
script like this:
./build.sh -i <iso filename>
There are also two flags you can set for enabling other options:
- The
v
flag will autoinstall video codecs if set totrue
- The
s
flag will disable SPECTRE/Meltdown patches for additional performance if set tofalse
Run ./build.sh -h
for help.
I suggest Etcher to write ISO on usb flash drives. It's fast, reliable and multi-platform.
Boot system using one time boot menu. Disable Secure boot in bios to boot from the ISO.
If you want touchpad gestures, check https://github.com/bulletmark/libinput-gestures.
Intel:
sudo prime-select intel
Nvidia:
sudo prime-select nvidia
Note: A full reboot could be required when switching graphic cards.
Check the wiki page about it.