i have tried below steps., but no luck., can anyone please help me out., i am new to Ubuntu and this is my first post ask Ubuntu., please help me out.. thanks in advance
i have found the same problem with an answer, but it was not working for me., it was by Matthieu
On Ubuntu 20, you need to change the gnome-text-editor alternatives link from gedit to the one you want. However, there usually is only one such editor detected so update-alternatives --config won't work; you'll have to add the editor you want.
E.g. to add notepadqq:
sudo update-alternatives --install /usr/bin/gnome-text-editor gnome-text-editor /usr/bin/notepadqq 50
sudo update-alternatives --config gnome-text-editor