Configuring File Associations in Ubuntu with Wine Announcing the arrival of Valued Associate...

porting install scripts : can rpm replace apt?

What's the purpose of writing one's academic biography in the third person?

What does this icon in iOS Stardew Valley mean?

How do pianists reach extremely loud dynamics?

What causes the vertical darker bands in my photo?

How come Sam didn't become Lord of Horn Hill?

Output the ŋarâþ crîþ alphabet song without using (m)any letters

Apollo command module space walk?

How can I make names more distinctive without making them longer?

Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?

Using audio cues to encourage good posture

How to answer "Have you ever been terminated?"

List *all* the tuples!

What are the pros and cons of Aerospike nosecones?

Single word antonym of "flightless"

Coloring maths inside a tcolorbox

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

Why did the Falcon Heavy center core fall off the ASDS OCISLY barge?

Why is my conclusion inconsistent with the van't Hoff equation?

How to tell that you are a giant?

In predicate logic, does existential quantification (∃) include universal quantification (∀), i.e. can 'some' imply 'all'?

Storing hydrofluoric acid before the invention of plastics

What is Wonderstone and are there any references to it pre-1982?

How to find all the available tools in mac terminal?



Configuring File Associations in Ubuntu with Wine



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionOptimal Setup for Windows & Linux - Sharing and PartitioningHow to add a software to the list under “open with” other applications in Linux Mint 16?Installing graphics drivers on ubuntuAccessing Pendrive in Ubuntu using Wineoffice 2007 under wine: available for all user accounts?Packaging Windows Application with Wine in deb and rpm formatRunning many consecutive exes with wine, fastWine + Controller (x360ce)Problems on Ubuntu Budgie 17.04 with Ryzen CPU and Gigabyte Motherboardhow to handle broken XML Microsoft Office Word documentsSafety guidelines to using MS Office with Wine on LinuxHow to install wine on ubuntu?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







6















Related to this question, I have Ubuntu 20.04.1 LTS. I downloaded PlayOnLinux 4.1.9 (the Precise version) and used it to install Microsoft Office 2010 Pro. PlayOnLinux downloaded Wine 1.5.21 and whatever else it needed to install office. I did a customized installation and it seems to work fine. The only issue is now that I can't quite get file associations to work correctly. So for example, if I have a .docx document, I want to be able to just double click it and have it open with Microsoft Word. When I try to do that I get an error saying "IOPL not enabled" and the document never opens. I googled it and everyone said to open up wine configuration, go to libraries, add gdiplus and edit it to "Native (Windows)" but this still hasn't fixed the problem. I have no idea what this is or how it is supposed to work but can someone who does, please help. Currently I have to start Word and then use it to open up the document. That works fine.










