Skip to content

Commit

Permalink
Prevent screen timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-allen-ck committed Apr 29, 2024
1 parent 7c2db7f commit c9f0749
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ sudo gdebi --non-interactive /tmp/${APT_SKU}/rstudio-2023.12.1-402-amd64.deb
# Fix for blank screen on DSVM (/sh -> /bash due to conflict with profile.d scripts)
sudo sed -i 's|!/bin/sh|!/bin/bash|g' /etc/xrdp/startwm.sh

# Prevent screen timeout
sudo gsettings set org.gnome.desktop.screensaver lock-enabled false
sudo gsettings set org.gnome.desktop.session idle-delay 0

if [ "${SHARED_STORAGE_ACCESS}" -eq 1 ]; then
# Install required packages
sudo apt-get install autofs -y
Expand Down

0 comments on commit c9f0749

Please sign in to comment.