LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 08-14-2002, 05:38 PM   #1
AtomiCTheGr8
Member
 
Registered: Jul 2002
Posts: 38

Rep: Reputation: 15
Another Newbie Question - Command Line Shortcuts?


im running half life with winex and i need to run the hl.exe with winex with a command, so itd be like winex hl.exe -COMMAND, how can i make a shortcut on my desktop so i dble click it, and it does that
 
Old 08-14-2002, 07:14 PM   #2
AtomiCTheGr8
Member
 
Registered: Jul 2002
Posts: 38

Original Poster
Rep: Reputation: 15
bump
 
Old 08-14-2002, 07:18 PM   #3
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Bump? You only posted this a while ago! Give people a chance to think about it!

If you're running KDE, then you should be able to pass parameters to the program simply by putting them afterwards, like you would normally on the command line.

I'm not sure of the situation for Gnome.

If you're really stuck, you could create a single-line script that runs the program with all it's various parameters in your home directory (or somewhere like /home/name/bin) and have the icon run this script instead of the program itself.
 
Old 08-14-2002, 07:27 PM   #4
AtomiCTheGr8
Member
 
Registered: Jul 2002
Posts: 38

Original Poster
Rep: Reputation: 15
Can you explain to me how to do the last part please, im a newbie
 
Old 08-14-2002, 07:39 PM   #5
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Open up your favourite editor. Type in command parameters exactly as you would when running it from the text prompt. Save the file somewhere that you can access it (your home directory). Edit the settings for the icon in question, and where you put the command to run, simply redirect it to your new script. I would advise, however, that since you'll be editing the settings for the icon, that you try putting the complete command in, rather than making a new script. It will more than likely work.
 
Old 08-14-2002, 07:47 PM   #6
AtomiCTheGr8
Member
 
Registered: Jul 2002
Posts: 38

Original Poster
Rep: Reputation: 15
i dont understand how i would redirect it to the script file, i dont see that, i get a screen with 3 tabs when i click SHOW PROPERTIES: Emblems, Permissions, And the main one. Umm..... Yea.. DUnno
 
Old 08-14-2002, 07:49 PM   #7
AtomiCTheGr8
Member
 
Registered: Jul 2002
Posts: 38

Original Poster
Rep: Reputation: 15
got it i think...hold on
 
Old 08-14-2002, 07:52 PM   #8
AtomiCTheGr8
Member
 
Registered: Jul 2002
Posts: 38

Original Poster
Rep: Reputation: 15
i got it to work, not the way you said but thanks NEhoo
 
Old 08-14-2002, 07:55 PM   #9
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
So, what did you do?
 
Old 08-14-2002, 09:02 PM   #10
AtomiCTheGr8
Member
 
Registered: Jul 2002
Posts: 38

Original Poster
Rep: Reputation: 15
Made a Launcher and changed the command line, prolly same thing u said, but im stupid and didnt understand
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie question regarding shortcuts for installed apps FraQture Mandriva 7 12-17-2004 10:27 AM
newbie questions about the command line sether *BSD 12 09-04-2004 01:40 PM
Newbie: Stuck at command line. BoardinBum Slackware 9 08-14-2004 02:40 PM
adding shortcuts for command line hamish Linux - Newbie 6 02-05-2004 07:58 PM
Command Line Newbie mrozkan Linux - General 6 01-27-2002 12:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:46 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration