Wine

Questions about applications and software
Forum rules
Before you post please read this

Wine

Postby Azbests on Mon Apr 09, 2007 11:45 am

I installed Wine and it doesnt work, package manager shows that it is installed and fully working but i can't open any program..
maybe i have to wright something in terminal?

sorry im a newb :)
Azbests
Level 1
Level 1
 
Posts: 5
Joined: Mon Apr 09, 2007 11:33 am

Linux Mint is funded by ads and donations.
 

Postby NiksaVel on Mon Apr 09, 2007 1:51 pm

ahem... what program are you trying to run and where is it located?
User avatar
NiksaVel
Level 5
Level 5
 
Posts: 806
Joined: Wed Feb 28, 2007 4:06 am
Location: Croatia

Postby Husse on Mon Apr 09, 2007 2:16 pm

Welcome to Mint, Azbests!
I don't use wine but as I understand it you type something like "wine /path/to/windows/program.exe" in a terminal.
PS Like me you seem not to be a native english speaker...
you write not wright :)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby Azbests on Mon Apr 09, 2007 2:27 pm

yes im not a native English speaker :) anyway I try to run Revconnect..
it is in located
/home/azbests/.wine/drive_c/Program Files/RevConnect

and when i type wine /home/azbests/.wine/drive_c/Program Files/RevConnect it says something like this
wine: cannot find '/home/azbests/.wine/drive_c/Program'
Last edited by Azbests on Mon Apr 09, 2007 2:32 pm, edited 1 time in total.
Azbests
Level 1
Level 1
 
Posts: 5
Joined: Mon Apr 09, 2007 11:33 am

Postby nick on Mon Apr 09, 2007 2:29 pm

Hi
Have you run winecfg in terminal first?
Then right click on windows program and select "open with wine"
NIck
nick
Level 5
Level 5
 
Posts: 686
Joined: Sat Dec 02, 2006 8:04 am

Postby Azbests on Mon Apr 09, 2007 2:35 pm

i don't get it..
i think i do something wrong :(
Azbests
Level 1
Level 1
 
Posts: 5
Joined: Mon Apr 09, 2007 11:33 am

Postby Husse on Mon Apr 09, 2007 2:46 pm

Yes you do something wrong - and yet not :)
If your Windows had been localized the way my Windows is you'd know that the space in "Program Files" is a problem.
Look at this post and your problem is hopefully gone:
http://www.linuxmint.com/forum/viewtopic.php?t=1948
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby Azbests on Mon Apr 09, 2007 2:55 pm

thanks people everything works now :)
Azbests
Level 1
Level 1
 
Posts: 5
Joined: Mon Apr 09, 2007 11:33 am

Postby telic on Mon Apr 09, 2007 3:06 pm

I serve Wine to Bianca so that she'll run my favorite newsgroup reader from MS Windows.

Just remember that whenever there is a blank space in your directory path, you must enclose the entire path in quotes (not including the wine command).

wine "/home/azbests/.wine/drive_c/Program Files/RevConnect.exe"

For programs that you run often, you can save yourself some typing by putting the Wine command into a shell script (a batch file), as described in my earlier post.


------
Last edited by telic on Mon Apr 09, 2007 3:16 pm, edited 1 time in total.
telic
Level 3
Level 3
 
Posts: 188
Joined: Thu Mar 22, 2007 7:48 am

Postby Azbests on Mon Apr 09, 2007 3:15 pm

telic wrote:Just remember that whenever there is a blank space in your directory path, you must enclose the entire path in quotes (not including the wine command).

wine "/home/azbests/.wine/drive_c/Program Files/RevConnect.exe"


------


Did it just like that :) thanks again people :)
Azbests
Level 1
Level 1
 
Posts: 5
Joined: Mon Apr 09, 2007 11:33 am

Postby Husse on Mon Apr 09, 2007 4:45 pm

Never thought the space i "Program Files" would be a problem in Linux :) :)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby telic on Mon Apr 09, 2007 5:25 pm

Never thought the space i "Program Files" would be a problem in Linux


You're thinking about how a blank space is valid in directory names for Linux (and MS Windows). In that scenario, the spaces are already embedded, i.e. they're part of the data.

That's different than a program's command-line input, which is a random string of text that must be parsed. A command line can include more than one parameter, separated by spaces. In this context, spaces are interpreted as data delimiters, not as the data per se. For the blank spaces to be seen as data, they must be enclosed by quotes or "escaped" in a way that flags them as being part of the input that should be passed to the application program.


------
Last edited by telic on Mon Apr 09, 2007 6:54 pm, edited 1 time in total.
telic
Level 3
Level 3
 
Posts: 188
Joined: Thu Mar 22, 2007 7:48 am

Postby Husse on Mon Apr 09, 2007 6:14 pm

You are correct in your description, but I did not think of that - just that an "old pain in the ass" in at least the swedish Windows would be a "pain in the ass" in Linux, well not quite :) (regardless of why)
What is it they say - "old friends die hard"
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby telic on Wed Apr 11, 2007 5:17 pm

it is installed and fully working but i can't open any program..


Another option is to use the winefile program to navigate your Wine directories with a GUI, then just double-click whatever (*.exe) Windows program file that you want to run.

The winefile navigator is buggy, but it effectively eliminates the DOS-prompt mode, especially if you put winefile in a Mint menu program launcher.

------
telic
Level 3
Level 3
 
Posts: 188
Joined: Thu Mar 22, 2007 7:48 am

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 14 guests