realh / roxterm

A highly configurable terminal emulator
GNU General Public License v2.0
99 stars 11 forks source link

How change the text editor from Kate to another #228

Open abdulbadii opened 4 years ago

abdulbadii commented 4 years ago

On KDE the default text editor that will be opening when preference being set is Kate, how to have another one instead ?

realh commented 4 years ago

The code for choosing an editor isn't all that good TBH. It's limited to gedit, gvim, kate or emacs. You can force it to use one of those by setting it in the EDITOR environment variable. Setting it in .profile might not work, because roxterm gets launched as a GUI app, so you could either add the setting to roxterm's desktop file or use systemd (see Arch wiki).