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?
How Can I disable wine auto Association of .exe files
Re: 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.winefans wrote:How Can I disable wine auto Association of .exe files?
How Can I disable wine auto Association of .exe files
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).
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).