Created
April 28, 2019 09:28
-
-
Save GitSquared/036678f0281a38ddd13e5df70cd0276b to your computer and use it in GitHub Desktop.
Bash script to make a Debian-based "eDEX system"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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