Skip to content

Instantly share code, notes, and snippets.

@GitSquared
Created April 28, 2019 09:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GitSquared/036678f0281a38ddd13e5df70cd0276b to your computer and use it in GitHub Desktop.
Save GitSquared/036678f0281a38ddd13e5df70cd0276b to your computer and use it in GitHub Desktop.
Bash script to make a Debian-based "eDEX system"
#!/bin/bash
#
# This script was designed for a blank Debian install
# Only dependencies are X.org (not automatically starting at boot),
# pulseaudio for sound support, ssh, plus any dependency required by
# AppImage - you can see them by trying to launch the AppImage manually
# before installing this auto-start script.
#
# Place "eDEX-UI.Linux.x86_64.AppImage" in the user folder
# $ chmod +x ~/launch.sh
# $ echo ~/launch.sh >> ~/.bashrc
count=$(ps aux | grep AppImage | wc -l)
if [ "$count" = "1" ]
then
eval `ssh-agent` && ssh-add
pulseaudio -D
startx ~/eDEX-UI.Linux.x86_64.AppImage
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment