Senin, 18 Maret 2019

reset default application to open with a file ( .crt)





















1






























using Ubuntu 14.04



I have 1 files .crt extension. when I click to open , it open with view file application which displays the certificate information and other details which is fine.



Now I have changed the deafult application from context menu option Open With Other Application and set it to gedit and now can see the file content.



Now I want to reset the default open with the app by View file but there is no such entry in the list of Other Applications.



the property of the file is X.509 Certificate (application/pkix-cert)



Trial 1:



check cat /usr/share/applications/defaults.list but there is no entry for this type ofapplication/extension here



Trial 2:



Tried with ubuntu-tweak tool but there is no option to select view file application for this type of application.



Please help.

















share|improve this question























































    1






























    using Ubuntu 14.04



    I have 1 files .crt extension. when I click to open , it open with view file application which displays the certificate information and other details which is fine.



    Now I have changed the deafult application from context menu option Open With Other Application and set it to gedit and now can see the file content.



    Now I want to reset the default open with the app by View file but there is no such entry in the list of Other Applications.



    the property of the file is X.509 Certificate (application/pkix-cert)



    Trial 1:



    check cat /usr/share/applications/defaults.list but there is no entry for this type ofapplication/extension here



    Trial 2:



    Tried with ubuntu-tweak tool but there is no option to select view file application for this type of application.



    Please help.

















    share|improve this question



















































      1






















      1














      1












      using Ubuntu 14.04



      I have 1 files .crt extension. when I click to open , it open with view file application which displays the certificate information and other details which is fine.



      Now I have changed the deafult application from context menu option Open With Other Application and set it to gedit and now can see the file content.



      Now I want to reset the default open with the app by View file but there is no such entry in the list of Other Applications.



      the property of the file is X.509 Certificate (application/pkix-cert)



      Trial 1:



      check cat /usr/share/applications/defaults.list but there is no entry for this type ofapplication/extension here



      Trial 2:



      Tried with ubuntu-tweak tool but there is no option to select view file application for this type of application.



      Please help.

















      share|improve this question






























      using Ubuntu 14.04



      I have 1 files .crt extension. when I click to open , it open with view file application which displays the certificate information and other details which is fine.



      Now I have changed the deafult application from context menu option Open With Other Application and set it to gedit and now can see the file content.



      Now I want to reset the default open with the app by View file but there is no such entry in the list of Other Applications.



      the property of the file is X.509 Certificate (application/pkix-cert)



      Trial 1:



      check cat /usr/share/applications/defaults.list but there is no entry for this type ofapplication/extension here



      Trial 2:



      Tried with ubuntu-tweak tool but there is no option to select view file application for this type of application.



      Please help.








      14.04 file-association file-type










      share|improve this question



























      share|improve this question























      share|improve this question





      share|improve this question










      edited Apr 20 '17 at 10:39











      diEcho



























      asked Apr 20 '17 at 10:23













      diEchodiEcho



      279315







      279315



































          2 Answers

          2











          active



          oldest



          votes





































          0




























          follow these steps



          sudo gedit ~/.local/share/applications/mimeapps.list



          there is the entry




          [Added Associations]

          application/x-x509-ca-cert=gedit.desktop;

          application/pkcs7-signature=gedit.desktop;

          application/pkix-cert=gedit.desktop;

          application/x-pem-key=gedit.desktop;




          remove above entry and also remove from [Default Assosiations] section and update the file.



          nautilus -q can be executed after this if it doesn't affect quickly









          share|improve this answer





























































            0




























            I am using Ubuntu 18.04
            Right click the file -> Select Property -> Open With -> Reset



            Reset









            share|improve this answer
















            New contributor









            Qingyu Yan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.

            Check out our Code of Conduct.







































              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%2f906969%2freset-default-application-to-open-with-a-file-crt%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

















              0




























              follow these steps



              sudo gedit ~/.local/share/applications/mimeapps.list



              there is the entry




              [Added Associations]

              application/x-x509-ca-cert=gedit.desktop;

              application/pkcs7-signature=gedit.desktop;

              application/pkix-cert=gedit.desktop;

              application/x-pem-key=gedit.desktop;




              remove above entry and also remove from [Default Assosiations] section and update the file.



              nautilus -q can be executed after this if it doesn't affect quickly









              share|improve this answer





















































                0




























                follow these steps



                sudo gedit ~/.local/share/applications/mimeapps.list



                there is the entry




                [Added Associations]

                application/x-x509-ca-cert=gedit.desktop;

                application/pkcs7-signature=gedit.desktop;

                application/pkix-cert=gedit.desktop;

                application/x-pem-key=gedit.desktop;




                remove above entry and also remove from [Default Assosiations] section and update the file.



                nautilus -q can be executed after this if it doesn't affect quickly









                share|improve this answer

















































                  0






















                  0














                  0










                  follow these steps



                  sudo gedit ~/.local/share/applications/mimeapps.list



                  there is the entry




                  [Added Associations]

                  application/x-x509-ca-cert=gedit.desktop;

                  application/pkcs7-signature=gedit.desktop;

                  application/pkix-cert=gedit.desktop;

                  application/x-pem-key=gedit.desktop;




                  remove above entry and also remove from [Default Assosiations] section and update the file.



                  nautilus -q can be executed after this if it doesn't affect quickly









                  share|improve this answer
























                  follow these steps



                  sudo gedit ~/.local/share/applications/mimeapps.list



                  there is the entry




                  [Added Associations]

                  application/x-x509-ca-cert=gedit.desktop;

                  application/pkcs7-signature=gedit.desktop;

                  application/pkix-cert=gedit.desktop;

                  application/x-pem-key=gedit.desktop;




                  remove above entry and also remove from [Default Assosiations] section and update the file.



                  nautilus -q can be executed after this if it doesn't affect quickly









                  share|improve this answer





















                  share|improve this answer



                  share|improve this answer














                  answered Apr 27 '17 at 10:18













                  diEchodiEcho



                  279315







                  279315







































                      0




























                      I am using Ubuntu 18.04
                      Right click the file -> Select Property -> Open With -> Reset



                      Reset









                      share|improve this answer
















                      New contributor









                      Qingyu Yan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.

                      Check out our Code of Conduct.















































                        0




























                        I am using Ubuntu 18.04
                        Right click the file -> Select Property -> Open With -> Reset



                        Reset









                        share|improve this answer
















                        New contributor









                        Qingyu Yan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.

                        Check out our Code of Conduct.











































                          0






















                          0














                          0










                          I am using Ubuntu 18.04
                          Right click the file -> Select Property -> Open With -> Reset



                          Reset









                          share|improve this answer
















                          New contributor









                          Qingyu Yan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.

                          Check out our Code of Conduct.


















                          I am using Ubuntu 18.04
                          Right click the file -> Select Property -> Open With -> Reset



                          Reset









                          share|improve this answer
















                          New contributor









                          Qingyu Yan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.

                          Check out our Code of Conduct.















                          share|improve this answer



                          share|improve this answer










                          New contributor









                          Qingyu Yan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.

                          Check out our Code of Conduct.














                          answered 42 mins ago













                          Qingyu YanQingyu Yan



                          1







                          1







                          New contributor









                          Qingyu Yan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.

                          Check out our Code of Conduct.








                          New contributor









                          Qingyu Yan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.

                          Check out our Code of Conduct.








                          Qingyu Yan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.

                          Check out our Code of Conduct.

















































                              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%2f906969%2freset-default-application-to-open-with-a-file-crt%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









                              reset default application to open with a file ( .crt) Rating: 4.5 Diposkan Oleh: Admin

                              0 komentar:

                              Posting Komentar

                              Popular Posts