Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-12-2006, 03:56 PM   #1
Registered: Jun 2006
Location: Calgary, Alberta
Distribution: Fedora Core 6
Posts: 43

Rep: Reputation: 15
Question Scripting or Shortcut(s)?

Good afternoon everyone, I had a rather silly question to ask reguarding how I can access programs through ex.

Normally when it is an application or program you can just create a short cut and place it on the desktop to point it directly to the program and it will work.

But what about for things that are run out of the terminal? For myself I am woudering how I can create a shortcut to directly load up warcraft 3 in x without having to open a terminal and type wine /home/username/.wine/c_drive/program files/wacraft 3/frozen throne.exe everytime i wanted to start this program?

Would this be scripting as opposed to creating a shortcut? If so could someone point me in the direction to find out how to go about scripting or some basic lessons on scripting? or correct me if I am way off base of what i need to do?

I did do a search for how-to's and faq's on shortcuts and such but most always pointed to the basic shortcut on desktop by pointing directly to the application and did not give much detail on how to go about doing it for applications that are run through the terminal.

I do not need a direct answer on how to do it more of a pointer in the right direction with information on how i can trial and error my own solutions. Thanks for your time.
Old 07-12-2006, 04:04 PM   #2
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Create a new application shortcut, and replace the command parameter with you wine command
"wine /home/username/.wine/c_drive/program files/wacraft 3/frozen throne.exe" it should work fine. No need to script.
Old 07-12-2006, 04:06 PM   #3
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Well, on KDE, all I do is right click on the desktop, then click "Create New" --> "File" --> "Link to Application". Then give it a name and on the third tab there's a line that says "Command" and you can either browse for a program or just type in a command (like wine "/home/username/.wine/c_drive/program files/wacraft 3/frozen throne.exe").
Old 07-12-2006, 06:15 PM   #4
Registered: Jun 2006
Location: Calgary, Alberta
Distribution: Fedora Core 6
Posts: 43

Original Poster
Rep: Reputation: 15
Thank you! It worked out perfectly.


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
teaching shell scripting: cool scripting examples? fax8 Linux - General 1 04-20-2006 04:29 AM
Possible Shortcut? AliasE Linux - Software 1 01-15-2004 07:06 PM
Shortcut file true_atlantis Linux - Newbie 8 10-24-2003 09:33 PM
Any way to shortcut AIM? asianboi2k Linux - Software 4 07-22-2003 04:38 PM
creating my own shortcut nakkaya Linux - Software 4 05-13-2003 01:24 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:47 AM.

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