hyprwm / hyprsysteminfo

A tiny qt6/qml application to display information about the running system
BSD 3-Clause "New" or "Revised" License
57 stars 6 forks source link

Gentoo Linux logo is not present, like Arch Linux logo is on Arch. #1

Open Soccera1 opened 1 month ago

Soccera1 commented 1 month ago

Expected outcome: logo for Linux distribution used should appear, like in this screenshot from hyprwm on X.

GZyFC0PXUAgCdNc

However, I have this screenshot which shows no logo on Gentoo Linux.

2024-10-14-041148_hyprshot

Environment:

Gentoo Linux with default/linux/amd64/23.0/desktop/gnome/systemd (stable) profile Hyprland 43.0 GCC Latest hyprsysteminfo version

Steps to reproduce:

Install Gentoo Linux Use GCC, cmake, and make to make and install hyprsysteminfo Run hyprsysteminfo in Hyprland Observe lack of Gentoo Linux logo

vaxerski commented 1 month ago

what's the output of cat /etc/os-release?

Soccera1 commented 1 month ago

NAME=Gentoo ID=gentoo PRETTY_NAME="Gentoo Linux" ANSI_COLOR="1;32" HOME_URL="https://www.gentoo.org/" SUPPORT_URL="https://www.gentoo.org/support/" BUG_REPORT_URL="https://bugs.gentoo.org/" VERSION_ID="2.15"

vaxerski commented 1 month ago

well that's your answer. Logo depends on this having a logo:

image

vaxerski commented 1 month ago

maybe it's possible to fall back on id, gimme sec

vaxerski commented 1 month ago

hm. I am looking at my icons and I can't find a gentoo icon within my theme. Dunno how that should be obtained.

Soccera1 commented 1 month ago

It might not be what you want for the project but one possible solution would be to have system that automatically downloads the correct logo if it's not present after detecting what distro it is. For example, it would download https://www.gentoo.org/assets/img/logo/gentoo-signet.svg if the detected distro is gentoo and there isn't a logo already.

vaxerski commented 1 month ago

No, allowing a utility to connect to the internet is not what I want it to do. Embedding icons would be passable, but idk what the policies of the gentoo logo are

Soccera1 commented 1 month ago

I'm not a lawyer, but I'm pretty sure you'd be able to embed the icon for Gentoo. Here's the source: https://www.gentoo.org/inside-gentoo/foundation/name-logo-guidelines.html. I'm not sure about any other distros specifically, but most distros are OK with non commercial use as long as it's clearly not affiliated with their distro as far as I know.

alba4k commented 1 month ago

I guess you could also fall back to using nerd fonts for distros that don't provide logos

Or just embed it I guess, would make the whole thing a bit heavier but who cares, it's 5KB after all

outfoxxed commented 1 month ago

hm. I am looking at my icons and I can't find a gentoo icon within my theme. Dunno how that should be obtained.

are you sure its not a special icon provided per distro? I wouldnt expect to have archlinux-logo on nix or nix-snowflake on arch.