dylanaraps / neofetch

🖼️ A command-line system information tool written in bash 3.2+
MIT License
22.01k stars 1.77k forks source link

Misdetects Ubuntu Studio flavour as Kubuntu #2336

Open Digit opened 1 year ago

Digit commented 1 year ago

ubuntu studio shows as kubuntu

Same as in " Show correct ubuntu flavor #1505 ", except there in 2020, ubuntu studio was reported as working.

Here in the 2022 LTS kde version of ubuntu studio (bedrock-hijacked), neofetch (ran restricted to ubuntu studio) just shows as ubuntu.

As per "# Get Ubuntu flavor." section of neofetch script, at least "ubuntustudio" shows up, like:

echo $XDG_CONFIG_DIRS 
/home/digit/.config/kdedefaults:/etc/xdg/xdg-plasma:/etc/xdg:/usr/share/ubuntustudio/kf5-settings

but not as ```distro/Ubuntu/Ubuntu Studio", if I'm looking at that correctly.

Perhaps their switch to kde confused matters? ... I say since it calls itself kubuntu (not mere Ubuntu, as I started writing this issue as), which I only realised wasn't just the ubuntu logo once poking around with --ascii_distro, seeing the distinction between Ubuntu-Studio, Ubuntu, & Kubuntu.

Perhaps the alternative non-xdg detection method suggested in issue #1505 has merit to consider revisiting?

neofetch 7.1.0

Screenshot

http://ks392457.kimsufi.com/stuff/scrots/2023-07-03-222716_1920x1080_scrot.png

Verbose log

https://paste.ubuntu.com/p/Z79Z8vqb8B/