LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Funny Behavior with wine (https://www.linuxquestions.org/questions/linux-newbie-8/funny-behavior-with-wine-4175436471/)

mreff555 11-09-2012 05:17 PM

Funny Behavior with wine
 
I run wine on my gentoo system. For the most part it usually works quite well. One strange problem I have been having however is that some executables, not all of them, don't work unless I run open it through a shell.

I have some binaries in my menus. I also have pcmanfm set to execute the command "wine %f when a .exe file is clicked on. I'd say this works 80% of the time. Some programs don't seem to work though. Either nothing happens or a get some strange unhelpful dialog saying I'm missing files.

Its not a huge inconvenience, but I like to put more frequently used software in the menus. It seems like a permissions problem, but I don't see what the permissions would be any different. Any ideas?

teckk 11-10-2012 09:08 AM

A couple of thoughts.

If the apps are installed in ~/.wine/drive_c/Program Files/Common Files/abc.exe, those gaps in the path will cause a non app start. Double clicking in a file mgr to launch wine for the .exe won't work. It will fail with
Code:

wine ~/.wine/drive_c/Program Files/Common Files/abc.exe
wine: cannot find '/home/teckk/.wine/drive_c/Program'

It would have to be
Code:

wine "~/.wine/drive_c/Program Files/Common Files/abc.exe"
You can make a symlink to it and then launch the link.
Code:

ln -s "~/.wine/drive_c/Program Files/Common Files/abc.exe" ~/
Then launch the abc.exe in your home dir with wine.

Or a menu item would need to be for example.
Code:

xterm -e wine "~/.wine/drive_c/Program Files/Common Files/abc.exe"

mreff555 11-13-2012 09:59 PM

I generally use escape codes instead, but I will try quotes and see if that makes a difference


All times are GMT -5. The time now is 08:28 AM.