From 086b01ac093dd235d26f63c40ac12c6316b5d69a Mon Sep 17 00:00:00 2001 From: CaptSilver Date: Mon, 21 Jan 2019 09:55:17 -0600 Subject: [PATCH 1/4] Update to default values Showing the change for change for the default value for ProtonFixes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f90ddc3..60ab2e1 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Here is the list of all the available installation options: | -------------------- | ------- | -------------------------------------------------------- | | `INCLUDE_OPENSSH` | true | Whether or not OpenSSH server should be installed | | `INCLUDE_SAKURA` | true | Whether or not to install a terminal emulator | -| `INCLUDE_PROTONFIX` | true | Whether or not to install Protonfix | +| `INCLUDE_PROTONFIX` | false | Whether or not to install Protonfix | | `INCLUDE_GPU_DRIVERS`| true | Whether or not to install the latest GPU drivers | | `GPU_TYPE` | auto | GPU drivers to install. Can be: auto, nvidia, amd, intel | | `NON_INTERACTIVE` | false | Whether or not to prompt the user during install | From f9ccef9b9a673c56d3fe07279b59888849299fc2 Mon Sep 17 00:00:00 2001 From: CaptSilver Date: Mon, 21 Jan 2019 17:07:43 -0600 Subject: [PATCH 2/4] Alienware WMI Control added from SteamOS --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.sh b/install.sh index 68676c9..3dcb073 100755 --- a/install.sh +++ b/install.sh @@ -16,6 +16,7 @@ export STEAM_USER STEAMOS_COMPOSITOR_VER="${STEAMOS_COMPOSITOR_VER:-1.35+bsos1_amd64}" STEAMOS_MODESWITCH_VER="${STEAMOS_MODESWITCH_VER:-1.10+bsos1_amd64}" STEAMOS_PLYMOUTH_VER="${STEAMOS_PLYMOUTH_VER:-0.17+bsos2_all}" +STEAMOS_ALIENWAREWMI_VER="${STEAMOS_ALIENWAREWMI_VER:-2.58}" # Ensure the script is being run as root if [ "$EUID" -ne 0 ]; then @@ -50,6 +51,7 @@ echo "Downloading SteamOS packages..." wget "http://repo.steamstatic.com/steamos/pool/main/s/steamos-compositor/steamos-compositor_${STEAMOS_COMPOSITOR_VER}.deb" wget "http://repo.steamstatic.com/steamos/pool/main/s/steamos-modeswitch-inhibitor/steamos-modeswitch-inhibitor_${STEAMOS_MODESWITCH_VER}.deb" wget "http://repo.steamstatic.com/steamos/pool/main/p/plymouth-themes-steamos/plymouth-themes-steamos_${STEAMOS_PLYMOUTH_VER}.deb" +wget "http://repo.steamstatic.com/steamos/pool/main/s/steamos-base-files/steamos-base-files_${STEAMOS_ALIENWAREWMI_VER}.tar.xz" set +e # See if there is a 'steam' user account. If not, create it. @@ -180,6 +182,10 @@ apt install -f -y update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/steamos/steamos.plymouth 100 update-alternatives --set default.plymouth /usr/share/plymouth/themes/steamos/steamos.plymouth +# Install Alienware WMI Control +tar xvf steamos-base-files_${STEAMOS_ALIENWAREWMI_VER}.tar.xz --strip-components=3 -C /usr/bin/ steamos-base-files-2.58/usr/bin/alienware_wmi_control.sh +chmod +x /usr/bin/alienware_wmi_control.sh + # Update the grub theme. echo 'GRUB_BACKGROUND=/usr/share/plymouth/themes/steamos/steamos_branded.png' | tee -a /etc/default/grub update-grub From f3ece936b22d41d342cc97b91b3c33b11c5148a1 Mon Sep 17 00:00:00 2001 From: CaptSilver Date: Mon, 21 Jan 2019 21:30:11 -0600 Subject: [PATCH 3/4] Commit for initial configuration of proton and steam through the GUI. --- install.sh | 13 ++++++++----- run_steam.sh | 11 +++++++++++ 2 files changed, 19 insertions(+), 5 deletions(-) create mode 100755 run_steam.sh diff --git a/install.sh b/install.sh index 3dcb073..026228d 100755 --- a/install.sh +++ b/install.sh @@ -127,10 +127,6 @@ echo "Installing steam..." apt update apt install steam steam-devices x11-utils -y -# WIP - find a way to enable Steamplay without using Desktop Steam Client. Also maybe find a way to enable Steam Beta with latest Steamplay -# Enable SteamPlay -#echo "Enable Steamplay..." - # Enable Protonfix for ease of use with certain games that needs tweaking. # https://github.com/simons-public/protonfixes # Installing Protonfix for ease of use @@ -194,7 +190,14 @@ update-grub echo "Configuring the default session..." cp ./conf/steam-session.conf "/var/lib/AccountsService/users/${STEAM_USER}" +# WIP - find a way to enable Steamplay without using Desktop Steam Client. Also maybe find a way to enable Steam Beta with latest Steamplay +# Enable SteamPlay +echo "Enable Steamplay..." +echo "Starting Steam to create initial configurations." +echo "Close steam to continue." +sudo STEAM_USER=${STEAM_USER} ./run_steam.sh + echo "" echo "Installation complete! Press ENTER to reboot or CTRL+C to exit" read -r -reboot +sudo reboot diff --git a/run_steam.sh b/run_steam.sh new file mode 100755 index 0000000..95b516c --- /dev/null +++ b/run_steam.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +# Set the defaults. These can be overridden by specifying the value as an +# environment variable when running this script. +STEAM_USER="${STEAM_USER:-steam}" + +# This is to run steam as steam_user to change configurations such as proton + +echo "Starting Steam as: ${STEAM_USER}" +sudo -i -u ${STEAM_USER} pkill steam +sudo -i -u ${STEAM_USER} /usr/games/steam From ec0cfcaca51784dd966ba56bfb106239104ba10b Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 7 Sep 2020 10:57:27 -0500 Subject: [PATCH 4/4] Updated NVIDIA driver version and fixed typo --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 026228d..2646790 100755 --- a/install.sh +++ b/install.sh @@ -91,7 +91,7 @@ if [[ "${INCLUDE_GPU_DRIVERS}" == "true" ]]; then echo "Installing the latest Nvidia drivers..." add-apt-repository ppa:graphics-drivers/ppa -y apt update - apt install nvidia-driver-415 -y + apt install nvidia-driver-440 -y ;; amd) echo "Installing the latest AMD drivers..." @@ -179,7 +179,7 @@ update-alternatives --install /usr/share/plymouth/themes/default.plymouth defaul update-alternatives --set default.plymouth /usr/share/plymouth/themes/steamos/steamos.plymouth # Install Alienware WMI Control -tar xvf steamos-base-files_${STEAMOS_ALIENWAREWMI_VER}.tar.xz --strip-components=3 -C /usr/bin/ steamos-base-files-2.58/usr/bin/alienware_wmi_control.sh +tar xvf steamos-base-files_${STEAMOS_ALIENWAREWMI_VER}.tar.xz --strip-components=3 -C /usr/bin/ steamos-base-files-${STEAMOS_ALIENWAREWMI_VER}/usr/bin/alienware_wmi_control.sh chmod +x /usr/bin/alienware_wmi_control.sh # Update the grub theme.