Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Desktop Environments
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Desktop Environments
Support for your Ubuntu desktop. Including Gnome, KDE and XFCE.

 
Thread Tools Display Modes
Old June 3rd, 2006   #1
meng
Guest
 
Join Date: Jan 2006
Beans: 4,208
Ubuntu 7.04 Feisty Fawn
File association with .exe

Strange problem I came across shortly after the Dapper upgrade:

My .exe (lower case) files would not open with wine on double-click, neither would wine appear on the menu if I right-clicked, instead the options would be cedega and text editor. But when I went to properties > open with, wine would be selected as the default.

Conversely, if I chose cedega as the default app, then cedega would no longer appear on the right-click menu, but wine would!!

Uninstalling and reinstalling wine did not help.

However, the problem was solved by renaming the extension to .EXE and then back to .exe, now the associations are recognized correctly, and I can open with wine by double-clicking.

Weird, huh? Anyone else had this problem and come up with the same or different solution?
meng is offline   Reply With Quote
Old June 7th, 2006   #2
slaging
First Cup of Ubuntu
 
slaging's Avatar
 
Join Date: May 2005
Beans: 11
Xubuntu 6.10 Edgy
Re: File association with .exe

I've been having the same problem with .exe files, and with any text document. It seems that nautilus want to open/run everything in gnome terminal as default. If you have any luck, please post.
slaging is offline   Reply With Quote
Old June 8th, 2006   #3
meng
Guest
 
Join Date: Jan 2006
Beans: 4,208
Ubuntu 7.04 Feisty Fawn
Re: File association with .exe

I had exactly the same problem. It was solved after deleting ~/.local directory (some menu information and application/mime associations are kept in there, so afterwards I had to reconfigure my menus and preferred apps all over again). It seems to have solved the wine/.exe problem, but since then I've noticed that certain (not all) .htm files will not automatically open with my browser.

May I ask, did both of you upgrade rather than clean install? I was wondering if this was responsible.
meng is offline   Reply With Quote
Old June 8th, 2006   #4
jobezone
Ubuntu Extra Shot
 
jobezone's Avatar
 
Join Date: Nov 2004
Location: Portugal
Beans: 365
Re: File association with .exe

There's was a bug reported in launchpad (EDIT: against wine) in that firefox allowed you to open .EXE files with wine from a link (in windows it doesn't allow you to do that, for security sake). I think the fix they made was a change in the mimetypes, so it could be related to this problem.

EDIT:https://launchpad.net/distros/ubuntu...fox/+bug/24829
But I'm not sure if the fix prevents or not from opening .EXE files in Nautilus with wine:
Quote:
wine (0.9.9-0ubuntu2) dapper; urgency=low
.
* Remove insecure mailcap entries; MS Windows '.exe' files should be run
using 'binfmt-misc' support instead. (Closes: Ubuntu #24829)
This explains what binfmt-misc is, and how it works.
__________________
Are you into the White-Plastic Life-Style?

Last edited by jobezone; June 8th, 2006 at 10:38 PM..
jobezone is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:56 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry