Create Icon to lauch Octoshape/Mplayer

Asked by Vichy

I have installed Octoshape (iP2P progam), Java, Mplayer in order to watch the spanish RTVE channel.
And it works fine.... but through the terminal.
I have to open it in 3 steps:
1)Open the terminal
2)cd /home..../octochape
3)./OctoshapeClient -url:ESPANA.canal24horas

As i watch this channel everyday and my wife is not keen on programming :) , I would like to open the channel directly through clicking an icon.
I tried to manage it through a launch icon by putting in command
./home.../octochape/OctoshapeClient -url:ESPANA.canal24horas

but after opening the terminal I have:
Ha ocurrido un error al crear el proceso hijo para esta terminal

I have no more in idea, and because of it I can t definitly switch to Ubuntu!
HELP
thanks,

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Mathias Uebelacker
Solved:
Last query:
Last reply:
Revision history for this message
Mathias Uebelacker (muebelacker) said :
#1

Hello,

try to add a starter to the gnome panel by:
1, right click on the gnome panel
2, select and hit add to panel
3, select create a starter
4, select the type Application in a terminal
5, select the other stuff name, icon and so on add your command ./home.../octochape/OctoshapeClient -url:ESPANA.canal24horas

and that should work. The secret is that the terminal must be open, in the background.

br
Mathias

Revision history for this message
Vichy (olivier-sireyx) said :
#2

Thank you for it, but doesn t work, sorry.
If I put in the command :
/OctoshapeClient -url:ESPANA.canal24horas

The terminal opens and close automatically.

I have the feeling that I have to create a executable file with all the commands, and launch it from the desktop.
Only pb, I don t know how to create such a file.

If you have a tutorial for it or any ther better Idea ?
Thanks,

Revision history for this message
Best Mathias Uebelacker (muebelacker) said :
#3

Hello,

try to use the & sign which will be used to execute the command in the background,. So the command looks like this:

./OctoshapeClient -url:ESPANA.canal24horas &

br

Mathias

Revision history for this message
Vichy (olivier-sireyx) said :
#4

YES !

but without the fullstop at start:
/OctoshapeClient -url:ESPANA.canal24horas &

instead of
./OctoshapeClient -url:ESPANA.canal24horas &

Thanks a lot !