__/ [ opexoc@xxxxxxxxx ] on Friday 11 August 2006 10:11 \__
> Hi. I am using KDE as my desktop environment and Mandriva 2006
> Official. I wrote some simple script which is to execute
> mozilla-firefox right after logging job :
>
> ------------THIS SIMPLE SCRIPT--------------
>
> /usr/bin/mozilla-firefox
>
> ------------------------------------------------------------
>
> and I locate it into ~/.kde/Autostart/ . I gave also +x mode for user.
> It is listening:
>
> [opexoc@localhost Autostart]$ ls -l
> razem 4
> -rwxr-xr-x 1 opexoc root 25 sie 11 11:00 auto*
>
> Now, when I am entering to KDE the Kwrite program show me the content
> of this script and mozilla-firefox is not executed. Where is a problem
> ? Why mozilla is not executed ?
>
> best regards,
> opexoc
I am not 100% sure about this, but associate your script with the shell. Add
to it the ".sh" suffix and prepend "#!/bin/sh" to
"/usr/bin/mozilla-firefox" (i.e. put it on the first line). Otherwise, KDE
will rely on the standard file associations.
|
|