Saturday, February 24, 2024
 Popular · Latest · Hot · Upcoming
rated 0 times [  18] [ 0]  / answers: 1 / hits: 18506  / 2 Years ago, fri, december 31, 2021, 3:13:16

I actually want to change the default text editor on my Ubuntu 12.04 from nano to Geany. When I used this code:

update-alternatives --config editor

.. I don't see Geany in the list.

So to add Geany, this is supposed to work right?

update-alternatives --install /usr/bin/geany geany /usr/bin/geany 10

Also, on a side note, can you tell me if you would personally suggest me to change the default editor from nano to Geany, and why?

More From » 12.04


The command line way is:

sudo update-alternatives --install /usr/bin/editor editor /usr/bin/geany 10

and then use sudo update-alternatives --config editor to select Geany if necessary.

As a graphical alternative to the command-line method, consider using Gnome Alternatives (sudo apt-get install galternatives). Run GAlternatives, select editor in the left column, and then add/choose Geany on the right.

[#35230] Sunday, January 2, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 118
Total Questions: 95
Total Answers: 117

Location: Virgin Islands (U.S.)
Member since Tue, Jul 7, 2020
4 Years ago