Skip to content

changing the hostname


Use sudo hostname foobar, where foobar is the new hostname.

Personal experience
  • Works in Kubuntu 17.10 on Snarky.
  • Does not work in Lubuntu 18.04.


Use Settings > Developer options > Device hostname.


No rights reserved: CC0 1.0.

prior work

The menu option to change the hostname in LineageOS was introduced to me by a post on Reddit by saint-lascivious.