LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
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



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 08:51 PM.

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
Open Source Consulting | Domain Registration