Creating a script with a desktop shortcut - Raspberry Pi Forums
hi,
created simple sh script runs xbmc , reboots pi.
content of script:
then, did chmod 777 , created desktop icon using:
pi@raspberrypi ~/desktop $ ln -s ~/run_xbmc.sh
issue when start xbmc desktop icon, opens message box following message:
text file 'run_xbmc.sh' seems executable script.
want it?
if choose execute work ok.
don't want messagebox appear.
how can tell lxde / rasbian file executable , want run it, without showing message?
thanks!
created simple sh script runs xbmc , reboots pi.
content of script:
code: select all
pi@raspberrypi ~ $ more run_xbmc.sh #! /bin/bash sudo /usr/lib/xbmc/xbmc.bin sudo reboot pi@raspberrypi ~/desktop $ ln -s ~/run_xbmc.sh
issue when start xbmc desktop icon, opens message box following message:
text file 'run_xbmc.sh' seems executable script.
want it?
if choose execute work ok.
don't want messagebox appear.
how can tell lxde / rasbian file executable , want run it, without showing message?
thanks!
i'm not sure, easy removing "space" between "shebang" (#!) , interpreter (/bin/bash).
raspberrypi
Comments
Post a Comment