Wine right click open is different to terminal “wine appname

Questions about Wine on Linux
Locked
Sman789
Newbie
Newbie
Posts: 2
Joined: Mon Oct 01, 2012 11:58 am

Wine right click open is different to terminal “wine appname

Post by Sman789 »

I have an application (Star Trek Bridge Commander) which runs fine on Wine when I navigate to its directory and 'open with -> Wine Windows Program Loader' from the right click menu. Unfortunately, it quits with a runtime error if I try to use 'wine (path)' or 'wine start (path)' in the terminal. This is a problem because I am trying to make a custom shortcut (.desktop file) to open it. I'm guessing that the "Open with Wine Windows Program Loader" option runs a slightly different command than 'wine' or 'wine start' - if I'm right then could someone please explain what command this is?

Thankyou for any assistance :)
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine right click open is different to terminal “wine app

Post by dimesio »

When you tried running it from a terminal did you cd to the program directory first? Some apps will not run unless you do that.
Sman789
Newbie
Newbie
Posts: 2
Joined: Mon Oct 01, 2012 11:58 am

Re: Wine right click open is different to terminal “wine app

Post by Sman789 »

You know, I actually was sure I'd tried that. But it seems to work now so obviously I hadn't - thanks a lot! :)

Oh - and is there a way I can incorporate this all into a single command; so I can launch the program from a .desktop file?
Locked