AutoCAD 2000i runs only from a terminal

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
habana
Level 1
Level 1
Posts: 5
Joined: Fri Mar 27, 2009 12:22 am

AutoCAD 2000i runs only from a terminal

Post by habana »

AutoCAD 2000i runs fine under Wine when I start it from the command line. However, if I try to start it from Applications>Wine>Programs>AutoCAD2000i I get a frozen AutoCAD screen. I get the same result if I right click on the acad.exe file and select"Open with Wine Windows Program Loader".

Any help as to where to start looking would be appreciated.

Wine 1.0.1
Ubuntu 8.10
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: AutoCAD 2000i runs only from a terminal

Post by vitamin »

habana wrote:AutoCAD 2000i runs fine under Wine when I start it from the command line. However, if I try to start it from Applications>Wine>Programs>AutoCAD2000i I get a frozen AutoCAD screen. I get the same result if I right click on the acad.exe file and select"Open with Wine Windows Program Loader".
What exact command(s) are you using in the terminal? And what the .desktop file for the ACAD looks like?
habana
Level 1
Level 1
Posts: 5
Joined: Fri Mar 27, 2009 12:22 am

Post by habana »

I navigate to the AutoDAD 2000i directory and click on the acad.exe file.

I can't find a .desktop file. I deleted the Autocad icon on my desktop immediately after installation (I assumed it was just a shortcut) - maybe that is the cause of my problem?
habana
Level 1
Level 1
Posts: 5
Joined: Fri Mar 27, 2009 12:22 am

Post by habana »

Correction to my last post - sorry, it's early in the morning :D . In a terminal I change directory to "AutoCAD2000i" and then type [wine acad.exe]
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

habana wrote:I navigate to the AutoDAD 2000i directory and click on the acad.exe file.
Then this is your distro problem. It's not using correct commands to start Wine.
For this to work Wine should be started with (part of Wine's wine.desktop):

Code: Select all

wine start /unix %f
habana
Level 1
Level 1
Posts: 5
Joined: Fri Mar 27, 2009 12:22 am

Post by habana »

Thanks vitamin. I located the "Wine Windows Program Loader" file which contains exactly the code you specified. Any other ideas?
habana
Level 1
Level 1
Posts: 5
Joined: Fri Mar 27, 2009 12:22 am

Post by habana »

Solved! I deleted the default "AutoCad Today" start up screen and the program then worked OK when I clicked on acad.exe as described. It still didn't work from the desktop. Again from the desktop, I tried Notepad which worked fine and then tried AutoCad again. It worked! I have no idea what changed but all is now OK.

Vitamin, many thanks for taking the time to help me with this.
Locked