How can I run exe files in Dolphin on Kubuntu












2















I have wine installed. But how can I set it default for running exe files?










share|improve this question




















  • 1





    If wine is installed correctly, double click an executive file will open that file using wine by default. Please edit your question and provide more details, such as the version of Ubuntu, how did you install wine, what happens when you double click on an executive file?

    – user68186
    Jan 20 at 17:34











  • Should your title say "How can I use Wine..." rather than "mime"?

    – CentaurusA
    Jan 21 at 2:22






  • 1





    @user68186 - In Kubuntu 18.04 I had the same problem with the stable wine version installed, had to create a desktop file as indicated in my answer below.

    – user47206
    2 days ago













  • @CentaurusA - I have simply edited the title to make things clear.

    – user47206
    2 days ago
















2















I have wine installed. But how can I set it default for running exe files?










share|improve this question




















  • 1





    If wine is installed correctly, double click an executive file will open that file using wine by default. Please edit your question and provide more details, such as the version of Ubuntu, how did you install wine, what happens when you double click on an executive file?

    – user68186
    Jan 20 at 17:34











  • Should your title say "How can I use Wine..." rather than "mime"?

    – CentaurusA
    Jan 21 at 2:22






  • 1





    @user68186 - In Kubuntu 18.04 I had the same problem with the stable wine version installed, had to create a desktop file as indicated in my answer below.

    – user47206
    2 days ago













  • @CentaurusA - I have simply edited the title to make things clear.

    – user47206
    2 days ago














2












2








2








I have wine installed. But how can I set it default for running exe files?










share|improve this question
















I have wine installed. But how can I set it default for running exe files?







kubuntu wine mime-type






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago







user47206

















asked Jan 20 at 17:26









Md Gaziur Rahman NoorMd Gaziur Rahman Noor

161




161








  • 1





    If wine is installed correctly, double click an executive file will open that file using wine by default. Please edit your question and provide more details, such as the version of Ubuntu, how did you install wine, what happens when you double click on an executive file?

    – user68186
    Jan 20 at 17:34











  • Should your title say "How can I use Wine..." rather than "mime"?

    – CentaurusA
    Jan 21 at 2:22






  • 1





    @user68186 - In Kubuntu 18.04 I had the same problem with the stable wine version installed, had to create a desktop file as indicated in my answer below.

    – user47206
    2 days ago













  • @CentaurusA - I have simply edited the title to make things clear.

    – user47206
    2 days ago














  • 1





    If wine is installed correctly, double click an executive file will open that file using wine by default. Please edit your question and provide more details, such as the version of Ubuntu, how did you install wine, what happens when you double click on an executive file?

    – user68186
    Jan 20 at 17:34











  • Should your title say "How can I use Wine..." rather than "mime"?

    – CentaurusA
    Jan 21 at 2:22






  • 1





    @user68186 - In Kubuntu 18.04 I had the same problem with the stable wine version installed, had to create a desktop file as indicated in my answer below.

    – user47206
    2 days ago













  • @CentaurusA - I have simply edited the title to make things clear.

    – user47206
    2 days ago








1




1





If wine is installed correctly, double click an executive file will open that file using wine by default. Please edit your question and provide more details, such as the version of Ubuntu, how did you install wine, what happens when you double click on an executive file?

– user68186
Jan 20 at 17:34





If wine is installed correctly, double click an executive file will open that file using wine by default. Please edit your question and provide more details, such as the version of Ubuntu, how did you install wine, what happens when you double click on an executive file?

– user68186
Jan 20 at 17:34













Should your title say "How can I use Wine..." rather than "mime"?

– CentaurusA
Jan 21 at 2:22





Should your title say "How can I use Wine..." rather than "mime"?

– CentaurusA
Jan 21 at 2:22




1




1





@user68186 - In Kubuntu 18.04 I had the same problem with the stable wine version installed, had to create a desktop file as indicated in my answer below.

– user47206
2 days ago







@user68186 - In Kubuntu 18.04 I had the same problem with the stable wine version installed, had to create a desktop file as indicated in my answer below.

– user47206
2 days ago















@CentaurusA - I have simply edited the title to make things clear.

– user47206
2 days ago





@CentaurusA - I have simply edited the title to make things clear.

– user47206
2 days ago










2 Answers
2






active

oldest

votes


















1














