Last active
December 21, 2015 07:12
-
-
Save mattbell87/5174570e0d34c0ccba68 to your computer and use it in GitHub Desktop.
Start a GUI app on the primary display
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 | |
export DISPLAY=:0 | |
APP=$1 | |
shift | |
echo Starting $APP "$@" | |
nohup $APP "$@" >&/dev/null & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment