Files associations (MIME) in Ubuntu 18.04“The location is not a folder” error when opening filesWhere is the file used by file(1) and libmagic to determine mime types?Kubuntu 12.04 Firefox and Rekong don't know how to open downloaded filesHow does Ubuntu create “user-defined” file associations?Broken file type associations after running update-mime-databasexoj (Xournal) files handled as gzip despite presence of correct MIME typeNautilus and Nemo don't recognize python 3 filesWhich *.desktop files belong where?

Were the arches on medieval bridges large enough to permit river traffic?

What is an idiom, phrase or expression for situation such as "throw a pigeon among cats"

Why didn't Petunia know that Harry wasn't supposed to use magic out of school?

Replace long GROUP BY list with a subquery

What does 'Rocket is in self align' mean?

Is this really played by 2200+ players?

A Proposed Converse to A Theorem on Products of Limits

Bass - describe attacking one note in one or more bars

Flatten an array

How would a race of humanoids with tails design [vehicle] seats?

RX vs TX operation in Software UART

Teaching asymptotic notations at the beginning of Calculus

Find the closest enemy

Implement the 2D Hadamard Transform

What kind of mathematical disciplines would be most useful for physics?

How to get to Antarctica without using a travel company

Heat-shrink tubing available as a roll like adhesive tape?

Is there a minimal approach speed for airliners during rush hour?

Deadlock Graph - Surviving Statement inputbuf does not show the object that was locked

Is rent considered a debt?

Was Hitler exclaiming "Heil Hitler!" himself when saluting?

What is Noita downloading every time I quit the game?

Why does the likelihood function of a binomial distribution not include the combinatorics term?

I love fishing, dancing, playing, crafting, and fighting



Files associations (MIME) in Ubuntu 18.04


“The location is not a folder” error when opening filesWhere is the file used by file(1) and libmagic to determine mime types?Kubuntu 12.04 Firefox and Rekong don't know how to open downloaded filesHow does Ubuntu create “user-defined” file associations?Broken file type associations after running update-mime-databasexoj (Xournal) files handled as gzip despite presence of correct MIME typeNautilus and Nemo don't recognize python 3 filesWhich *.desktop files belong where?






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









0

















I'm trying to figure out how files associations work in Ubuntu 18.04.



