LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Changing default application for plain text file (https://www.linuxquestions.org/questions/debian-26/changing-default-application-for-plain-text-file-4175726220/)

PaulExordium 06-21-2023 01:04 PM

Changing default application for plain text file
 
On a Debian 12 Live system the default application for plain text file is LibreOfficeWriter. How can I change that programmatically to, for example, gedit editor?

craigevil 06-21-2023 01:14 PM

You should be able to right click on a text file then choose Properties.
If that doesn't work, use update-alternatives or
Another way:
xdg-settings set default-web-browser name-of-browser.desktop
well you would use the editor you want to use.


All times are GMT -5. The time now is 12:58 AM.