I have a Raspberry Pi and I picked up a tft touch screen from adafruit to play around with. In order to get it working I've had to run a few lines from from rc.local including startx which for some reason has logged me in as root@raspberrypi once the OS on the touchscreen starts working.
Once the OS is running on the touch screen, I need to run two programs, matchbox-keyboard and pianobar both of which run just fine by typing in "matchbox-keyboard", and "pianobar" from the LXTerminal.
However, if I try to add "matchbox-keyboard" or "pianobar" to rc.local under either the root rc.local or pi rc.local the programs will not run.
I tried to get around this by adding a file, keyboard.sh which I have given permissions to (chmod u+rwx keyboard.sh) to my desktop which has the lines:
#!bash
matchbox-keyboard
pianobar
The file is there, and when clicked asks me to either execute, or execute in terminal, both of which do not work.
I'm stumped. Anyone have any Ideas?
/path/to/pianobar, or update your PATH variable to include the correct path? Also running them in the background as mentioned below may help. Good luck.