When you right-click on the .exe file, you go to "Open with application with", then you select WINE.






share|improve this answer
























  • In case exe files are not run as expected on (double) click (case implied by the OP, otherwise the question makes no sense), it might also be that no "Wine" program appears when trying to select it from "Open with".

    – user47206
    2 days ago





















1














Normally simply executing the exe file with (double) click in the file manager should run it through Wine. If for some reason that doesn't happen (beside trying to re-install Wine in order to get the expected behavior) you could do the following:



In terminal run wine path_to_file.exe.





In order to run it with (double) click: create a ~/.local/share/application/wine.desktop file with the lines like



[Desktop Entry]
Exec=wine %f
Name=Run in Wine
Mimetype=application/x-dosexec
Categories=System;Settings;


then make Run in Wine the default "application" for exe files (in Dolphin: Properties > (tab) General > Add).





Alternatively, create a ~.local/share/kservices5/ServiceMenus/run_wine.desktop like



[Desktop Entry]
Actions=wine
Mimetype=application/x-dosexec
ServiceTypes=KonqPopupMenu/Plugin
Type=Service
X-KDE-Priority=TopLevel

[Desktop Action wine]
Exec=wine %f
Name=Run in Wine
Icon=wine


in order to have a right-click context menu option ("Service Menu") in Dolphin.





I cannot test now, as I don't use Wine as we speak, but konsole -e wine %f or sh -c 'wine %f' might be needed for the Exec line.



If someone can confirm Exec=wine %f works, please comment.






