LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-04-2004, 09:55 PM   #1
dolvmin
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Red Hat 7.2/8/9, Fedora Core 1/2/3, Smoothwall, Mandrake 7.0/10, Vecter 4, Arch 0.6, EnGuarde
Posts: 289

Rep: Reputation: 30
How to Shortcut to program with X?


I have a game called Neverwinter Nights. This game works with Linux and the file which initiates the game is called nwn. The directory of this file is /home/chris/Games/NWN/nwn. At the moment, I can only start the game if I go into the console. I would like to create a icon which will start the game up without having to open up the console. However, when I enter the path /home/chris/Games/NWN/nwn, it fails to find it, even though the path is correct. How can I fix this?
 
Old 08-04-2004, 11:36 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
make a shell script.......
Code:
#!/bin/bash

cd /home/chris/Games/NWN

 ./nwn
put this in your ~/home directory

make a shortcut on desktop, and point it to the shell script........
 
Old 08-05-2004, 08:58 PM   #3
dolvmin
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Red Hat 7.2/8/9, Fedora Core 1/2/3, Smoothwall, Mandrake 7.0/10, Vecter 4, Arch 0.6, EnGuarde
Posts: 289

Original Poster
Rep: Reputation: 30
Duh, that was simplier then sleeping. I didn't try it because Redhat 7.3 didn't work when I tried. Thanks so much. =)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Make shortcut to tray for a program loninappleton Linux - Newbie 4 10-27-2005 10:22 PM
No program shortcut for installed applications? fleeced Linux - Newbie 5 08-14-2004 04:09 PM
how to make a "shortcut" to a program? euronando Mandriva 3 01-30-2004 03:16 PM
Possible Shortcut? AliasE Linux - Software 1 01-15-2004 07:06 PM
How to make shortcut to program in KDE jbeedham Linux - Newbie 4 07-25-2003 09:25 PM


All times are GMT -5. The time now is 02:51 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration