Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: How to get Wine Windows Program Loader to open a program automatically?

  1. #1
    Join Date
    Sep 2005
    Location
    Ohio
    Beans
    93
    Distro
    Ubuntu Studio 18.10 Cosmic Cuttlefish

    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 Crive" 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.
    Ubuntu Studio 18.10 - i5-3470 - 8GB Corsair - Geforce GT 710 -
    Samsung 250GB SSD

  2. #2
    Join Date
    Dec 2007
    Location
    Idaho
    Beans
    4,976
    Distro
    Ubuntu 20.04 Focal Fossa

    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".
    "You can't expect to hold supreme executive power just because some watery tart lobbed a sword at you"

    "Don't let your mind wander -- it's too little to be let out alone."

  3. #3
    Join Date
    Sep 2005
    Location
    Ohio
    Beans
    93
    Distro
    Ubuntu Studio 18.10 Cosmic Cuttlefish

    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?
    Ubuntu Studio 18.10 - i5-3470 - 8GB Corsair - Geforce GT 710 -
    Samsung 250GB SSD

  4. #4
    Join Date
    Dec 2007
    Location
    Idaho
    Beans
    4,976
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: How to get Wine Windows Program Loader to open a program automatically?

    Did you install wine through the repositories?
    Attached Images Attached Images
    "You can't expect to hold supreme executive power just because some watery tart lobbed a sword at you"

    "Don't let your mind wander -- it's too little to be let out alone."

  5. #5
    Join Date
    Sep 2005
    Location
    Ohio
    Beans
    93
    Distro
    Ubuntu Studio 18.10 Cosmic Cuttlefish

    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:



    Is this installed correctly?
    Ubuntu Studio 18.10 - i5-3470 - 8GB Corsair - Geforce GT 710 -
    Samsung 250GB SSD

  6. #6
    Join Date
    Dec 2007
    Location
    Idaho
    Beans
    4,976
    Distro
    Ubuntu 20.04 Focal Fossa

    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
    "You can't expect to hold supreme executive power just because some watery tart lobbed a sword at you"

    "Don't let your mind wander -- it's too little to be let out alone."

  7. #7
    Join Date
    Jun 2008
    Beans
    6

    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 ?

  8. #8
    Join Date
    Dec 2010
    Beans
    20

    Re: How to get Wine Windows Program Loader to open a program automatically?

    Quote Originally Posted by jerome1232 View Post
    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
    Last edited by Enkouyami; January 5th, 2013 at 11:10 PM. Reason: I fixed the problem

  9. #9
    Join Date
    Dec 2007
    Location
    Idaho
    Beans
    4,976
    Distro
    Ubuntu 20.04 Focal Fossa

    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

    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?
    "You can't expect to hold supreme executive power just because some watery tart lobbed a sword at you"

    "Don't let your mind wander -- it's too little to be let out alone."

  10. #10
    Join Date
    Jun 2009
    Location
    Woodbridge, VA
    Beans
    84

    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!!
    Laptop HP Pavillion dv7-3060US running Linux Mint 14 x64 (Cinnamon Desktop)

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •