Click to See Complete Forum and Search --> : making a program executable without the "./"


WilliamWallace
06-27-2001, 11:18 PM
i installed staroffice, but the only way i can run it is to cd to the staroffice directory and issua a
./soffice

i want to make a shortcut on the gnome panel, how would i do this? i have tried putting
./~/office52/soffice

but that doesnt work...i also tried doing a
chmod +x soffice

also tried moving it to /usr/bin

nothing works...

Linuxcool
06-28-2001, 12:12 AM
Instead of on the panel, how about an icon on the desktop?

What you do is open up a file manager, then go to where the file you want to execute. Right click on it and select ' Symlink '. There should be two boxes to enter text. The top one should be displaying the complete path to the file you are looking at. In the bottom box enter :
~/.gnome-desktop/StarOffice, then click ok. An icon may appear on the desktop, if not, then right click on the desktop and select ' Rescan Desktop '. Make sure the bottom box is empty. Delete anything that is there.

Now, one thing, I'm doing this from memory and my version of gnome is probably older than yours. So, it might not work.

[ 28 June 2001: Message edited by: Linuxcool ]