Download your favorite Linux distribution at LQ ISO.
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 10-04-2005, 02:36 AM   #1
LQ Newbie
Registered: Oct 2005
Posts: 5

Rep: Reputation: 0
how to make a shortcut file in WINE

I am just new to Linux using Fedora Core 4

i have WINE 20050930, i have a working warcraft III

when i want to run my warcraft i just type in the terminal:

$ cd "c/Program Files/Warcraft III"
$ wine w3l.exe -opengl

then my warcraft is running smoothly...
note: i am using a w3l.exe to enter into PVPGN battlenet

but do I have to type those command in terminal everytime i have to use my Warcraft??

I try to make a launcher in my desktop, type is application and put this in command box:

wine 'home/user/c/Program Files/Warcraft III/w3l.exe' -opengl

and is has an error says:

cannot start war3.exe make sure the loader is in the same dir

the web site said that i have to make a script to do this...but i dont know how...

Your help is much appriciated, Thanks you...
Old 10-04-2005, 04:29 AM   #2
LQ Newbie
Registered: Sep 2005
Location: istanbul
Distribution: Debian / Slackware
Posts: 27

Rep: Reputation: 15
you type on your console and try that it is valid...

alias war3='cd "c/Program Files/Warcraft III" && wine w3l.exe -opengl'
if this command is ok, you can write " war3 " on your console. It has to be worked on...

But you must write in every boot. To avoid this ,

You add this entry to .bashrc ,

Command is like:

nano /home/user/.bashrc
and a texteditor will open a script.. You have to add only this code at the bottom of the script:

alias war3='cd "c/Program Files/Warcraft III" && wine w3l.exe -opengl'

Is Undead still overpowered on ladder?
Old 10-04-2005, 08:14 AM   #3
LQ Newbie
Registered: Oct 2005
Posts: 5

Original Poster
Rep: Reputation: 0
wow thats great but how about a launcher in my desktop so I just click it and my warcraft will work

Thank you for your reply
Old 10-04-2005, 09:26 AM   #4
LQ Newbie
Registered: Oct 2005
Location: Kosice, Slovakia
Distribution: Fedora Core 5
Posts: 9

Rep: Reputation: 0
Re: how to make a shortcut file in WINE

Just edit your shortcut, so instead of current

Originally posted by DhenZidane
wine 'home/user/c/Program Files/Warcraft III/w3l.exe' -opengl
it points to:

cd "/home/user/c/Program Files/Warcraft III" && wine w3l.exe -opengl
Old 10-04-2005, 07:00 PM   #5
LQ Newbie
Registered: Oct 2005
Posts: 5

Original Poster
Rep: Reputation: 0
I just did what you say and an error message pop-up says:

There was error launching the application
Details: Failed to execute child process "cd" (No such file or directory)

i just put the command on the launcher command box...

I think I just did something wrong....

im soooo


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
How to make shortcut for Gnome desktop? septanla Linux - Newbie 12 10-18-2003 03:05 AM
WinMX shortcut (wine) PIayer Linux - Newbie 1 09-20-2003 10:36 PM
How to - to how to make a shortcut on desktop rberry88 Linux - Newbie 3 09-10-2003 09:20 PM
How to make shortcut? Nicksan Linux - Software 2 06-20-2003 03:38 PM
Wine Shortcut Script Streams Linux - Software 4 05-19-2003 05:08 PM

All times are GMT -5. The time now is 11:03 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