3

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.

1

I am using Ubuntu 18.04. Right click the file → Select Property → Open With → Reset

Reset

| improve this answer | |
0

The default applicaiont is 'gcr-viewer'.

| improve this answer | |
  • Hello, and welcome to AU! This would be more appropriate as a comment on the original question, as it doesn't provide a full answer. Thanks! – captainGeech Oct 4 at 6:37
0

Follow these steps

sudo edit ~/.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 Associations] section and update the file.

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.