Derek Jennings wrote: >On Thursday 12 Sep 2002 2:36 pm, J.M. cogels wrote: > > >>Hi, >> >>I'm looking for a way to create a link to a program. I have recently >>installed the Distributed Folding client, which is executed from the >>console. But to execute it I have to cd to the directory where it is >>installed every time I want to launch the program. >> >>Is there a way to create a shortcut in the /home/username directory so >>the program can be executed from there? I also tried a shortcut on my >>desktop with the option that it should run in a terminal selected, but >>that doesn't work. >> >>Any help would be appreciated. >> >> >>Regards, >> >>Joost >> >> > > >from a console >ln -s /path/to/your/application /path/to/link > >with some file managers like Rox filer you can create a link from the GUI. >Although I never did work out how to do it with konqueror. You would expect >there to be a way?? > >derek > > > >------------------------------------------------------------------------ > >Want to buy your Pack or Services from MandrakeSoft? >Go to http://www.mandrakestore.com > > If I understand the question correctly, I suggest using a script like this:
#!/sh/bash cd /home/mugen mugen Then save the script in your home folder and create a link to the script with the command sh scriptname (in my case sh mugen.sh) instead of directly to the program. I use this script to start a fighting game called mugen which insists that you run the executable from its main folder.
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
