LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Another Newbie Question - Command Line Shortcuts? (https://www.linuxquestions.org/questions/linux-general-1/another-newbie-question-command-line-shortcuts-27929/)

AtomiCTheGr8 08-14-2002 05:38 PM

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

AtomiCTheGr8 08-14-2002 07:14 PM

bump

Thymox 08-14-2002 07:18 PM

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.

AtomiCTheGr8 08-14-2002 07:27 PM

Can you explain to me how to do the last part please, im a newbie

Thymox 08-14-2002 07:39 PM

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.

AtomiCTheGr8 08-14-2002 07:47 PM

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

AtomiCTheGr8 08-14-2002 07:49 PM

got it i think...hold on

AtomiCTheGr8 08-14-2002 07:52 PM

i got it to work, not the way you said but thanks NEhoo

Thymox 08-14-2002 07:55 PM

So, what did you do?

AtomiCTheGr8 08-14-2002 09:02 PM

Made a Launcher and changed the command line, prolly same thing u said, but im stupid and didnt understand ;)


All times are GMT -5. The time now is 11:48 PM.