Home  >  Article  >  System Tutorial  >  How to modify the default opening method of Linux files?

How to modify the default opening method of Linux files?

PHPz
PHPzforward
2023-12-29 21:53:59908browse

What should I do if I want to change the default opening method for files in the Linux system? In fact, Linux also provides file associations similar to those in Windows systems to set the default opening method of files. Let's take a look at the detailed tutorial below.

1. First, click "Control Center"

on the taskbar.

How to modify the default opening method of Linux files?

2. Click "Default Program" in "Control Center"

How to modify the default opening method of Linux files?

3. Then click the small arrow on the right side of "Default Program".

How to modify the default opening method of Linux files?

4. Enter the "Default Program" setting interface and find the file type you want to set.

How to modify the default opening method of Linux files?

5. Then, click on the program that opens by default, such as the text tool here. I changed it to gvim. that's it.

How to modify the default opening method of Linux files?

6. In addition, you can also add default programs by yourself, such as video files. If you want to open them by default through other programs, click the "Add" button, as shown in the figure below.

How to modify the default opening method of Linux files?

7. Next, the file manager will pop up. Just find the corresponding program in the file manager.

How to modify the default opening method of Linux files?

The above is the detailed content of How to modify the default opening method of Linux files?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete