BASH
Posted: Tue Jan 31, 2017 5:40 pm
Hi, one question for BASH call...
In my post about mission planner I ask a question but theme is not in that scope I think...
My exe is installed and works.
It is in directory:
/home/pi/workspace
It can be started from same directory:
cd /home/pi/workspace
and then:
sudo mono MissionPlanner.exe
but, how to start at boot or restart from bash with calling through directory?
What to put into desktop file that I have in Exec call, can this works?:
/home/pi/.config/autostart/autostart.desktop
This if desktop file:
I ask because it seems that it does not work...
Thanx,
Faramon
In my post about mission planner I ask a question but theme is not in that scope I think...
My exe is installed and works.
It is in directory:
/home/pi/workspace
It can be started from same directory:
cd /home/pi/workspace
and then:
sudo mono MissionPlanner.exe
but, how to start at boot or restart from bash with calling through directory?
What to put into desktop file that I have in Exec call, can this works?:
/home/pi/.config/autostart/autostart.desktop
This if desktop file:
Code: Select all
[Desktop Entry]
Type=Application
Name=MissionPlanner
Exec=sudo /home/pi/workspace mono MissionPlanner.exe
StartupNotify=falseThanx,
Faramon