If I run `neofetch` using my normal account, I get the following
Code:
guiverc@d7050-next:~/uwn/issues/819$ neofetch --off
guiverc@d7050-next
------------------
OS: Lubuntu Noble Numbat (development branch) x86_64
Host: OptiPlex 7050
Kernel: 6.5.0-10-generic
Uptime: 6 days, 18 hours, 39 mins
Packages: 3386 (dpkg), 20 (snap)
Shell: bash 5.2.21
Resolution: 1920x1080, 1920x1080, 1920x1080, 1280x1024, 1280x1024
DE: LXQt 1.4.0
WM: Xfwm4
WM Theme: Pills
Theme: Greybird [GTK2/3]
Icons: oxygen [GTK2/3]
Terminal: qterminal
Terminal Font: IBM Plex Mono Text 14
CPU: Intel i5-6500 (4) @ 3.600GHz
GPU: AMD ATI Radeon HD 5000/6000/7350/8350 Series
GPU: Intel HD Graphics 530
Memory: 8772MiB / 15842MiB
If however I switch to root user; the result differs
Code:
root@d7050-next:~# neofetch --off
root@d7050-next
---------------
OS: Ubuntu Noble Numbat (development branch) x86_64
Host: OptiPlex 7050
Kernel: 6.5.0-10-generic
Uptime: 6 days, 18 hours, 40 mins
Packages: 3386 (dpkg), 20 (snap)
Shell: bash 5.2.21
Resolution: 1920x1080, 1920x1080, 1920x1080, 1280x1024, 1280x1024
DE: LXQt 1.4.0
WM: Xfwm4
Theme: Arc-Darker [GTK3]
Icons: elementary-xfce-dark [GTK3]
Terminal: qterminal
CPU: Intel i5-6500 (4) @ 3.600GHz
GPU: AMD ATI Radeon HD 5000/6000/7350/8350 Series
GPU: Intel HD Graphics 530
Memory: 8764MiB / 15842MiB
As already stated, I consider my Lubuntu system a Ubuntu system, so I'm never worried when tools report it as Ubuntu; as a huge proportion of my system are packages from the main repository; ie. Ubuntu, with only a small portion being from universe or community supported (which includes the Lubuntu & other flavor team packages).
Tools like `neofetch` detect the system as Ubuntu naturally, then have other code that attempts to detect when
flavors are being used and change the Ubuntu to the
flavor as that's what many users want to see, eg.
Code:
if [[ $distro == "Ubuntu"* ]]; then
case $XDG_CONFIG_DIRS in
*"plasma"*) distro=${distro/Ubuntu/Kubuntu} ;;
*"mate"*) distro=${distro/Ubuntu/Ubuntu MATE} ;;
*"xubuntu"*) distro=${distro/Ubuntu/Xubuntu} ;;
*"Lubuntu"*) distro=${distro/Ubuntu/Lubuntu} ;;
*"budgie"*) distro=${distro/Ubuntu/Ubuntu Budgie} ;;
*"studio"*) distro=${distro/Ubuntu/Ubuntu Studio} ;;
*"cinnamon"*) distro=${distro/Ubuntu/Ubuntu Cinnamon} ;;
esac
so if you've made changes to some defaults (XDG_CONFIG_DIRS for example here, which Lubuntu only configure for the default user, not root) the
flavor may not be detected by apps coding (`neofetch` in this example), with what the OS actually is (
a Ubuntu system) only being detected. My 2c.