I've been searching for this for hours, really hoping someone could help me out here.
We're using a raspberry pi for digital signage, and I just want to run pianobar (runs in a terminal) behind it for music. Doing that works easy enough, BUT I want to have the pianobar terminal minimized, so if the signage program crashes for any reason, the wallpaper (just the company logo) is showing behind it, making a nice, clean display in all situations.
I just want to run
xterm -e 'sleep 5 && pianobar -iconic' automatically when the desktop loads, and also keep the terminal open and minimized, but every method I've tried to run at startup fails. Could someone help point me in the right direction?
I've tried bashrc, rc.local (obviously didn't work how I wanted) and a few autorun scripts from lxterminal, and a .desktop autorun script and I couldn't get anything to work.