Nautilus treats OpenOffice Files as Archives/Opens with Archive Manager

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












I recently installed OpenOffice, replacing LibreOffice. Nautilus treats .ods and .odt files as archives, and opens them with the Archive Manager. OpenOffice does not show up as an available application (either in File name >Properties >3rd Tab >Open with; OR with Right click file name >Open with).



How can I add OpenOffice to the list of available applications?



I'm running Ubuntu 16.04, and OpenOffice 4.










share|improve this question

























    up vote
    1
    down vote

    favorite












    I recently installed OpenOffice, replacing LibreOffice. Nautilus treats .ods and .odt files as archives, and opens them with the Archive Manager. OpenOffice does not show up as an available application (either in File name >Properties >3rd Tab >Open with; OR with Right click file name >Open with).



    How can I add OpenOffice to the list of available applications?



    I'm running Ubuntu 16.04, and OpenOffice 4.










    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I recently installed OpenOffice, replacing LibreOffice. Nautilus treats .ods and .odt files as archives, and opens them with the Archive Manager. OpenOffice does not show up as an available application (either in File name >Properties >3rd Tab >Open with; OR with Right click file name >Open with).



      How can I add OpenOffice to the list of available applications?



      I'm running Ubuntu 16.04, and OpenOffice 4.










      share|improve this question













      I recently installed OpenOffice, replacing LibreOffice. Nautilus treats .ods and .odt files as archives, and opens them with the Archive Manager. OpenOffice does not show up as an available application (either in File name >Properties >3rd Tab >Open with; OR with Right click file name >Open with).



      How can I add OpenOffice to the list of available applications?



      I'm running Ubuntu 16.04, and OpenOffice 4.







      nautilus






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 20 at 17:41









      mxr

      255




      255




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          In usrshareapplications there are .desktop files for LibreOffice, e.g. libreoffice-writer.desktop. There should be similar files for OpenOffice, which should be installed from the package DEBS/desktop-integration/. If that does not work, you can manually copy the existing LibreOffice desktop files and modify them for the Open Office applications.



          These .desktop files add items to the Open with menu. Alternatively, there are similar files in homeuser.localshareapplications which can be used to add menu entries for a mime type. For example, the following was written to open a JSON file in wine with JSONedit (which had been copied to a local directory, WinApps), and the file was saved as wine-extension-json.desktop:



          [Desktop Entry]
          Type=Application
          Name=JSONedit
          MimeType=document/json;
          Exec=wine "/home/user/Winapps/jsonedit/JSONedit.exe" z:%f
          NoDisplay=true
          StartupNotify=true
          Icon=/usr/share/icons/oxygen/48x48/apps/kdf.png






          share|improve this answer




















          • Thanks. (Re)installing desktop-integration did the job.
            – mxr
            Mar 21 at 5:32










          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',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          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%2f1017704%2fnautilus-treats-openoffice-files-as-archives-opens-with-archive-manager%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          In usrshareapplications there are .desktop files for LibreOffice, e.g. libreoffice-writer.desktop. There should be similar files for OpenOffice, which should be installed from the package DEBS/desktop-integration/. If that does not work, you can manually copy the existing LibreOffice desktop files and modify them for the Open Office applications.



          These .desktop files add items to the Open with menu. Alternatively, there are similar files in homeuser.localshareapplications which can be used to add menu entries for a mime type. For example, the following was written to open a JSON file in wine with JSONedit (which had been copied to a local directory, WinApps), and the file was saved as wine-extension-json.desktop:



          [Desktop Entry]
          Type=Application
          Name=JSONedit
          MimeType=document/json;
          Exec=wine "/home/user/Winapps/jsonedit/JSONedit.exe" z:%f
          NoDisplay=true
          StartupNotify=true
          Icon=/usr/share/icons/oxygen/48x48/apps/kdf.png






          share|improve this answer




















          • Thanks. (Re)installing desktop-integration did the job.
            – mxr
            Mar 21 at 5:32














          up vote
          0
          down vote













          In usrshareapplications there are .desktop files for LibreOffice, e.g. libreoffice-writer.desktop. There should be similar files for OpenOffice, which should be installed from the package DEBS/desktop-integration/. If that does not work, you can manually copy the existing LibreOffice desktop files and modify them for the Open Office applications.



          These .desktop files add items to the Open with menu. Alternatively, there are similar files in homeuser.localshareapplications which can be used to add menu entries for a mime type. For example, the following was written to open a JSON file in wine with JSONedit (which had been copied to a local directory, WinApps), and the file was saved as wine-extension-json.desktop:



          [Desktop Entry]
          Type=Application
          Name=JSONedit
          MimeType=document/json;
          Exec=wine "/home/user/Winapps/jsonedit/JSONedit.exe" z:%f
          NoDisplay=true
          StartupNotify=true
          Icon=/usr/share/icons/oxygen/48x48/apps/kdf.png






          share|improve this answer




















          • Thanks. (Re)installing desktop-integration did the job.
            – mxr
            Mar 21 at 5:32












          up vote
          0
          down vote










          up vote
          0
          down vote









          In usrshareapplications there are .desktop files for LibreOffice, e.g. libreoffice-writer.desktop. There should be similar files for OpenOffice, which should be installed from the package DEBS/desktop-integration/. If that does not work, you can manually copy the existing LibreOffice desktop files and modify them for the Open Office applications.



          These .desktop files add items to the Open with menu. Alternatively, there are similar files in homeuser.localshareapplications which can be used to add menu entries for a mime type. For example, the following was written to open a JSON file in wine with JSONedit (which had been copied to a local directory, WinApps), and the file was saved as wine-extension-json.desktop:



          [Desktop Entry]
          Type=Application
          Name=JSONedit
          MimeType=document/json;
          Exec=wine "/home/user/Winapps/jsonedit/JSONedit.exe" z:%f
          NoDisplay=true
          StartupNotify=true
          Icon=/usr/share/icons/oxygen/48x48/apps/kdf.png






          share|improve this answer












          In usrshareapplications there are .desktop files for LibreOffice, e.g. libreoffice-writer.desktop. There should be similar files for OpenOffice, which should be installed from the package DEBS/desktop-integration/. If that does not work, you can manually copy the existing LibreOffice desktop files and modify them for the Open Office applications.



          These .desktop files add items to the Open with menu. Alternatively, there are similar files in homeuser.localshareapplications which can be used to add menu entries for a mime type. For example, the following was written to open a JSON file in wine with JSONedit (which had been copied to a local directory, WinApps), and the file was saved as wine-extension-json.desktop:



          [Desktop Entry]
          Type=Application
          Name=JSONedit
          MimeType=document/json;
          Exec=wine "/home/user/Winapps/jsonedit/JSONedit.exe" z:%f
          NoDisplay=true
          StartupNotify=true
          Icon=/usr/share/icons/oxygen/48x48/apps/kdf.png







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 20 at 18:35









          DrMoishe Pippik

          1084




          1084











          • Thanks. (Re)installing desktop-integration did the job.
            – mxr
            Mar 21 at 5:32
















          • Thanks. (Re)installing desktop-integration did the job.
            – mxr
            Mar 21 at 5:32















          Thanks. (Re)installing desktop-integration did the job.
          – mxr
          Mar 21 at 5:32




          Thanks. (Re)installing desktop-integration did the job.
          – mxr
          Mar 21 at 5:32

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1017704%2fnautilus-treats-openoffice-files-as-archives-opens-with-archive-manager%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491