geckolinux / geckolinux-project

GeckoLinux bug tracker and documentation
https://geckolinux.github.io
207 stars 17 forks source link

Set the default editor for sudoedit and edit to nano globally #529

Closed amethylghostling closed 7 months ago

amethylghostling commented 7 months ago

I guess this is both a feature request and forum post since I don't know how to do it in openSUSE tho but in Ubuntu you can put EDITOR=nano in /etc/environment for the sudoedit default text editor to switch to nano. I tried it in Gecko but the sudoedit text editor still remained vim. How can I change it to nano?