LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-04-2005, 03:36 AM   #1
DhenZidane
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, 05:29 AM   #2
Coldfish
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...

Code:
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:

Code:
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, 09:14 AM   #3
DhenZidane
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, 10:26 AM   #4
johny42
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

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

Code:
cd "/home/user/c/Program Files/Warcraft III" && wine w3l.exe -opengl
 
Old 10-04-2005, 08:00 PM   #5
DhenZidane
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
 
  


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


All times are GMT -5. The time now is 10:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration