Post

Ubuntu default program setting

To open the python file on the Linux system, there was inconvenient to open with Vscode because ubuntu basically opened the file with a text editor.

Ubuntu default applications setting tab There was a default program setting tab, but it was meaningless because there was no other option in the checklist.
The solution is simple

  1. Right-click on the file and open the properties
    Ubuntu file properties open with tab
  2. Click the open with… option, which is on the right side of the three options.
    Set as default button in Ubuntu open with tab
  3. Click the application which you want to open with, and Set the program to default with the Set as default button.


Ps. I can not understand why the default program option in the setting exists.

This post is licensed under CC BY 4.0 by the author.