LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-09-2012, 11:53 AM   #1
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,143

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
[SOLVED] Running a program in Wine


I recently lost the contents of my hard drive. I had backups of the one Windows program I need, but not it's installer, so I just reconstructed the entry in Program Files.

The result is that I can run the program from a terminal emulator with the command
Code:
wine "c:\Program Files\QemuLator\QemuLator2.4.exe"
but using the same command from the menu or a keyboard shortcut doesn't work. I tried using
Code:
gnome-terminal -e wine "c:\Program Files\QemuLator\QemuLator.exe"
but the terminal just starts and stops again. Running that command from another terminal doesn't leave an error message.

Does anyone have any ideas? Is it because the program hasn't been installed in the normal way? If so, can Wine be made aware of it somehow?

Last edited by DavidMcCann; 12-12-2012 at 11:13 AM.
 
Old 12-09-2012, 12:33 PM   #2
posix04
Member
 
Registered: Dec 2012
Posts: 32

Rep: Reputation: Disabled
What's your distribution? How did you install wine? Version of Wine are you using? Do you have Linux 32 or 64 bit?
 
Old 12-09-2012, 02:43 PM   #3
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,145
Blog Entries: 6

Rep: Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832
I don't use gnome-terminal, you might try the whole path.
For me that would be something like (I tested it)
Code:
xterm -e wine "/home/teckk/.wine/drive_c/Program Files/sumatra/SumatraPDF.exe"
 
Old 12-10-2012, 11:51 AM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,143

Original Poster
Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
My distribution is 32-bit CentOS and Wine is 1.2 installed from an rpm. This is not really relevant, because it was all working before I lost the hard drive.

The problem is that QemuLator has not been installed in Wine. The exe file was preserved in my backups, but the installation file is long gone. The current version of the program uses an msi file to install, which Wine 1.2 doesn't like. I need to use Wine 1.2 because it's one of the few versions that will run QemuLator and is close enough to the CentOS version (1.3) to give no dependency problems.

What I really should have asked is how can I make a manual entry for QemuLator into the Wine system, presumably in the registry. My knowledge of Windows stuff is zero.

Since my original post, the command that had worked has stopped working! Now I navigate to QemuLator in Nautilus, right-click, and choose "open with Wine". At least the program still works.
 
Old 12-10-2012, 01:08 PM   #5
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,145
Blog Entries: 6

Rep: Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832
Did you try my suggestion in post 3?
If it can be launched from a file mgr using wine then the application works.
This is not a true path
Quote:
wine "c:\Program Files\QemuLator\QemuLator2.4.exe"
This is
Code:
wine "/path/to/exe/file/QemuLator.exe"
Make a link or menu item to the path where the .exe is now sitting.
 
1 members found this post helpful.
Old 12-12-2012, 04:47 AM   #6
aegisisc
LQ Newbie
 
Registered: Nov 2012
Posts: 3

Rep: Reputation: 0
You need to find your Configure Wine program. If you are using Ubuntu this is under Applications then Wine then Configure Wine. This will open up a box that has some settings for your Wine software.

For More Info :- Java Programming

Thanks.
 
Old 12-12-2012, 11:12 AM   #7
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,143

Original Poster
Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
@ teckk
Thanks! Using the Windows-style address always worked in the past, but it depended on a registry entry. I'd forgotten that Wine could also use Unix-style addresses, and that solves the problem.
 
  


Reply



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
Wine: How do I input into a running Wine Program with Cyrillic Characters? Riddick Linux - Software 3 08-16-2009 11:58 AM
wine not running program bloodyscript Linux - Newbie 3 03-17-2009 11:42 AM
running a program w/ wine zentarzan Linux - Software 2 10-24-2006 08:05 PM
wine: program not running exigent Linux - Software 8 06-04-2006 03:29 AM
Running a program with wine. Chuong Linux - Software 6 06-04-2006 03:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:28 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
Open Source Consulting | Domain Registration