share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1111426%2fhow-can-i-run-exe-files-in-dolphin-on-kubuntu%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    When you right-click on the .exe file, you go to "Open with application with", then you select WINE.






    share|improve this answer
























    • In case exe files are not run as expected on (double) click (case implied by the OP, otherwise the question makes no sense), it might also be that no "Wine" program appears when trying to select it from "Open with".

      – user47206
      2 days ago


















    1














    When you right-click on the .exe file, you go to "Open with application with", then you select WINE.






    share|improve this answer
























    • In case exe files are not run as expected on (double) click (case implied by the OP, otherwise the question makes no sense), it might also be that no "Wine" program appears when trying to select it from "Open with".

      – user47206
      2 days ago
















    1












    1








    1







    When you right-click on the .exe file, you go to "Open with application with", then you select WINE.






    share|improve this answer













    When you right-click on the .exe file, you go to "Open with application with", then you select WINE.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jan 20 at 18:05









    erinniserinnis

    674




    674













    • In case exe files are not run as expected on (double) click (case implied by the OP, otherwise the question makes no sense), it might also be that no "Wine" program appears when trying to select it from "Open with".

      – user47206
      2 days ago





















    • In case exe files are not run as expected on (double) click (case implied by the OP, otherwise the question makes no sense), it might also be that no "Wine" program appears when trying to select it from "Open with".

      – user47206
      2 days ago



















    In case exe files are not run as expected on (double) click (case implied by the OP, otherwise the question makes no sense), it might also be that no "Wine" program appears when trying to select it from "Open with".

    – user47206
    2 days ago







    In case exe files are not run as expected on (double) click (case implied by the OP, otherwise the question makes no sense), it might also be that no "Wine" program appears when trying to select it from "Open with".

    – user47206
    2 days ago















    1














    Normally simply executing the exe file with (double) click in the file manager should run it through Wine. If for some reason that doesn't happen (beside trying to re-install Wine in order to get the expected behavior) you could do the following:



    In terminal run wine path_to_file.exe.





    In order to run it with (double) click: create a ~/.local/share/application/wine.desktop file with the lines like



    [Desktop Entry]
    Exec=wine %f
    Name=Run in Wine
    Mimetype=application/x-dosexec
    Categories=System;Settings;


    then make Run in Wine the default "application" for exe files (in Dolphin: Properties > (tab) General > Add).





    Alternatively, create a ~.local/share/kservices5/ServiceMenus/run_wine.desktop like



    [Desktop Entry]
    Actions=wine
    Mimetype=application/x-dosexec
    ServiceTypes=KonqPopupMenu/Plugin
    Type=Service
    X-KDE-Priority=TopLevel

    [Desktop Action wine]
    Exec=wine %f
    Name=Run in Wine
    Icon=wine


    in order to have a right-click context menu option ("Service Menu") in Dolphin.





    I cannot test now, as I don't use Wine as we speak, but konsole -e wine %f or sh -c 'wine %f' might be needed for the Exec line.



    If someone can confirm Exec=wine %f works, please comment.






    share|improve this answer






























      1














      Normally simply executing the exe file with (double) click in the file manager should run it through Wine. If for some reason that doesn't happen (beside trying to re-install Wine in order to get the expected behavior) you could do the following:



      In terminal run wine path_to_file.exe.





      In order to run it with (double) click: create a ~/.local/share/application/wine.desktop file with the lines like



      [Desktop Entry]
      Exec=wine %f
      Name=Run in Wine
      Mimetype=application/x-dosexec
      Categories=System;Settings;


      then make Run in Wine the default "application" for exe files (in Dolphin: Properties > (tab) General > Add).





      Alternatively, create a ~.local/share/kservices5/ServiceMenus/run_wine.desktop like



      [Desktop Entry]
      Actions=wine
      Mimetype=application/x-dosexec
      ServiceTypes=KonqPopupMenu/Plugin
      Type=Service
      X-KDE-Priority=TopLevel

      [Desktop Action wine]
      Exec=wine %f
      Name=Run in Wine
      Icon=wine


      in order to have a right-click context menu option ("Service Menu") in Dolphin.





      I cannot test now, as I don't use Wine as we speak, but konsole -e wine %f or sh -c 'wine %f' might be needed for the Exec line.



      If someone can confirm Exec=wine %f works, please comment.






      share|improve this answer




























        1












        1








        1







        Normally simply executing the exe file with (double) click in the file manager should run it through Wine. If for some reason that doesn't happen (beside trying to re-install Wine in order to get the expected behavior) you could do the following:



        In terminal run wine path_to_file.exe.





        In order to run it with (double) click: create a ~/.local/share/application/wine.desktop file with the lines like



        [Desktop Entry]
        Exec=wine %f
        Name=Run in Wine
        Mimetype=application/x-dosexec
        Categories=System;Settings;


        then make Run in Wine the default "application" for exe files (in Dolphin: Properties > (tab) General > Add).





        Alternatively, create a ~.local/share/kservices5/ServiceMenus/run_wine.desktop like



        [Desktop Entry]
        Actions=wine
        Mimetype=application/x-dosexec
        ServiceTypes=KonqPopupMenu/Plugin
        Type=Service
        X-KDE-Priority=TopLevel

        [Desktop Action wine]
        Exec=wine %f
        Name=Run in Wine
        Icon=wine


        in order to have a right-click context menu option ("Service Menu") in Dolphin.





        I cannot test now, as I don't use Wine as we speak, but konsole -e wine %f or sh -c 'wine %f' might be needed for the Exec line.



        If someone can confirm Exec=wine %f works, please comment.






        share|improve this answer















        Normally simply executing the exe file with (double) click in the file manager should run it through Wine. If for some reason that doesn't happen (beside trying to re-install Wine in order to get the expected behavior) you could do the following:



        In terminal run wine path_to_file.exe.





        In order to run it with (double) click: create a ~/.local/share/application/wine.desktop file with the lines like



        [Desktop Entry]
        Exec=wine %f
        Name=Run in Wine
        Mimetype=application/x-dosexec
        Categories=System;Settings;


        then make Run in Wine the default "application" for exe files (in Dolphin: Properties > (tab) General > Add).





        Alternatively, create a ~.local/share/kservices5/ServiceMenus/run_wine.desktop like



        [Desktop Entry]
        Actions=wine
        Mimetype=application/x-dosexec
        ServiceTypes=KonqPopupMenu/Plugin
        Type=Service
        X-KDE-Priority=TopLevel

        [Desktop Action wine]
        Exec=wine %f
        Name=Run in Wine
        Icon=wine


        in order to have a right-click context menu option ("Service Menu") in Dolphin.





        I cannot test now, as I don't use Wine as we speak, but konsole -e wine %f or sh -c 'wine %f' might be needed for the Exec line.



        If someone can confirm Exec=wine %f works, please comment.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 2 days ago

























        answered 2 days ago







        user47206





































            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1111426%2fhow-can-i-run-exe-files-in-dolphin-on-kubuntu%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How did Captain America manage to do this?

            迪纳利

            南乌拉尔铁路局