Git Product home page Git Product logo

Comments (11)

CarterLi avatar CarterLi commented on September 26, 2024

What does cat /etc/os-release print?

from fastfetch.

towo2099 avatar towo2099 commented on September 26, 2024
st@test:~$ cat /etc/os-release 
NAME="TUXEDO OS"
VERSION="2 22.04.4"
ID=tuxedo
ID_LIKE="ubuntu debian"
PRETTY_NAME="TUXEDO OS 2"
VERSION_ID="22.04"
HOME_URL="https://tuxedocomputers.com/"
SUPPORT_URL="https://support.tuxedocomputers.com/"
BUG_REPORT_URL="https://gitlab.com/tuxedocomputers/development/tuxedo_os/os"
PRIVACY_POLICY_URL="https://www.tuxedocomputers.com/en/Privacy-policy.tuxedo"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy

from fastfetch.

CarterLi avatar CarterLi commented on September 26, 2024

Try this please

diff --git a/src/logo/builtin.c b/src/logo/builtin.c
index 0c92a20c..9d714400 100644
--- a/src/logo/builtin.c
+++ b/src/logo/builtin.c
@@ -4102,7 +4102,7 @@ static const FFlogo T[] = {
     },
     // TuxedoOS
     {
-        .names = {"Tuxedo OS"},
+        .names = {"tuxedo", "Tuxedo OS"},
         .lines = FASTFETCH_DATATEXT_LOGO_TUXEDO_OS,
         .colors = {
             FF_COLOR_FG_WHITE,

from fastfetch.

towo2099 avatar towo2099 commented on September 26, 2024

It's not only the logo, it's even the OS String in the text output

grafik

from fastfetch.

CarterLi avatar CarterLi commented on September 26, 2024

What does cat /etc/lsb-release print?

from fastfetch.

towo2099 avatar towo2099 commented on September 26, 2024

The logo-code does not help.

The Problem is

if(ffStrbufIgnCaseEqualS(&os->id, "ubuntu"))
    if(ffStrbufIgnCaseEqualS(&os->id, "ubuntu")
         getUbuntuFlavour(os);

from fastfetch.

towo2099 avatar towo2099 commented on September 26, 2024

test@test:~/Downloads$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="TUXEDO OS 2 22.04.4 LTS"

from fastfetch.

CarterLi avatar CarterLi commented on September 26, 2024

test@test:~/Downloads$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="TUXEDO OS 2 22.04.4 LTS"

This is the problem.

from fastfetch.

towo2099 avatar towo2099 commented on September 26, 2024

Not really, with my patch, it works as it should and is similar to the MX-Hack.
My patched version is working fine

grafik

from fastfetch.

CarterLi avatar CarterLi commented on September 26, 2024

The MX-hack is the problem. Prioritizing /etc/lsb-release over /etc/os-release breaks too many distros. I'm considering revert the hack.

from fastfetch.

towo2099 avatar towo2099 commented on September 26, 2024

The real problem is, if we want to be compatible as possible with the corresponding ubuntu, we can't change

DISTRIB_ID=Ubuntu
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy

since 3rd party apps check those vallues.

from fastfetch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.