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

This commit is contained in:
ryan.kuba 2022-07-13 09:41:55 -04:00
parent 97dab43f4c
commit 9a37c59e94

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