Skip to content

DE report with Solus Budgie reports as "Gnome" instead of Budgie #489

@carlberger

Description

@carlberger

General description of bug:

  • What happened:

fastfetch reports DE as "Gnome" instead of "Budgie" with Solus Budgie 4.4 ( not yet released at this moment )

  • What should happen:

DE should be "Budgie 10.7.2"

  • Did it work in an older version:

idk

  • Where did you get the binary:

Built from source myself

yes

Often helpful information:

I patched the source with

diff --git a/src/detection/displayserver/linux/wmde.c b/src/detection/displayserver/linux/wmde.c
index 3022f873..abdff51a 100644
--- a/src/detection/displayserver/linux/wmde.c
+++ b/src/detection/displayserver/linux/wmde.c
@@ -286,6 +286,8 @@ static void applyPrettyNameIfDE(FFDisplayServerResult* result, const char* name)
         return;
     else if(strcasestr(name, "plasma") != NULL || strcasecmp(name, "KDE") == 0)
         getKDE(result);
+    else if(strcasestr(name, "budgie:gnome") != NULL)
+        getBudgie(result);
     else if(
         strcasecmp(name, "polkit-gnome") != 0 &&
         strcasecmp(name, "gnome-keyring") != 0 &&

and this fixed it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions