fastfetch-cli / fastfetch

An actively maintained, feature-rich and performance oriented, neofetch like system information tool.
MIT License
9.79k stars 393 forks source link

[BUG] Fastfetch does not report Icons correctly in the Unity DE #1218

Closed Rodmatronic closed 3 weeks ago

Rodmatronic commented 4 weeks ago

Be sure to read the FAQ before submitting a new issue.

General description of bug:

Often helpful information:

Screenshot: newest

The content of the configuration file you use (if any):

Output of fastfetch -c ci.jsonc --format json:

onc --format json
[
  {
    "type": "Title",
    "result": {
      "userName": "roddo",
      "hostName": "roddo-MacBookPro8-1",
      "homeDir": "/home/roddo/",
      "exePath": "/usr/bin/fastfetch",
      "userShell": "/bin/bash"
    },
    "stat": 0.009585000574588776
  },
  {
    "type": "Separator",
    "error": "Unsupported for JSON format",
    "stat": 0.0002669990062713623
  },
  {
    "type": "OS",
    "result": {
      "buildID": "",
      "codename": "noble",
      "id": "ubuntu",
      "idLike": "debian",
      "name": "Ubuntu",
      "prettyName": "Ubuntu 24.04 LTS",
      "variant": "",
      "variantID": "",
      "version": "24.04 LTS (Noble Numbat)",
      "versionID": "24.04"
    },
    "stat": 0.03370899707078934
  },
  {
    "type": "Host",
    "result": {
      "family": "MacBook Pro",
      "name": "MacBookPro8,1",
      "version": "1.0",
      "sku": "System SKU#",
      "vendor": "Apple Inc.",
      "serial": "",
      "uuid": ""
    },
    "stat": 0.10158199816942215
  },
  {
    "type": "Bios",
    "result": {
      "date": "04/10/18",
      "release": "0.1",
      "vendor": "Apple Inc.",
      "version": "   MBP81.88Z.0050.B00.1804101331",
      "type": "UEFI"
    },
    "stat": 0.05284100025892258
  },
  {
    "type": "Bootmgr",
    "result": {
      "name": "Ubuntu",
      "firmware": "\\EFI\\ubuntu\\shimx64.efi",
      "secureBoot": false
    },
    "stat": 26.86405299603939
  },
  {
    "type": "Board",
    "result": {
      "name": "Mac-94245B3640C91C81",
      "vendor": "Apple Inc.",
      "version": "MacBookPro8,1",
      "serial": ""
    },
    "stat": 0.12339899688959122
  },
  {
    "type": "Chassis",
    "result": {
      "type": "Notebook",
      "vendor": "Apple Inc.",
      "version": "Mac-94245B3640C91C81",
      "serial": ""
    },
    "stat": 0.0906509980559349
  },
  {
    "type": "Kernel",
    "result": {
      "architecture": "x86_64",
      "name": "Linux",
      "release": "6.8.0-31-generic",
      "version": "#31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024",
      "displayVersion": "",
      "pageSize": 4096
    },
    "stat": 0.002195999026298523
  },
  {
    "type": "InitSystem",
    "result": {
      "name": "systemd",
      "exe": "/usr/lib/systemd/systemd",
      "version": "255.4-1ubuntu8",
      "pid": 1
    },
    "stat": 6.306479997932911
  },
  {
    "type": "Uptime",
    "result": {
      "uptime": 90957900,
      "bootTime": "2024-08-27T16:44:53.635-0300"
    },
    "stat": 0.06710899621248245
  },
  {
    "type": "Loadavg",
    "result": [
      2.08,
      1.76,
      2.58
    ],
    "stat": 0.016644001007080078
  },
  {
    "type": "Processes",
    "result": 294,
    "stat": 0.4254930019378662
  },
  {
    "type": "Packages",
    "result": {
      "all": 2779,
      "apk": 0,
      "brew": 0,
      "brewCask": 0,
      "choco": 0,
      "dpkg": 2768,
      "emerge": 0,
      "eopkg": 0,
      "flatpakSystem": 0,
      "flatpakUser": 0,
      "nixDefault": 0,
      "nixSystem": 0,
      "nixUser": 0,
      "pacman": 0,
      "paludis": 0,
      "pkg": 0,
      "pkgtool": 0,
      "macports": 0,
      "rpm": 0,
      "scoop": 0,
      "snap": 11,
      "winget": 0,
      "xbps": 0,
      "opkg": 0,
      "am": 0,
      "sorcery": 0,
      "guixSystem": 0,
      "guixUser": 0,
      "guixHome": 0,
      "linglong": 0,
      "pacmanBranch": ""
    },
    "stat": 3.28608900308609
  },
  {
    "type": "Shell",
    "result": {
      "exe": "bash",
      "exeName": "bash",
      "exePath": "/usr/bin/bash",
      "pid": 92744,
      "ppid": 69631,
      "processName": "bash",
      "prettyName": "bash",
      "version": "5.2.21",
      "tty": 1
    },
    "stat": 2.103551998734474
  },
  {
    "type": "Editor",
    "error": "$VISUAL or $EDITOR not set",
    "stat": 0.008428998291492462
  },
  {
    "type": "Display",
    "result": [
      {
        "id": 0,
        "name": "APP9CC5",
        "primary": true,
        "output": {
          "width": 1280,
          "height": 800
        },
        "scaled": {
          "width": 1280,
          "height": 800
        },
        "physical": {
          "width": 286,
          "height": 179
        },
        "refreshRate": 60.223049562323794,
        "rotation": 0,
        "bitDepth": 0,
        "hdrEnabled": false,
        "type": "Builtin"
      }
    ],
    "stat": 9.191762998700142
  },
  {
    "type": "Brightness",
    "result": [
      {
        "name": "acpi_video0",
        "max": 15.0,
        "min": 0.0,
        "current": 15.0
      }
    ],
    "stat": 0.23512399941682816
  },
  {
    "type": "Monitor",
    "result": [
      {
        "hdrCompatible": false,
        "name": "APP9CC5",
        "resolution": {
          "width": 1280,
          "height": 800
        },
        "physical": {
          "height": 179,
          "width": 286
        },
        "refreshRate": 60.223049562323794,
        "manufactureDate": {
          "year": 2009,
          "week": 28
        },
        "serial": null
      }
    ],
    "stat": 2.052036002278328
  },
  {
    "type": "LM",
    "result": {
      "service": "lightdm",
      "type": "X11",
      "version": "1.30.0"
    },
    "stat": 4.8189550042152405
  },
  {
    "type": "DE",
    "result": {
      "processName": "Unity:Unity7:ubuntu",
      "prettyName": "Unity:Unity7:ubuntu",
      "version": ""
    },
    "stat": 0.03279799968004227
  },
  {
    "type": "WM",
    "result": {
      "processName": "Compiz",
      "prettyName": "Compiz",
      "protocolName": "X11",
      "pluginName": ""
    },
    "stat": 0.0017239972949028015
  },
  {
    "type": "WMTheme",
    "error": "Unknown WM: Compiz",
    "stat": 0.003049001097679138
  },
  {
    "type": "Theme",
    "result": {
      "theme1": "",
      "theme2": "Yaru [GTK3]"
    },
    "stat": 0.23656199872493744
  },
  {
    "type": "Icons",
    "result": {
      "icons1": "",
      "icons2": "Yaru [GTK3]"
    },
    "stat": 0.002241000533103943
  },
  {
    "type": "Font",
    "error": "No fonts found",
    "stat": 0.002875998616218567
  },
  {
    "type": "Cursor",
    "result": {
      "theme": "mate-black",
      "size": ""
    },
    "stat": 0.02526400238275528
  },
  {
    "type": "Wallpaper",
    "error": "Failed to detect the current wallpaper path",
    "stat": 0.0011290013790130615
  },
  {
    "type": "Terminal",
    "result": {
      "processName": "gnome-terminal-",
      "exe": "/usr/libexec/gnome-terminal-server",
      "exeName": "gnome-terminal-server",
      "exePath": "/usr/libexec/gnome-terminal-server",
      "pid": 69631,
      "ppid": 1995,
      "prettyName": "GNOME Terminal",
      "version": "3.52.0",
      "tty": "/dev/pts/1"
    },
    "stat": 0.21905799955129623
  },
  {
    "type": "TerminalFont",
    "result": {
      "font": {
        "name": "Terminus (TTF) Medium",
        "size": "12",
        "styles": [],
        "pretty": "Terminus (TTF) Medium (12pt)"
      },
      "fallback": {
        "name": "",
        "size": "",
        "styles": [],
        "pretty": ""
      }
    },
    "stat": 6.276674002408981
  },
  {
    "type": "TerminalSize",
    "result": {
      "columns": 83,
      "rows": 30,
      "width": 664,
      "height": 540
    },
    "stat": 1.6774349957704544
  },
  {
    "type": "TerminalTheme",
    "result": {
      "fg": {
        "r": 255,
        "g": 255,
        "b": 255,
        "dark": false
      },
      "bg": {
        "r": 0,
        "g": 0,
        "b": 0,
        "dark": true
      }
    },
    "stat": 33.46014300733805
  },
  {
    "type": "CPU",
    "result": {
      "cpu": "Intel(R) Core(TM) i5-2435M",
      "vendor": "GenuineIntel",
      "cores": {
        "physical": 2,
        "logical": 4,
        "online": 4
      },
      "frequency": {
        "base": 2849,
        "max": 3000,
        "biosLimit": 0
      },
      "coreTypes": [
        {
          "count": 4,
          "freq": 3000
        }
      ],
      "temperature": 82.0
    },
    "stat": 51.215639002621174
  },
  {
    "type": "CPUCache",
    "result": {
      "l1": [
        {
          "size": 32768,
          "num": 2,
          "lineSize": 64,
          "type": "data"
        },
        {
          "size": 32768,
          "num": 2,
          "lineSize": 64,
          "type": "instruction"
        }
      ],
      "l2": [
        {
          "size": 262144,
          "num": 2,
          "lineSize": 64,
          "type": "unified"
        }
      ],
      "l3": [
        {
          "size": 3145728,
          "num": 1,
          "lineSize": 64,
          "type": "unified"
        }
      ]
    },
    "stat": 1.3313670009374619
  },
  {
    "type": "CPUUsage",
    "result": [
      5.263157894736842,
      10.0,
      15.789473684210526,
      9.523809523809524
    ],
    "stat": 200.18727400153875
  },
  {
    "type": "GPU",
    "result": [
      {
        "coreCount": null,
        "coreUsage": null,
        "memory": {
          "dedicated": {
            "total": null,
            "used": null
          },
          "shared": {
            "total": null,
            "used": null
          }
        },
        "driver": "i915",
        "name": "2nd Generation Core Processor Family Integrated Graphics Controller",
        "temperature": null,
        "type": "Integrated",
        "vendor": "Intel",
        "platformApi": "",
        "frequency": 1300,
        "deviceId": 1176
      }
    ],
    "stat": 2.910613998770714
  },
  {
    "type": "Memory",
    "result": {
      "total": 8235945984,
      "used": 3659571200
    },
    "stat": 0.07048900425434113
  },
  {
    "type": "PhysicalMemory",
    "error": "Failed to get SMBIOS data",
    "stat": 0.033114999532699585
  },
  {
    "type": "Swap",
    "result": {
      "total": 4294963200,
      "used": 13496320
    },
    "stat": 0.04551399499177933
  },
  {
    "type": "Disk",
    "result": [
      {
        "bytes": {
          "available": 403198529536,
          "free": 427163996160,
          "total": 470306373632,
          "used": 43142377472
        },
        "files": {
          "total": 29237248,
          "used": 609820
        },
        "filesystem": "ext4",
        "mountpoint": "/",
        "mountFrom": "/dev/sda2",
        "name": "",
        "volumeType": [
          "Regular"
        ],
        "createTime": "2024-08-20T00:27:56.000-0300"
      },
      {
        "bytes": {
          "available": 1118560256,
          "free": 1118560256,
          "total": 1124995072,
          "used": 6434816
        },
        "files": {
          "total": null,
          "used": null
        },
        "filesystem": "vfat",
        "mountpoint": "/boot/efi",
        "mountFrom": "/dev/sda1",
        "name": "",
        "volumeType": [
          "Hidden"
        ],
        "createTime": null
      },
      {
        "bytes": {
          "available": 35089715200,
          "free": 38182961152,
          "total": 60239597568,
          "used": 22056636416
        },
        "files": {
          "total": 3760128,
          "used": 56541
        },
        "filesystem": "ext4",
        "mountpoint": "/media/roddo/a2e28604-a05f-42bd-a472-c5ae7fc496b8",
        "mountFrom": "/dev/sdb1",
        "name": "",
        "volumeType": [
          "External"
        ],
        "createTime": "2024-08-18T22:16:52.000-0300"
      },
      {
        "bytes": {
          "available": 403198529536,
          "free": 427163996160,
          "total": 470306373632,
          "used": 43142377472
        },
        "files": {
          "total": 29237248,
          "used": 609820
        },
        "filesystem": "ext4",
        "mountpoint": "/var/snap/firefox/common/host-hunspell",
        "mountFrom": "/dev/sda2",
        "name": "",
        "volumeType": [
          "Subvolume",
          "Read-only"
        ],
        "createTime": "2024-08-20T00:29:25.177-0300"
      }
    ],
    "stat": 1.5524490028619766
  },
  {
    "type": "Battery",
    "result": [
      {
        "capacity": 73.0,
        "manufacturer": "SMP",
        "manufactureDate": "",
        "modelName": "bq20z451",
        "status": "Charging",
        "technology": "Li-ion",
        "serial": "",
        "temperature": null,
        "cycleCount": 276
      }
    ],
    "stat": 0.6158140003681183
  },
  {
    "type": "PowerAdapter",
    "result": [],
    "stat": 0.3581710010766983
  },
  {
    "type": "Player",
    "error": "No media found",
    "stat": 14.545993000268936
  },
  {
    "type": "Media",
    "error": "No media found",
    "stat": 0.0051359981298446655
  },
  {
    "type": "PublicIp",
    "result": {
    },
    "stat": 0.4701089933514595
  },
  {
    "type": "LocalIp",
    "result": [
    ],
    "stat": 0.4028720036149025
  },
  {
    "type": "DNS",
    "result": [
      "127.0.0.53"
    ],
    "stat": 0.08344399929046631
  },
  {
    "type": "Wifi",
    "result": [
      {
        }
      }
    ],
    "stat": 16.005962997674942
  },
  {
    "type": "DateTime",
    "result": "2024-08-26T15:28:56.089-0300",
    "stat": 0.09012900292873383
  },
  {
    "type": "Locale",
    "result": "en_US.UTF-8",
    "stat": 0.04427499324083328
  },
  {
    "type": "Vulkan",
    "result": {
      "apiVersion": "",
      "conformanceVersion": "",
      "driver": "",
      "gpus": []
    },
    "stat": 63.219821996986866
  },
  {
    "type": "OpenGL",
    "result": {
      "version": "3.3 (Compatibility Profile) Mesa 24.0.9-0ubuntu0.1",
      "renderer": "Mesa Intel(R) HD Graphics 3000 (SNB GT2)",
      "vendor": "Intel",
      "slv": "3.30",
      "library": "EGL 1.5"
    },
    "stat": 36.66514700651169
  },
  {
    "type": "OpenCL",
    "error": "clGetPlatformIDs() failed",
    "stat": 1.6317989975214005
  },
  {
    "type": "Users",
    "result": [
      {
        "name": "roddo",
        "hostName": ":0",
        "sessionName": "tty7",
        "clientIp": "0.0.0.0",
        "loginTime": "2024-08-26T02:30:49.003-0300"
      }
    ],
    "stat": 0.12713400274515152
  },
  {
    "type": "Bluetooth",
    "result": [],
    "stat": 0.5985729992389679
  },
  {
    "type": "BluetoothRadio",
    "result": [
      {
        "name": "roddo-MacBookPro8-1",
        "address": "68:A8:6D:40:BF:07",
        "lmpVersion": 4,
        "lmpSubversion": null,
        "vendor": "Broadcom",
        "enabled": true,
        "discoverable": false,
        "connectable": true
      }
    ],
    "stat": 0.45182300359010696
  },
  {
    "type": "Sound",
    "result": [
      {
        "active": true,
        "main": true,
        "volume": 0,
        "name": "Built-in Audio Analog Stereo",
        "identifier": "alsa_output.pci-0000_00_1b.0.analog-stereo"
      }
    ],
    "stat": 6.6708090007305145
  },
  {
    "type": "Camera",
    "result": [
      {
        "name": "FaceTime HD Camera (Built-in): ",
        "vendor": "",
        "colorSpace": "sRGB",
        "id": "usb-0000:00:1a.7-2",
        "width": 640,
        "height": 480
      }
    ],
    "stat": 1.7897239997982979
  },
  {
    "type": "Gamepad",
    "result": [
      {
        "serial": "",
        "name": "applesmc"
      }
    ],
    "stat": 0.10394000262022018
  },
  {
    "type": "Weather",
    "result": "+27°C - Partly cloudy (Fredericton, Canada)",
    "stat": 396.311411999166
  },
  {
    "type": "NetIO",
    "result": [
      {
        "name": "wlp3s0",
        "defaultRoute": true,
        "txBytes": 970,
        "rxBytes": 1398,
        "txPackets": 11,
        "rxPackets": 7,
        "rxErrors": 0,
        "txErrors": 0,
        "rxDrops": 0,
        "txDrops": 0
      }
    ],
    "stat": 104.68811000138521
  },
  {
    "type": "DiskIO",
    "result": [
      {
        "name": " USB  SanDisk 3.2Gen1",
        "devPath": "/dev/sdb",
        "bytesRead": 0,
        "bytesWritten": 0,
        "readCount": 0,
        "writeCount": 0
      },
      {
        "name": "MATSHITA DVD-R   UJ-8A8",
        "devPath": "/dev/sr0",
        "bytesRead": 0,
        "bytesWritten": 0,
        "readCount": 0,
        "writeCount": 0
      },
      {
        "name": "ATA CT480BX500SSD1",
        "devPath": "/dev/sda",
        "bytesRead": 237568,
        "bytesWritten": 0,
        "readCount": 7,
        "writeCount": 0
      }
    ],
    "stat": 0.664172999560833
  },
  {
    "type": "PhysicalDisk",
    "result": [
      {
        "name": " USB  SanDisk 3.2Gen1",
        "devPath": "/dev/sdb",
        "interconnect": "USB",
        "kind": "HDD",
        "size": 61530439680,
        "serial": "",
        "removable": true,
        "readOnly": false,
        "revision": "1.00",
        "temperature": null
      },
      {
        "name": "MATSHITA DVD-R   UJ-8A8",
        "devPath": "/dev/sr0",
        "interconnect": "ATA",
        "kind": "HDD",
        "size": 1073741312,
        "serial": "",
        "removable": true,
        "readOnly": false,
        "revision": "HB14",
        "temperature": null
      },
      {
        "name": "ATA CT480BX500SSD1",
        "devPath": "/dev/sda",
        "interconnect": "ATA",
        "kind": "SSD",
        "size": 480103981056,
        "serial": "",
        "removable": false,
        "readOnly": false,
        "revision": "056",
        "temperature": null
      }
    ],
    "stat": 1.436050996184349
  },
  {
    "type": "Version",
    "result": {
      "projectName": "fastfetch",
      "sysName": "Linux",
      "architecture": "x86_64",
      "version": "2.22.0",
      "versionGit": "",
      "cmakeBuiltType": "RelWithDebInfo",
      "compileTime": "Aug 26 2024, 02:43:33",
      "compiler": "gcc 9.4.0",
      "debugMode": false,
      "libc": "glibc 2.31"
    },
    "stat": 0.005091995000839233
  },
  {
    "type": "Break",
    "error": "Unsupported for JSON format",
    "stat": 0.0023050010204315186
  },
  {
    "type": "Colors",
    "error": "Unsupported for JSON format",
    "stat": 0.0011969953775405884
  }
]

Output of fastfetch --list-features:

threads
vulkan
wayland
xcb-randr
xcb
xrandr
x11
drm
gio
dconf
dbus
imagemagick7
imagemagick6
chafa
zlib
xfconf
sqlite3
rpm
egl
glx
osmesa
opencl
libpulse
libddcutil
libelf
Directx Headers
linux/videodev2
linux/wireless

If fastfatch crashed or froze

Paste the stacktrace here. You may get it with:

# You may need Ctrl+C to stop the process if it freezes
gdb -q -ex 'set confirm off' -ex run -ex 'bt full' -ex quit --args /path/to/fastfetch

If you are able to identify which module crashed, the strace can be helpful too

strace /path/to/fastfetch --multithreading false -s {MODULE} --pipe

If you cannot do the instructions above, please upload the core dump file:

If fastfetch is slow

Use time fastfetch --stat to show time usage for each module.

If an image or logo didn't show

If fastfetch behaves incorrectly on shell startup

CarterLi commented 3 weeks ago

image

I installed unity in VM. I didn't find where to set the icon theme.

Princess-Sunset-Shimmer commented 3 weeks ago

I installed unity in VM. I didn't find where to set the icon theme.

To set icon theme:\ Open ~/.config/gtk-4.0/settings.ini\ Add icons.theme = "you_downloaded_unity_icon_theme_name"\ \ if it helps

Rodmatronic commented 3 weeks ago

To change the icons, I used Unity Tweak Tool.

CarterLi commented 3 weeks ago

Cannot replicate

image