Created
March 29, 2016 15:15
-
-
Save sharkwouter/16f2d11cdabe0edd7053 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/post_install.sh | |
+++ b/post_install.sh | |
@@ -90,6 +90,28 @@ Name=postlogon | |
EOF | |
# | |
+# Make set_hd_mode.sh run at the first logon | |
+# | |
+cat - > /target/home/steam/.config/autostart/set_hd_mode.desktop << 'EOF' | |
+[Desktop Entry] | |
+Type=Application | |
+Exec=/usr/bin/steamos/set_hd_mode.sh | |
+X-GNOME-Autostart-enabled=true | |
+Name=sethdmode | |
+EOF | |
+ | |
+# | |
+# Make set_hd_mode.sh run when the desktop is launched | |
+# | |
+cat - > /target/home/desktop/.config/autostart/set_hd_mode.desktop << 'EOF' | |
+[Desktop Entry] | |
+Type=Application | |
+Exec=/usr/bin/steamos/set_hd_mode.sh | |
+X-GNOME-Autostart-enabled=true | |
+Name=sethdmode | |
+EOF | |
+ | |
+# | |
# Run aticonfig if an AMD card is present | |
# | |
if [ -n "$(lspci|grep VGA|grep -i 'AMD\|ATI')" ]; then |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment