Article 6CC0F Changing default application for plain text file

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?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments