LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-09-2012, 05:17 PM   #1
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Rep: Reputation: Disabled
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?
 
Old 11-10-2012, 09:08 AM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,868

Rep: Reputation: 250Reputation: 250Reputation: 250
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"

Last edited by teckk; 11-10-2012 at 09:09 AM.
 
Old 11-13-2012, 09:59 PM   #3
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Original Poster
Rep: Reputation: Disabled
I generally use escape codes instead, but I will try quotes and see if that makes a difference
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Strange keyboard behavior - funny characters on the console montyny Linux - Newbie 2 02-22-2012 07:09 AM
nano funny behavior fwlksajzxlc Linux - Software 0 06-17-2009 05:48 PM
Funny Evolution Behavior cmnorton Linux - Software 0 03-20-2008 06:55 PM
Funny USB behavior darcybaston Linux - Hardware 3 02-22-2004 07:39 AM
funny modem behavior vihan Linux - Networking 2 03-22-2003 06:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration