Skip to content

Instantly share code, notes, and snippets.

@yaliv
Created August 27, 2019 03:57
Show Gist options
  • Save yaliv/56b3bbfdab79db9b3f5179e0124cd6d7 to your computer and use it in GitHub Desktop.
Save yaliv/56b3bbfdab79db9b3f5179e0124cd6d7 to your computer and use it in GitHub Desktop.
LightDM display setup script - Asus TUF Gaming FX505DU
#!/bin/sh
xrandr --setprovideroutputsource radeon NVIDIA-0
xrandr --auto
@yaliv
Copy link
Author

yaliv commented Aug 27, 2019

Don't forget to make the script executable:

chmod +x /etc/lightdm/display_setup.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment