Install the Xorg dummy driver for your distribution:
# Debian/Ubuntu
sudo apt update && sudo apt install xserver-xorg-video-dummy
# Arch/Manjaro
sudo pacman -S xf86-video-dummy
# RHEL/Fedora
sudo dnf install xorg-x11-drv-dummyWorks for me on Linux Mint.
- Backup your current config (it will be replaced):
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.back- Overwrite xorg.conf with this Gist.
- Restart your display manager to apply the new config (or reboot):
sudo systemctl restart display-manager