Changing default application for plain text file
by PaulExordium from LinuxQuestions.org on (#6CC0F)
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?