How to get Wine Windows Program Loader to open a program automatically?
Right now if I double left click a program it launches Archive Manager and gives me an error. Only way I can run programs in the "Browse C:Drive" is by right clicking, choosing "Open With Wine Windows Program Loader."
Can I have this done automatically? I would also love to make shortcuts on my desktop of these wine programs. Can I?
I am using Ubuntu 12.10. Thank you.
Re: How to get Wine Windows Program Loader to open a program automatically?
Yes, you just have to change the default application to open the file. Just right click the file, click "Properties", Click the "Open With" tab, select "wine" and click "Set as Default".
Re: How to get Wine Windows Program Loader to open a program automatically?
Tried that, only Archive Manager is shown. If I click "Show other applications" it lists about 20 applications, none of them being Wine?
1 Attachment(s)
Re: How to get Wine Windows Program Loader to open a program automatically?
Did you install wine through the repositories?
Re: How to get Wine Windows Program Loader to open a program automatically?
Yeah and they work when I right click and choose Wine. When I type Wine this is what I get:
http://i49.tinypic.com/2hrl7ck.png
Is this installed correctly?
Re: How to get Wine Windows Program Loader to open a program automatically?
Looks like it, let's compare a few things between our systems, what does your mimeapps.list look like and do you have a wine.desktop file?
Code:
cat ~/.local/share/applications/mimeapps.list
Code:
ls /usr/share/applications | grep wine
Re: How to get Wine Windows Program Loader to open a program automatically?
Same problem here.
How does one add Wine to the list of application ?
Re: How to get Wine Windows Program Loader to open a program automatically?
Quote:
Originally Posted by
jerome1232
Looks like it, let's compare a few things between our systems, what does your mimeapps.list look like and do you have a wine.desktop file?
Code:
cat ~/.local/share/applications/mimeapps.list
Code:
ls /usr/share/applications | grep wine
Here's what I have:
Code:
cat ~/.local/share/applications/mimeapps.list
[Added Associations]
application/x-shellscript=gedit.desktop;
application/octet-stream=google-chrome.desktop;
x-scheme-handler/http=firefox.desktop;
x-scheme-handler/https=firefox.desktop;
x-scheme-handler/ftp=firefox.desktop;
x-scheme-handler/chrome=firefox.desktop;
text/html=firefox.desktop;
application/x-extension-htm=firefox.desktop;
application/x-extension-html=firefox.desktop;
application/x-extension-shtml=firefox.desktop;
application/xhtml+xml=firefox.desktop;
application/x-extension-xhtml=firefox.desktop;
application/x-extension-xht=firefox.desktop;
application/x-msdownload=gedit.desktop;
[Removed Associations]
[Default Applications]
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
x-scheme-handler/ftp=firefox.desktop
x-scheme-handler/chrome=firefox.desktop
text/html=firefox.desktop
application/x-extension-htm=firefox.desktop
application/x-extension-html=firefox.desktop
application/x-extension-shtml=firefox.desktop
application/xhtml+xml=firefox.desktop
application/x-extension-xhtml=firefox.desktop
application/x-extension-xht=firefox.desktop
Code:
ls /usr/share/applications | grep wine
q4wine.desktop
wine-browsedrive.desktop
wine.desktop
wine-notepad.desktop
wine-uninstaller.desktop
wine-winecfg.desktop
wine-winetricks.desktop
*Edit*
I fixed it by opening ~/.local/share/applications/mimeapps.list and setting wine.desktop as default for application/x-ms-dos-executable
Re: How to get Wine Windows Program Loader to open a program automatically?
Glad it was that simple and that this thread at least helped someone :D
I assume you added a line like this under the [Added Associations] section and saved the file?
Code:
application/x-ms-dos-executable=wine.desktop;
Did you have to reboot or logout out/ log back in for the changes to take affect?
Re: How to get Wine Windows Program Loader to open a program automatically?
I know this is an old thread, but this is exactly what I was looking for and helped me out alot.
I'm on Linux Mint 14 64-Bit (Cinnamon) and was able to add the line
Code:
application/x-ms-dos-executable=wine.desktop
to my ~/.local/share/applications/mimeapps.list file and Wine showed up as the default program.
I really hate how difficult it is to add a default program to the list otherwise. There is no "browse to" option in the GUI interface, and that's pretty inconvenient for anyone coming from Windows, but that's a conversation for another thread.
Thanks for posting the solution, OP!!