Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello! I am a newbie to this board. I came across it when looking for a solution to my problem, and although I didnt find it here, the people seem cool and I found one thread to be very interesting. Hopefully i will become a frequent visitor.
Anyway, my small problem: Bioware has been good enough to release the binaries for the NWN client (proving that the interest in linux support by large companies is expanding, YAY!) and Ive installed it on my SuSE box. It works great! (better than windows even) But I cant seem to make a Desktop shortcut to it in KDE. I can run it by using the console and typing "./nwn" (it also requires that you be in the program's dir) but even if I put the entire path in the shortcut's "Command" field, it wont open!
Any ideas as to what im doing wrong? It would be great if someone could help. Advanced thanks!
Yes, that or add the nwn directory to your $PATH like I did. I prefer to be able to just, from anywhere, type:
nwn
As for desktop shortcuts, I don't see why the full path doesn't work, other than the need to be in the directory (but I am still confused since by adding it to my path... nope. Nevermind, I added the nwn executable as a symlink..)..
Ok, so here's an idea:
symlink the nwn executable to a directory in your PATH, I chose:
ln -s /usr/local/games/nwn/nwn /usr/local/bin/nwn
And what that does is execute nwn from within the nwn directory. See if that will suffice. Short of that, the shell script sounds like a good idea.
Jeese, I feel like a total newb ... I dont know what a symlink or shellscript is... Im lost... heh. Can you give me a clue how to do that? Thanks again!
{OT/ONT}
Just out of curiosity, what kind of hardware do you have? I am just thinking that you could get even more of a perfomance increase by cutting out KDE while playing. I don't know if it'd work, but something like this as shell script (don't try it, just thinking out loud so someone can assist me):
Yeah, that's pretty good, but a raw xinit would be just that much more power Never can have too much ya know *MasterC walks away to find something small to pick on..
Ok, I tried the symlink. But when I gave it a click it poped up "Program not found!" BUT I KNOW ITS THERE! I JUST KNOW IT! heh. My nwn is installed in "/home/me/.nwn/" because when I unstalled it as root in "/usr/local/games/nwn/" it wouldnt let me play the game unless I was logged in as root.
So to make the simlink I did
ls -s /home/me/.nwn/nwn /home/me/Desktop/nwn
#!/bin/sh
# This script runs Neverwinter Nights from the current directory
export SDL_MOUSE_RELATIVE=0
export SDL_VIDEO_X11_DGAMOUSE=0
# If you do not wish to use the SDL library included in the package, remove
# ./lib from LD_LIBRARY_PATH
export LD_LIBRARY_PATH=./lib:./miles:$LD_LIBRARY_PATH
./nwmain $@
You think if I change that last line to include the full path, itll work?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.