How Can I disable wine auto Association of .exe files

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
winefans
Newbie
Newbie
Posts: 1
Joined: Thu Dec 18, 2008 11:37 pm

How Can I disable wine auto Association of .exe files

Post by winefans »

after install wine ,double cilck the .exe file ,then it can atuo start wine and run the .exe file.

i don't like this. i think the .exe file can be wined only run "wine" command in the terminal.

so i remove the .exe file "wine windows Program Loader" in the "properties"

but the .exe still auto run by double-click.

i add "#" every line front in the "/usr/bin/winecfg"

but the .exe still run by double-click

How Can I disable wine auto Association of .exe files?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: How Can I disable wine auto Association of .exe files

Post by vitamin »

winefans wrote:How Can I disable wine auto Association of .exe files?
Wine itself doesn't do it. Ask your distro how they did it and how to disable it.
Vincent Povirk

How Can I disable wine auto Association of .exe files

Post by Vincent Povirk »

Wine advertises that it can start .exe files using freedesktop
standards. Specifically, it installs a file named wine.desktop. It the
desktop environment (not Wine or the distro) that decides how to use
this information.

Double-clicking on .exe files (using wine.desktop) should work better
than the terminal nowadays. If there's a program that works in recent
Wine when started from the terminal and not from double-clicking, I
want to know about it.


You may also want to check if you have something installed called
"binfmt-support". This is not part of Wine, and it will also cause
desktop environments to start wine for .exe files when they are
double-clicked (but in a broken way).
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

I have a problem where EXE files keep being associated with my archive manager (file roller) after I unpacked something, and I have to manually reassociate EXEs to Wine. Could this problem be related to binfmt-support?
Locked