17.4.07
20:24 Linux USB autostart.sh (
,
,
,
)
To automatically start an application under Linux, all you must do is add an "autostart.sh" file in the root directory of your device. The file can be any executable application, for example a shell script (which I like, better than creating a new file format, as is autostart.inf under Windows).
Sample file:
# Some comments cd myApplication ./start_my_application.sh
The following appears on my openSUSE 10.2 box:
I wonder why the regular media dialog doesn't appear, with an additional option asking if autorun should be executed (first entry). Maybe if will just browse the media, even when there is an autorun.sh on it.

Not sure who do this, probably one of the KDE services. If you know it, let me a note.

At least an icon still appears on the desktop which can be selected to access the file system ...Labels: KDE
posted by Jean-Marc Autexier |
0 comments | Permalink | Send to Friends | Google it!
|