share|improve this question































    6















    Related to this question, I have Ubuntu 20.04.1 LTS. I downloaded PlayOnLinux 4.1.9 (the Precise version) and used it to install Microsoft Office 2010 Pro. PlayOnLinux downloaded Wine 1.5.21 and whatever else it needed to install office. I did a customized installation and it seems to work fine. The only issue is now that I can't quite get file associations to work correctly. So for example, if I have a .docx document, I want to be able to just double click it and have it open with Microsoft Word. When I try to do that I get an error saying "IOPL not enabled" and the document never opens. I googled it and everyone said to open up wine configuration, go to libraries, add gdiplus and edit it to "Native (Windows)" but this still hasn't fixed the problem. I have no idea what this is or how it is supposed to work but can someone who does, please help. Currently I have to start Word and then use it to open up the document. That works fine.










    share|improve this question



























      6












      6








      6








      Related to this question, I have Ubuntu 20.04.1 LTS. I downloaded PlayOnLinux 4.1.9 (the Precise version) and used it to install Microsoft Office 2010 Pro. PlayOnLinux downloaded Wine 1.5.21 and whatever else it needed to install office. I did a customized installation and it seems to work fine. The only issue is now that I can't quite get file associations to work correctly. So for example, if I have a .docx document, I want to be able to just double click it and have it open with Microsoft Word. When I try to do that I get an error saying "IOPL not enabled" and the document never opens. I googled it and everyone said to open up wine configuration, go to libraries, add gdiplus and edit it to "Native (Windows)" but this still hasn't fixed the problem. I have no idea what this is or how it is supposed to work but can someone who does, please help. Currently I have to start Word and then use it to open up the document. That works fine.










      share|improve this question
















      Related to this question, I have Ubuntu 20.04.1 LTS. I downloaded PlayOnLinux 4.1.9 (the Precise version) and used it to install Microsoft Office 2010 Pro. PlayOnLinux downloaded Wine 1.5.21 and whatever else it needed to install office. I did a customized installation and it seems to work fine. The only issue is now that I can't quite get file associations to work correctly. So for example, if I have a .docx document, I want to be able to just double click it and have it open with Microsoft Word. When I try to do that I get an error saying "IOPL not enabled" and the document never opens. I googled it and everyone said to open up wine configuration, go to libraries, add gdiplus and edit it to "Native (Windows)" but this still hasn't fixed the problem. I have no idea what this is or how it is supposed to work but can someone who does, please help. Currently I have to start Word and then use it to open up the document. That works fine.







      ubuntu files windows wine






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 5 hours ago









      Rui F Ribeiro

      42.1k1484142




      42.1k1484142










      asked Jan 18 '13 at 9:15









      Fixed PointFixed Point

      26848




      26848






















          3 Answers
          3






          active

          oldest

          votes


















          1














          This is done by creating a small script and then associating it with that file type via 'Open with '. This is available in most desktop environments by rightclicking on one .docx file for example and using the upcoming menu.



          Examples and details on how to create such a script can be found in the ubuntu documentation: https://help.ubuntu.com/community/Wine#Creating_file_associations






          share|improve this answer


























          • That script won't work with software installed using PlayOnLinux, since PoL does not use the default wine prefix (it actually does not even use the default wine executable, it downloads and configures a whole new wine for each app).

            – MestreLion
            Apr 26 '13 at 10:15











          • It is also a useless script for "vanilla" wine, since wine already creates .desktop file associations for all files registered by an installed windows software, so .docx would already be in the "Open with" list of any desktop environments that follow the freedesktop standard file association

            – MestreLion
            Apr 26 '13 at 10:17











          • (not to mention that is a very poorly written script... in only 5 lines it manages to break about a dozen shell scripting good practices and conventions... $*, exit 0, cap (useless) vars, ewww)

            – MestreLion
            Apr 26 '13 at 10:23



















          0














          Are your .docx files marked as executable?



          (you can check this by right-clicking the file and going Properties > Permissions > Execute checkbox)



          Does .doc files open fine when double-clicked?



          If you answer 'yes' to both questions, you may be experiencing this, which is related to this nasty bug.



          Disabling jar using update-binfmts, as suggested in both links, works great as a permanent fix, but it is also quite technical and a bit intrusive.



          A simpler workaround is to uncheck the executable permission in your files. Not, however, that this will not work for files in NTFS or FAT partitions, which is a very common scenario for windows-related files such as docx. If so, you could try re-mounting your NTFS drive using the noexec mount option, which will effectively disable execution permission for all files and thus allow docx files to be opened rather than executed (which does not work anyway, since documents are not binary executables)






          share|improve this answer































            0














            In my case it created a scrip file for every file type that each particular office program handles. So for example there is one for Word to open .doc and .docx . It was quite nice of PoL to do this however when using the open with menu there are a dozen or so different entries for each office aplication yet they only have the title of the main program but not the extension that is directly asociated.



            Select Application list window






            share|improve this answer
























            • Do you have an answer to the question?  It looks like you’re just saying that you also have the problem.

              – Scott
              Nov 17 '18 at 4:36












            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f61725%2fconfiguring-file-associations-in-ubuntu-with-wine%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            This is done by creating a small script and then associating it with that file type via 'Open with '. This is available in most desktop environments by rightclicking on one .docx file for example and using the upcoming menu.



            Examples and details on how to create such a script can be found in the ubuntu documentation: https://help.ubuntu.com/community/Wine#Creating_file_associations






            share|improve this answer


























            • That script won't work with software installed using PlayOnLinux, since PoL does not use the default wine prefix (it actually does not even use the default wine executable, it downloads and configures a whole new wine for each app).

              – MestreLion
              Apr 26 '13 at 10:15











            • It is also a useless script for "vanilla" wine, since wine already creates .desktop file associations for all files registered by an installed windows software, so .docx would already be in the "Open with" list of any desktop environments that follow the freedesktop standard file association

              – MestreLion
              Apr 26 '13 at 10:17











            • (not to mention that is a very poorly written script... in only 5 lines it manages to break about a dozen shell scripting good practices and conventions... $*, exit 0, cap (useless) vars, ewww)

              – MestreLion
              Apr 26 '13 at 10:23
















            1














            This is done by creating a small script and then associating it with that file type via 'Open with '. This is available in most desktop environments by rightclicking on one .docx file for example and using the upcoming menu.



            Examples and details on how to create such a script can be found in the ubuntu documentation: https://help.ubuntu.com/community/Wine#Creating_file_associations






            share|improve this answer


























            • That script won't work with software installed using PlayOnLinux, since PoL does not use the default wine prefix (it actually does not even use the default wine executable, it downloads and configures a whole new wine for each app).

              – MestreLion
              Apr 26 '13 at 10:15











            • It is also a useless script for "vanilla" wine, since wine already creates .desktop file associations for all files registered by an installed windows software, so .docx would already be in the "Open with" list of any desktop environments that follow the freedesktop standard file association

              – MestreLion
              Apr 26 '13 at 10:17











            • (not to mention that is a very poorly written script... in only 5 lines it manages to break about a dozen shell scripting good practices and conventions... $*, exit 0, cap (useless) vars, ewww)

              – MestreLion
              Apr 26 '13 at 10:23














            1












            1








            1







            This is done by creating a small script and then associating it with that file type via 'Open with '. This is available in most desktop environments by rightclicking on one .docx file for example and using the upcoming menu.



            Examples and details on how to create such a script can be found in the ubuntu documentation: https://help.ubuntu.com/community/Wine#Creating_file_associations






            share|improve this answer















            This is done by creating a small script and then associating it with that file type via 'Open with '. This is available in most desktop environments by rightclicking on one .docx file for example and using the upcoming menu.



            Examples and details on how to create such a script can be found in the ubuntu documentation: https://help.ubuntu.com/community/Wine#Creating_file_associations







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Apr 6 '13 at 4:40

























            answered Apr 5 '13 at 15:22









            superuser0superuser0

            1,1441719




            1,1441719













            • That script won't work with software installed using PlayOnLinux, since PoL does not use the default wine prefix (it actually does not even use the default wine executable, it downloads and configures a whole new wine for each app).

              – MestreLion
              Apr 26 '13 at 10:15











            • It is also a useless script for "vanilla" wine, since wine already creates .desktop file associations for all files registered by an installed windows software, so .docx would already be in the "Open with" list of any desktop environments that follow the freedesktop standard file association

              – MestreLion
              Apr 26 '13 at 10:17











            • (not to mention that is a very poorly written script... in only 5 lines it manages to break about a dozen shell scripting good practices and conventions... $*, exit 0, cap (useless) vars, ewww)

              – MestreLion
              Apr 26 '13 at 10:23



















            • That script won't work with software installed using PlayOnLinux, since PoL does not use the default wine prefix (it actually does not even use the default wine executable, it downloads and configures a whole new wine for each app).

              – MestreLion
              Apr 26 '13 at 10:15











            • It is also a useless script for "vanilla" wine, since wine already creates .desktop file associations for all files registered by an installed windows software, so .docx would already be in the "Open with" list of any desktop environments that follow the freedesktop standard file association

              – MestreLion
              Apr 26 '13 at 10:17











            • (not to mention that is a very poorly written script... in only 5 lines it manages to break about a dozen shell scripting good practices and conventions... $*, exit 0, cap (useless) vars, ewww)

              – MestreLion
              Apr 26 '13 at 10:23

















            That script won't work with software installed using PlayOnLinux, since PoL does not use the default wine prefix (it actually does not even use the default wine executable, it downloads and configures a whole new wine for each app).

            – MestreLion
            Apr 26 '13 at 10:15





            That script won't work with software installed using PlayOnLinux, since PoL does not use the default wine prefix (it actually does not even use the default wine executable, it downloads and configures a whole new wine for each app).

            – MestreLion
            Apr 26 '13 at 10:15













            It is also a useless script for "vanilla" wine, since wine already creates .desktop file associations for all files registered by an installed windows software, so .docx would already be in the "Open with" list of any desktop environments that follow the freedesktop standard file association

            – MestreLion
            Apr 26 '13 at 10:17





            It is also a useless script for "vanilla" wine, since wine already creates .desktop file associations for all files registered by an installed windows software, so .docx would already be in the "Open with" list of any desktop environments that follow the freedesktop standard file association

            – MestreLion
            Apr 26 '13 at 10:17













            (not to mention that is a very poorly written script... in only 5 lines it manages to break about a dozen shell scripting good practices and conventions... $*, exit 0, cap (useless) vars, ewww)

            – MestreLion
            Apr 26 '13 at 10:23





            (not to mention that is a very poorly written script... in only 5 lines it manages to break about a dozen shell scripting good practices and conventions... $*, exit 0, cap (useless) vars, ewww)

            – MestreLion
            Apr 26 '13 at 10:23













            0














            Are your .docx files marked as executable?



            (you can check this by right-clicking the file and going Properties > Permissions > Execute checkbox)



            Does .doc files open fine when double-clicked?



            If you answer 'yes' to both questions, you may be experiencing this, which is related to this nasty bug.



            Disabling jar using update-binfmts, as suggested in both links, works great as a permanent fix, but it is also quite technical and a bit intrusive.



            A simpler workaround is to uncheck the executable permission in your files. Not, however, that this will not work for files in NTFS or FAT partitions, which is a very common scenario for windows-related files such as docx. If so, you could try re-mounting your NTFS drive using the noexec mount option, which will effectively disable execution permission for all files and thus allow docx files to be opened rather than executed (which does not work anyway, since documents are not binary executables)






            share|improve this answer




























              0














              Are your .docx files marked as executable?



              (you can check this by right-clicking the file and going Properties > Permissions > Execute checkbox)



              Does .doc files open fine when double-clicked?



              If you answer 'yes' to both questions, you may be experiencing this, which is related to this nasty bug.



              Disabling jar using update-binfmts, as suggested in both links, works great as a permanent fix, but it is also quite technical and a bit intrusive.



              A simpler workaround is to uncheck the executable permission in your files. Not, however, that this will not work for files in NTFS or FAT partitions, which is a very common scenario for windows-related files such as docx. If so, you could try re-mounting your NTFS drive using the noexec mount option, which will effectively disable execution permission for all files and thus allow docx files to be opened rather than executed (which does not work anyway, since documents are not binary executables)






              share|improve this answer


























                0












                0








                0







                Are your .docx files marked as executable?



                (you can check this by right-clicking the file and going Properties > Permissions > Execute checkbox)



                Does .doc files open fine when double-clicked?



                If you answer 'yes' to both questions, you may be experiencing this, which is related to this nasty bug.



                Disabling jar using update-binfmts, as suggested in both links, works great as a permanent fix, but it is also quite technical and a bit intrusive.



                A simpler workaround is to uncheck the executable permission in your files. Not, however, that this will not work for files in NTFS or FAT partitions, which is a very common scenario for windows-related files such as docx. If so, you could try re-mounting your NTFS drive using the noexec mount option, which will effectively disable execution permission for all files and thus allow docx files to be opened rather than executed (which does not work anyway, since documents are not binary executables)






                share|improve this answer













                Are your .docx files marked as executable?



                (you can check this by right-clicking the file and going Properties > Permissions > Execute checkbox)



                Does .doc files open fine when double-clicked?



                If you answer 'yes' to both questions, you may be experiencing this, which is related to this nasty bug.



                Disabling jar using update-binfmts, as suggested in both links, works great as a permanent fix, but it is also quite technical and a bit intrusive.



                A simpler workaround is to uncheck the executable permission in your files. Not, however, that this will not work for files in NTFS or FAT partitions, which is a very common scenario for windows-related files such as docx. If so, you could try re-mounting your NTFS drive using the noexec mount option, which will effectively disable execution permission for all files and thus allow docx files to be opened rather than executed (which does not work anyway, since documents are not binary executables)







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 26 '13 at 10:36









                MestreLionMestreLion

                730712




                730712























                    0














                    In my case it created a scrip file for every file type that each particular office program handles. So for example there is one for Word to open .doc and .docx . It was quite nice of PoL to do this however when using the open with menu there are a dozen or so different entries for each office aplication yet they only have the title of the main program but not the extension that is directly asociated.



                    Select Application list window






                    share|improve this answer
























                    • Do you have an answer to the question?  It looks like you’re just saying that you also have the problem.

                      – Scott
                      Nov 17 '18 at 4:36
















                    0














                    In my case it created a scrip file for every file type that each particular office program handles. So for example there is one for Word to open .doc and .docx . It was quite nice of PoL to do this however when using the open with menu there are a dozen or so different entries for each office aplication yet they only have the title of the main program but not the extension that is directly asociated.



                    Select Application list window






                    share|improve this answer
























                    • Do you have an answer to the question?  It looks like you’re just saying that you also have the problem.

                      – Scott
                      Nov 17 '18 at 4:36














                    0












                    0








                    0







                    In my case it created a scrip file for every file type that each particular office program handles. So for example there is one for Word to open .doc and .docx . It was quite nice of PoL to do this however when using the open with menu there are a dozen or so different entries for each office aplication yet they only have the title of the main program but not the extension that is directly asociated.



                    Select Application list window






                    share|improve this answer













                    In my case it created a scrip file for every file type that each particular office program handles. So for example there is one for Word to open .doc and .docx . It was quite nice of PoL to do this however when using the open with menu there are a dozen or so different entries for each office aplication yet they only have the title of the main program but not the extension that is directly asociated.



                    Select Application list window







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Nov 17 '18 at 4:28









                    Andor UgaldeAndor Ugalde

                    11




                    11













                    • Do you have an answer to the question?  It looks like you’re just saying that you also have the problem.

                      – Scott
                      Nov 17 '18 at 4:36



















                    • Do you have an answer to the question?  It looks like you’re just saying that you also have the problem.

                      – Scott
                      Nov 17 '18 at 4:36

















                    Do you have an answer to the question?  It looks like you’re just saying that you also have the problem.

                    – Scott
                    Nov 17 '18 at 4:36





                    Do you have an answer to the question?  It looks like you’re just saying that you also have the problem.

                    – Scott
                    Nov 17 '18 at 4:36


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • 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%2funix.stackexchange.com%2fquestions%2f61725%2fconfiguring-file-associations-in-ubuntu-with-wine%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

                    Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                    Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                    Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...