sudo nano ~/.profile
if [ -n "$SSH_CONNECTION" ]; thenYou don't have to include the echo "Welcome to the Grid, User..." part, I just have a tron themed arcade, so I figured why not go all out?
echo "Welcome to the Grid, User..."
else
sudo xboxdrv --silent --config /home/pi/pimame/config/xboxdrv_mapping.cfg --dbus session &
sudo python /home/pi/pimame/pimame-web-frontend/app.py &
cd /home/pi/pimame/pimame-menu/
python launchmenu.py
fi
It looks like you're new here. If you want to get involved, click one of these buttons!