Forrest logo
back to the xdg-settings tool

xdg-settings:ai:43dcc

Sets the default text editor for opening text files
$ xdg-settings set default-text-editor ${editor}
try on your machine

Sets the default text editor for opening text files

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • how to set default text editor with xdg-settings?
back to the xdg-settings tool