I looked around the web (quite a lot actually) and found these files:



  • [A] /etc/gnome/defaults.list

  • [B/usr/share/applications/defaults.list

  • [C] ~/.config/mimeapps.list

  • [D] ~/.local/share/applications/mimeapps.list

One of the most informative pages I found is ArchLinux XDG MIME Applications.



A and B have the same content on a fresh install but there isn't a symbolic link from one to the other. I understand that A is for Gnome desktop and B is the distribution override.



So my question is about the user override:




  • Gnome documentation says that D is the user override


  • ArchLinux XDG MIME Applications says that D is deprecated


  • D doesn't exist anymore in 18.04 (I think it did in Ubuntu 16.04), only C

I'm then asking:



  1. Which one should I use between C and D?

  2. Bonus: What's the history of these files?

Thanks!










share|improve this question
































    0

















    I'm trying to figure out how files associations work in Ubuntu 18.04.



    I looked around the web (quite a lot actually) and found these files:



    • [A] /etc/gnome/defaults.list

    • [B/usr/share/applications/defaults.list

    • [C] ~/.config/mimeapps.list

    • [D] ~/.local/share/applications/mimeapps.list

    One of the most informative pages I found is ArchLinux XDG MIME Applications.



    A and B have the same content on a fresh install but there isn't a symbolic link from one to the other. I understand that A is for Gnome desktop and B is the distribution override.



    So my question is about the user override:




    • Gnome documentation says that D is the user override


    • ArchLinux XDG MIME Applications says that D is deprecated


    • D doesn't exist anymore in 18.04 (I think it did in Ubuntu 16.04), only C

    I'm then asking:



    1. Which one should I use between C and D?

    2. Bonus: What's the history of these files?

    Thanks!










    share|improve this question




























      0












      0








      0


      1






      I'm trying to figure out how files associations work in Ubuntu 18.04.



      I looked around the web (quite a lot actually) and found these files:



      • [A] /etc/gnome/defaults.list

      • [B/usr/share/applications/defaults.list

      • [C] ~/.config/mimeapps.list

      • [D] ~/.local/share/applications/mimeapps.list

      One of the most informative pages I found is ArchLinux XDG MIME Applications.



      A and B have the same content on a fresh install but there isn't a symbolic link from one to the other. I understand that A is for Gnome desktop and B is the distribution override.



      So my question is about the user override:




      • Gnome documentation says that D is the user override


      • ArchLinux XDG MIME Applications says that D is deprecated


      • D doesn't exist anymore in 18.04 (I think it did in Ubuntu 16.04), only C

      I'm then asking:



      1. Which one should I use between C and D?

      2. Bonus: What's the history of these files?

      Thanks!










      share|improve this question















      I'm trying to figure out how files associations work in Ubuntu 18.04.



      I looked around the web (quite a lot actually) and found these files:



      • [A] /etc/gnome/defaults.list

      • [B/usr/share/applications/defaults.list

      • [C] ~/.config/mimeapps.list

      • [D] ~/.local/share/applications/mimeapps.list

      One of the most informative pages I found is ArchLinux XDG MIME Applications.



      A and B have the same content on a fresh install but there isn't a symbolic link from one to the other. I understand that A is for Gnome desktop and B is the distribution override.



      So my question is about the user override:




      • Gnome documentation says that D is the user override


      • ArchLinux XDG MIME Applications says that D is deprecated


      • D doesn't exist anymore in 18.04 (I think it did in Ubuntu 16.04), only C

      I'm then asking:



      1. Which one should I use between C and D?

      2. Bonus: What's the history of these files?

      Thanks!







      gnome-shell mime-type file-association






      share|improve this question














      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 20 '18 at 13:14









      ddidierddidier

      2132 silver badges8 bronze badges




      2132 silver badges8 bronze badges























          1 Answer
          1






          active

          oldest

          votes


















          0


















          Not sure if your list is extensive. If however your want to look extensively for all possible list try: sudo grep --include *.list -rnw '/.' -e "extension_looking_for" This is going to take quite some time but will deliver all possible lists






          share|improve this answer


























          • correction - I meant exhaustive

            – frank
            May 29 at 5:10












          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/4.0/"u003ecc by-sa 4.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%2f1094520%2ffiles-associations-mime-in-ubuntu-18-04%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown


























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0


















          Not sure if your list is extensive. If however your want to look extensively for all possible list try: sudo grep --include *.list -rnw '/.' -e "extension_looking_for" This is going to take quite some time but will deliver all possible lists






          share|improve this answer


























          • correction - I meant exhaustive

            – frank
            May 29 at 5:10















          0


















          Not sure if your list is extensive. If however your want to look extensively for all possible list try: sudo grep --include *.list -rnw '/.' -e "extension_looking_for" This is going to take quite some time but will deliver all possible lists






          share|improve this answer


























          • correction - I meant exhaustive

            – frank
            May 29 at 5:10













          0














          0










          0









          Not sure if your list is extensive. If however your want to look extensively for all possible list try: sudo grep --include *.list -rnw '/.' -e "extension_looking_for" This is going to take quite some time but will deliver all possible lists






          share|improve this answer














          Not sure if your list is extensive. If however your want to look extensively for all possible list try: sudo grep --include *.list -rnw '/.' -e "extension_looking_for" This is going to take quite some time but will deliver all possible lists







          share|improve this answer













          share|improve this answer




          share|improve this answer










          answered May 29 at 5:09









          frankfrank

          12 bronze badges




          12 bronze badges















          • correction - I meant exhaustive

            – frank
            May 29 at 5:10

















          • correction - I meant exhaustive

            – frank
            May 29 at 5:10
















          correction - I meant exhaustive

          – frank
          May 29 at 5:10





          correction - I meant exhaustive

          – frank
          May 29 at 5:10


















          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%2f1094520%2ffiles-associations-mime-in-ubuntu-18-04%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

          Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

          How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

          Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü