On Wed, Oct 26, 2016 at 12:28 PM, Dror Lugasi <[email protected]> wrote:
> Hello guys..
> I have a code i wrote in monodevelop and i have the program .exe file that i 
> want to run after the desktop is loaded.
> When i go into the terminal and change the dir to the debug folder and run 
> ./thefile.exe it works.
>
> I tried to add this command to a shell script that i run at boot as
> ./<full path>thefile.exe
> And also cd <full path> and then ./thefile.exe but none has worked.
>
> Can anyone please help me to figure out how to run my .exe file automatically 
> after boot (prefer as root if possible)

Which desktop?

For example with openbox, there's an autostart script available at:
/home/debian/.config/openbox/autostart

mkdir -p /home/debian/.config/openbox/
echo "feh --bg-scale /opt/scripts/images/beaglebg.jpg" >
/home/debian/.config/openbox/autostart
echo "/home/debian/LeptonModule/software/beagleboneblack_video/bbb &"
>> /home/debian/.config/openbox/autostart

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYi2rwDix%3DHZMnfgcS1FfxPGOKSQ4b1qg6DghGnO_g8X-Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to