Changing hostname via About > Device name does not respect uppercase
When trying to modify the "Device name" field in the "About" section of the Settings app, I noticed that the actual hostname converts any uppercase letters into lowercase.
Steps to reproduce:
- Open GNOME Settings > About
- Change "Device name" to a name with uppercase letters in it
- Check the hostname in Terminal (or any app displaying the hostname)
Reproduced in Fedora Silverblue 37. According to this ticket, it affects Pop!_OS as well: https://github.com/pop-os/pop/issues/1591