GNOME Bugzilla – Bug 695692
"Start using GNOME 3" button should use the distro name
Last modified: 2013-08-13 17:34:01 UTC
If someone just booted into their new distro, it will seem a little strange to be greeted by a button reading "Start using GNOME 3". My suggestion would be to replace the "GNOME 3" with the distro name: "Start using Fedora", "Start using Ubuntu", "Start using OpenSUSE", etc.
I agree, it was always my plan to make that string replaceable.
I can try to automatically parse the distro name from /etc/os-release or similar.
Created attachment 251527 [details] [review] Use the distro name in the 'Start' button Parse /etc/os-release to find the name of the distribution, and use it instead of 'GNOME 3'. If we don't find that file, fall back to using 'GNOME 3'.
Review of attachment 251527 [details] [review]: Technically we need to parse escapes and things like that, but it seems other tools blindly look for the quotes too (systemd-analyze), and I doubt we'll ever see escaped quotes in /etc/os-release (until we have NAME="Fedora 24 (Beefy \"Really Beefy\" Miracle)" ofc.), so OK.
The parsing code was copied from a control-center patch we ship in Fedora
Attachment 251527 [details] pushed as dfc86a4 - Use the distro name in the 'Start' button