Closed RealFX-Code closed 1 year ago
and the ascii art is different on Kubuntu rather on Ubuntu, so It's unreadable to see what distro i'm using from the logo, as you can't see the logo at all.
After some digging, it appears that the method to detect ubuntu flavors is kind of simple in neofetch: If a specific DE is used, then it detects the system as the specific flavor.
However, do you know if there is anything different between Kubuntu and regular Ubuntu with KDE that we can use to detect?
After some digging, it appears that the method to detect ubuntu flavors is kind of simple in neofetch: If a specific DE is used, then it detects the system as the specific flavor.
However, do you know if there is anything different between Kubuntu and regular Ubuntu with KDE that we can use to detect?
I’m pretty sure that the command: lsb_release -d
will show what flavour of ubuntu you’re running.
and AFAIK there’s no deference between ubuntu and kubuntu.
I’m pretty sure that the command:
lsb_release -d
will show what flavour of ubuntu you’re running.
Can you show me the output of lsd_release -d
?
and AFAIK there’s no deference between ubuntu and kubuntu.
Okay, that makes sense.
Can you show me the output of
lsd_release -d
?
Sure! For me running ubuntu 22.04.01 its:
┌[realfx☮Laptop2]-(~)
└> lsb_release -d
Description: Ubuntu 22.04.1 LTS
Sorry for the long delay. Both the lsb_release and os-release information on kubuntu are the same as regular ubuntu.
Here are the release information on a Kubuntu live usb:
However, it is possible to detect kubuntu with uname -n
though, maybe I can change it to use uname
instead of the DE environment to detect ubuntu flavors, but I will have to test more ubuntu flavors to make sure that all of them label uname info in the same way.
Using uname -n would not work at all as anyone can change their hostname.
Using uname -n would not work at all as anyone can change their hostname.
oops just realized that uname -n
is the hostname 🤦🏼♀️ Yea then it's really impossible to identify Kubuntu from regular ubuntu with KDE.
I have an idea on how we could make this work.
Check if a package like kubuntu-desktop or ubuntu-unity-desktop is installed. If so, display the OS as such.
Description
The hyfetch OS detection is a bit off, regular ubuntu running KDE gets picked up as Kubuntu, while I'm not running kubuntu.
Hyfetch version
Screenshot
https://prnt.sc/wgnCy7CLsxmM
Config file (output for
hyfetch --debug