Ask / Submit

Nano text editor on Sailfish X [answered]

asked 2018-12-14 13:33:22 +0200

NN9 gravatar image


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 flag offensive 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



there are few options, e.g. editor

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

5 Answers

Sort by » oldest newest most voted

answered 2018-12-14 13:39:54 +0200

Edz gravatar image

updated 2018-12-14 13:40:38 +0200

"How to install nano"

devel-su pkcon install nano

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

edit flag offensive delete publish link 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...

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

In your opinion.

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

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

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

answered 2018-12-14 16:24:27 +0200

LemD gravatar image

updated 2018-12-14 16:24:47 +0200

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.

edit flag offensive delete publish link more

answered 2018-12-14 18:00:54 +0200

dirksche gravatar image

updated 2018-12-14 19:47:09 +0200

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

edit flag offensive delete publish link more


How do you activate root mode?

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

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

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

answered 2018-12-14 19:08:48 +0200

smartiz gravatar image

There is also emacs on Storeman.

edit flag offensive delete publish link more

answered 2019-01-06 10:46:32 +0200

NN9 gravatar image

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!

edit flag offensive delete publish link more


This is a good forum to report everything related to SailfishOS. Try to search first, if somebody has reported an issue before and join that dicussion. If not make a new separate question!

Rikujolla ( 2019-01-06 11:11:40 +0200 )edit

Question tools

1 follower


Asked: 2018-12-14 13:33:22 +0200

Seen: 947 times

Last updated: Jan 06 '19