# Nano text editor on Sailfish X [answered]

Hi!

I would like to edit the /etc/hosts file, so wipe out google (facebook and so on) from my phone. How to install nano text editor on my Sailfish X? I use Linux since 10 years, but VI is a bit complicate for me... Sorry my bad english. Thank you!

edit retag reopen delete

### The question has been closed for the following reason "the question is answered, an answer was accepted"by eson close date 2019-01-06 11:28:21.364298

2

there are few options, e.g. editor

( 2018-12-14 13:36:06 +0300 )edit

Sort by » oldest newest most voted

"How to install nano"

devel-su pkcon install nano

Agreed, Vi is totally not intuitive, so I also use nano

more

That's a funny notion since I have been using vi for more than 30 years and to me it seems it still is the best editor ever...

( 2019-01-07 06:32:10 +0300 )edit

( 2019-01-07 13:22:47 +0300 )edit

Of course, it's all that matters you know.

( 2019-01-07 13:33:39 +0300 )edit

TinyEdit and StartAsRoot for TinyEdit might be useful for you. It's what I use to write stuff where the OS wouldn't like me to. ;)

You should also check out Defender. Maybe the predefined lists will be enough to suit your needs and you don't even have to poke around in the etc/hosts yourself.

more

You can also have a look at tiDE. Comes with root modus. You can find it on Storeman.

more

How do you activate root mode?

( 2019-01-06 17:47:57 +0300 )edit

Goto terminal and type devel-su after having activated developer mode in Settings.

( 2019-01-07 15:46:23 +0300 )edit

There is also emacs on Storeman.

more

Hi All!

Happy New Year for all members!

I would like to close this, because I had got the answer. Many thanks! A new question : Where possible to report a ( very annoying ) problem with Xperia X Os?

Thank you!

more