GNOME Bugzilla – Bug 557245
lsb_release distributor ID is not the distribution name
Last modified: 2012-12-06 19:55:22 UTC
In the sysinfo tab, gnome-system-monitor displays a big label. The code suggests that this is the distribution name. However, it uses "lsb_release -i" to find it, and this gives you a distributor ID, not a distribution name. Here's a difference: in openSUSE, the distributor ID is "SUSE Linux" and not "openSUSE". Therefore, when you look at gnome-system-monitor, you can't know if you're using openSUSE or any other "product" distributed by SUSE Linux. It looks to me like the description (lsb_release -d) is what we might want in the header.
This story is never going to end. Some distro will have '-i -r -c' correctly implemented but not '-d', while other will have '-d' correct. Distributor ID: RedHatEnterpriseWS Description: Red Hat Enterprise Linux WS release 4 (Nahant Update 5) Release: 4 Codename: NahantUpdate5 Distributor ID: RedHatEnterpriseAS Description: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) Release: 3 Codename: TaroonUpdate4 Distributor ID: SUSE LINUX Description: SUSE Linux Enterprise Server 10 (ia64) Release: 10 Codename: n/a Distributor ID: Debian Description: Debian GNU/Linux testing (lenny) Release: testing Codename: lenny How can i then reliably display the distro name version and codename (if any) ?
If different distributions are using these lsb fields inconsistently, why not include them all? Currently the description is omitted altogether.
The System tab has been removed in the head, so this bug is obsolete in System monitor. The information is displayed now in gnome control center's details pane, please check if the bug exists there too, and report a new bug/reopen this and move to gnome control center if it is affected.