I need to run an application automatically when Ubuntu starts. I've got this app running without opening the terminal. However, this application displays some information in a terminal window and, therefore, I need that the app runs strictly after opening gnome-terminal (automatically). To this end I've tried to create a script file in init.d as it is explained here. The content of the script is:
#!/bin/bash
cd /home/mediambient/programa
/usr/bin/gnome-terminal -e ./driver &
This works if I execute the file, but does not seem to do anything when I reboot the computer. Can anyone tell me what I'm doing wrong?
Thanks in advance.
No comments:
Post a Comment