While I can run nano from command line quite normally, and set it as the default text editor using:

sudo update-alternatives --config editor

I cannot seem to set it as the default GUI launched text editor as it does not appear on the available programs list. I can launch Vim from the GUI, why not Nano? Is there a limitation to launching command based programs from the GUI or am I missing something?


Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:    18.04
Codename:   bionic

Nano version:

GNU nano, version 2.9.3
(C) 1999-2011, 2013-2018 Free Software Foundation, Inc.
(C) 2014-2018 the contributors to nano
Email: nano@nano-editor.org Web: https://nano-editor.org/
Compiled options: --disable-libmagic --disable-wrapping-as-root --enable-utf8

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.