LTSpice IV Won't Launch from the Wine Menu

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
motsteve
Level 1
Level 1
Posts: 8
Joined: Thu Sep 16, 2010 7:58 am

LTSpice IV Won't Launch from the Wine Menu

Post by motsteve »

It's been a while since I used LTSpice, but it always worked on Wine no matter which distro I was running. However, I recently installed it on both Mint 11 and Mint 12 and had the same problems.

The first problem I noticed was when I installed it, it placed the desktop configuration file on my Mint desktop. I had never seen that happen before. The second problem was that the application would launch fine if I either opened the desktop configuration file directly or copy and pasted the command it had in its properties window to a terminal window and executed it. The app would not run from the menu. All that would happen is an error message, "File not found".

The desktop configure file command was:

env WINEPREFIX="/home/carltons/.wine" wine c:\\Program\ Files\\LTC\\LTspiceIV\\scad3.exe


The Wine menu command is:

env WINEPREFIX="/home/carltons/.wine" wine c:\\windows\\command\\start.exe /Unix /home/carltons/.wine/dosdevices/c:/users/carltons/Start\ Menu/LTspice\ IV.lnk

I've listed all the paths in both commands and all the files exist in the correct sub directories. I also checked the lines to make sure that all the spaces and \'s were escaped properly. I'm really at a loss as to where the missing file is. The other real puzzlement to me was the /Unix of the menu command, but I'm not familiar with the syntax of this command, I'm not a software engineer by any means. I did a :

sudo find / -name \/Unix -type d and got no return. At that point I just thought that maybe the command was off into the cloud to retrieve it before finally returning its output. I am well past my capabilities at this point. :oops:
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: LTSpice IV Won't Launch from the Wine Menu

Post by dimesio »

motsteve wrote:The other real puzzlement to me was the /Unix of the menu command, but I'm not familiar with the syntax of this command, I'm not a software engineer by any means. I did a :
/Unix just tells Wine that you're using a Unix-style path.

Have you tried editing the command in your menu to match the one in the desktop link?
motsteve
Level 1
Level 1
Posts: 8
Joined: Thu Sep 16, 2010 7:58 am

Post by motsteve »

Yes I did, I pasted the whole command into the menu item and got the same "File not found". I then pasted back the original command into the menu command window just to go back so as not to compound errors.

After I looked at both the desktop config command and the menu command, it is obvious that I need to fill in these holes in my Linux knowledge. I'm self taught using man pages and Google. Not efficient, but it beats being ignorant. :wink:
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

It's a bug in Linux Mint's menu: https://bugs.launchpad.net/mintmenu/+bug/714848
motsteve
Level 1
Level 1
Posts: 8
Joined: Thu Sep 16, 2010 7:58 am

Post by motsteve »

Okay, thanks.

That's another thing I need to master is searching the bug lists. I always end up lost and no wiser for the effort. :oops:

I guess I'll just have to run LTSpice IV in my Windoz 7 (yuk) partition or make a launcher or an alias for it in Mint.
Locked