changing the hostname
Linux
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.
LineageOS
Use Settings > Developer options > Device hostname.
licensing
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.