Question about linking programs
Normally, I don't even bother with shortcuts, as just hitting F2 and typing something's fast enough. But in this case (installing NWN linux client) it doesn't work, since the program needs to be run from the folder it was installed in. Is there any way to link to a program so that it acts like it's running from the installation folder?
|
ummm, what DE are you using? (each one has its own way of doing things..... or might just search for a program to make shortcuts)
and why would a program need to run in its installation folder? |
May be a simple script would do the job?
Code:
#!/bin/bash |
I'm using KDE, and I have no idea why it needs to. All I know is I tried using 'sh /root/nwn/nwn' from a linking shortcut, but it gave me some crap about not being able to find a file. If I'm in a consol and I cd to the dir before executing ./nwn, though, it starts just fine. Stupid complicated linux.
|
Woo, that was quick. How do I make a script?
*EDIT* Nevermind, I got it. Thanks everyone. |
Quote:
|
All times are GMT -5. The time now is 09:21 AM. |