Merge branch 'feature/KASM-2391-doom-startup' into 'develop'

KASM-2391 modify ready script for doom to watch for Thunar pid

Closes KASM-2391

See merge request kasm-technologies/internal/workspaces-images!66
This commit is contained in:
Justin Travis 2022-07-14 12:36:55 +00:00
commit 07ed1b0db7

View File

@ -4,4 +4,11 @@ apt-get update
apt-get install -y chocolate-doom doom-wad-shareware prboom-plus freedoom
mkdir -p $HOME/.local/share/chocolate-doom
echo 'force_software_renderer 1' > $HOME/.local/share/chocolate-doom/chocolate-doom.cfg
echo 'force_software_renderer 1' > $HOME/.local/share/chocolate-doom/chocolate-doom.cfg
# Startup tweak
cat >/usr/bin/desktop_ready <<EOL
#!/usr/bin/env bash
until pids=\$(pidof Thunar); do sleep .5; done
EOL
chmod +x /usr/bin/desktop_ready