fastfetch icon indicating copy to clipboard operation
fastfetch copied to clipboard

[BUG] openRC issue

Open max2000warlord opened this issue 1 year ago • 1 comments

Read the FAQ first

  • [x] I have checked the FAQ but the issue is not covered

Description

InitSystem module won't output "OpenRC" or openRC version.

Version used

fastfetch 2.39.1 (x86_64)

Bug prevalence

Always

Regression

No

Installation

Package manager

Package manager

portage

Screenshots

Image

Configuration

{
  "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
  "logo": {
    "type": "kitty",
    "source": "/home/max/.config/fastfetch/gentoo.png",
    "height": 17,
    "padding": {
      "top": 1,
      "right": 1,
      "left": 1
    }
  },
  "display": {
    "separator": ""
  },
  "modules": [
    {
      "type": "custom", // HardwareStart
      "format": "\u001b[38;2;16;175;223m        ╒════════════════════╕\u001b[0m"
    },
    {
      "type": "custom", // HardwareStart
      "format": "\u001b[38;2;16;175;223m        │\u001b[1;34mHardware Information\u001b[38;2;16;175;223m│\u001b[0m"
    },
    {
      "type": "custom", // HardwareStart
      "format": "\u001b[38;2;16;175;223m        ╘════════════════════╛\u001b[0m"
    },
    {
      "type": "cpu",
      "key": "\u001b[38;2;255;0;0m \u001b[38;2;255;255;255m \u001b[0m",
      "format": "{1} @ {7}"
    },
    {
      "type": "disk",
      "key": "\u001b[1;32m󰋊 \u001b[38;2;255;255;255m \u001b[0m" // Green color for disk icon,
    },
    {
      "type": "memory",
      "key": "\u001b[1;33m \u001b[38;2;255;255;255m \u001b[0m"
    },
    {
      "type": "display",
      "key": "󰍹 \u001b[38;2;255;255;255m \u001b[0m"
    },
    {
      "type": "battery",
      "key": "󰄌 \u001b[38;2;255;255;255m \u001b[0m",
      "format": "{4} [{5}]"
    },
    {
      "type": "custom", // HardwareStart
      "format": "\u001b[38;2;16;175;223m        ╒════════════════════╕\u001b[0m"
    },
    {
      "type": "custom", // SoftwareStart
      "format": "\u001b[38;2;16;175;223m        │\u001b[1;34mSoftware Information\u001b[38;2;16;175;223m│\u001b[0m"
    },
    {
      "type": "custom", // HardwareStart
      "format": "\u001b[38;2;16;175;223m        ╘════════════════════╛\u001b[0m"
    },
    {
      "type": "title",
      "key": "\u001b[38;2;255;255;255m  \u001b[0m",
      "format": "{1}@{2}"
    },
    {
      "type": "kernel",
      "key": "\u001b[38;2;16;175;223m\u001b[38;2;255;255;255m  \u001b[0m",
      "format": "{2}"
    },
    {
      "type": "initsystem",
      "key": "\u001b[38;2;16;175;223m \u001b[38;2;255;255;255m  󱞪 \u001b[0m",
      "format": "{1}"
    },
    {
      "type": "wm",
      "key": "\u001b[38;2;0;164;245m\u001b[38;2;255;255;255m  \u001b[0m",
      "format": "{5}"
    },
    {
      "type": "terminal",
      "key": "\u001b[38;2;0;255;0m\u001b[38;2;255;255;255m  \u001b[0m",
      "format": "{5}"
    },
    {
      "type": "shell",
      "key": "\u001b[38;2;16;175;223m \u001b[38;2;255;255;255m  󱞪 \u001b[0m"
    },
    {
      "type": "packages",
      "key": "\u001b[38;2;255;204;0m󰏖\u001b[38;2;255;255;255m  \u001b[0m",
      "format": "{1} (portage)"
    },
    {
      "type": "wifi",
      "key": "\u001b[38;2;255;255;255m  \u001b[0m",
      "format": "{4}"
    },
    {
      "type": "custom", // HardwareStart
      "format": "\n"
    }
  ]
}

System information

[
  {
    "type": "Title",
    "result": {
      "userName": "max",
      "hostName": "Gentoo-Heimat",
      "homeDir": "/home/max/",
      "exePath": "/usr/bin/fastfetch",
      "userShell": "/bin/fish"
    },
    "stat": 0.008834000211209059
  },
  {
    "type": "Separator",
    "error": "Unsupported for JSON format",
    "stat": 0.000249999575316906
  },
  {
    "type": "OS",
    "result": {
      "buildID": "",
      "codename": "",
      "id": "gentoo",
      "idLike": "",
      "name": "Gentoo",
      "prettyName": "Gentoo Linux",
      "variant": "",
      "variantID": "",
      "version": "",
      "versionID": "2.17"
    },
    "stat": 0.03939899988472462
  },
  {
    "type": "Host",
    "result": {
      "family": "ThinkPad L590",
      "name": "20Q7A00BAU",
      "version": "ThinkPad L590",
      "sku": "LENOVO_MT_20Q7_BU_SMB_FM_ThinkPad L590",
      "vendor": "LENOVO",
      "serial": "",
      "uuid": ""
    },
    "stat": 0.0837380001321435
  },
  {
    "type": "Bios",
    "result": {
      "date": "06/29/2020",
      "release": "1.21",
      "vendor": "LENOVO",
      "version": "R0ZET43W (1.21 )",
      "type": "UEFI"
    },
    "stat": 0.03811099985614419
  },
  {
    "type": "Bootmgr",
    "result": {
      "name": "gentoo",
      "firmware": "\\EFI\\gentoo\\grubx64.efi",
      "secureBoot": false
    },
    "stat": 1.5425080000422895
  },
  {
    "type": "Board",
    "result": {
      "name": "20Q7A00BAU",
      "vendor": "LENOVO",
      "version": "SDK0J40697 WIN",
      "serial": ""
    },
    "stat": 0.049406999722123146
  },
  {
    "type": "Chassis",
    "result": {
      "type": "Notebook",
      "vendor": "LENOVO",
      "version": "",
      "serial": ""
    },
    "stat": 0.03987400000914931
  },
  {
    "type": "Kernel",
    "result": {
      "architecture": "x86_64",
      "name": "Linux",
      "release": "6.13.9-gentoo-dist",
      "version": "#1 SMP PREEMPT_DYNAMIC Sat Mar 29 12:26:39 -00 2025",
      "displayVersion": "",
      "pageSize": 4096
    },
    "stat": 0.0009170002304017544
  },
  {
    "type": "InitSystem",
    "result": {
      "name": "init",
      "exe": "init [3]",
      "version": "",
      "pid": 1
    },
    "stat": 0.02541100000962615
  },
  {
    "type": "Uptime",
    "result": {
      "uptime": 4069940,
      "bootTime": "2025-03-30T20:52:21.203+1100"
    },
    "stat": 0.03643399989232421
  },
  {
    "type": "Loadavg",
    "result": [
      0.91,
      0.59,
      0.36
    ],
    "stat": 0.012725000269711018
  },
  {
    "type": "Processes",
    "result": 779,
    "stat": 0.6828359998762608
  },
  {
    "type": "Packages",
    "result": {
      "all": 1323,
      "amSystem": 0,
      "amUser": 0,
      "apk": 0,
      "brew": 0,
      "brewCask": 0,
      "choco": 0,
      "dpkg": 0,
      "emerge": 1323,
      "eopkg": 0,
      "flatpakSystem": 0,
      "flatpakUser": 0,
      "guixSystem": 0,
      "guixUser": 0,
      "guixHome": 0,
      "hpkgSystem": 0,
      "hpkgUser": 0,
      "linglong": 0,
      "mport": 0,
      "nixDefault": 0,
      "nixSystem": 0,
      "nixUser": 0,
      "opkg": 0,
      "pacman": 0,
      "pacstall": 0,
      "paludis": 0,
      "pisi": 0,
      "pkg": 0,
      "pkgtool": 0,
      "pkgsrc": 0,
      "qi": 0,
      "macports": 0,
      "rpm": 0,
      "scoop": 0,
      "snap": 0,
      "sorcery": 0,
      "winget": 0,
      "xbps": 0,
      "pacmanBranch": ""
    },
    "stat": 3.198013000190258
  },
  {
    "type": "Shell",
    "result": {
      "exe": "fish",
      "exeName": "fish",
      "exePath": "/usr/bin/fish",
      "pid": 14488,
      "ppid": 14484,
      "processName": "fish",
      "prettyName": "fish",
      "version": "4.0.1",
      "tty": 1
    },
    "stat": 2.0650110002607107
  },
  {
    "type": "Editor",
    "error": "$VISUAL or $EDITOR not set",
    "stat": 0.009463999886065722
  },
  {
    "type": "Display",
    "result": [
      {
        "id": 0,
        "name": "LGD063A",
        "primary": false,
        "output": {
          "width": 1920,
          "height": 1080,
          "refreshRate": 60.020425119435025
        },
        "scaled": {
          "width": 0,
          "height": 0
        },
        "preferred": {
          "width": 0,
          "height": 0,
          "refreshRate": 0.0
        },
        "physical": {
          "width": 344,
          "height": 194
        },
        "rotation": 0,
        "bitDepth": 0,
        "hdrStatus": "Unsupported",
        "type": "Builtin",
        "manufactureDate": {
          "year": 2018,
          "week": 0
        },
        "serial": null,
        "platformApi": "sysfs-drm"
      }
    ],
    "stat": 5.380603999830782
  },
  {
    "type": "Brightness",
    "result": [
      {
        "name": "LGD063A",
        "max": 19200.0,
        "min": 0.0,
        "current": 5894.0,
        "builtin": true
      }
    ],
    "stat": 0.08367499988526106
  },
  {
    "type": "Monitor",
    "error": "Monitor module is an alias of Display module",
    "stat": 0.0008100001141428947
  },
  {
    "type": "LM",
    "result": {
      "service": "sshd",
      "type": "TTY",
      "version": "9.9p2"
    },
    "stat": 1.7622110000811517
  },
  {
    "type": "DE",
    "error": "No DE found",
    "stat": 0.0019260002300143242
  },
  {
    "type": "WM",
    "error": "No WM found",
    "stat": 0.0008379998616874218
  },
  {
    "type": "WMTheme",
    "error": "WM Theme needs successful WM detection",
    "stat": 0.001157000195235014
  },
  {
    "type": "Theme",
    "result": {
      "theme1": "",
      "theme2": "Adwaita-dark [GTK2/3]"
    },
    "stat": 0.08938500005751848
  },
  {
    "type": "Icons",
    "result": {
      "icons1": "",
      "icons2": "Sweet-Purple [GTK2/3]"
    },
    "stat": 0.0016939998604357243
  },
  {
    "type": "Font",
    "result": {
      "display": "Sans (10pt) [GTK2/3]",
      "fonts": [
        "",
        "Sans (10pt)",
        "Sans (10pt)",
        ""
      ]
    },
    "stat": 0.010116999968886375
  },
  {
    "type": "Cursor",
    "result": {
      "theme": "Adwaita",
      "size": "24"
    },
    "stat": 0.0014990000054240227
  },
  {
    "type": "Wallpaper",
    "error": "Failed to detect the current wallpaper path",
    "stat": 0.000717999879270792
  },
  {
    "type": "Terminal",
    "result": {
      "processName": "sshd-session",
      "exe": "sshd-session: max@pts/1",
      "exeName": "1",
      "exePath": "",
      "pid": 14484,
      "ppid": 14442,
      "prettyName": "",
      "version": "",
      "tty": ""
    },
    "stat": 0.04735899996012449
  },
  {
    "type": "TerminalFont",
    "error": "Unknown terminal: sshd-session",
    "stat": 0.003570999950170517
  },
  {
    "type": "TerminalSize",
    "result": {
      "columns": 173,
      "rows": 44,
      "width": 1912,
      "height": 1032
    },
    "stat": 0.007639000192284584
  },
  {
    "type": "TerminalTheme",
    "result": {
      "fg": {
        "r": 218,
        "g": 217,
        "b": 199,
        "dark": false
      },
      "bg": {
        "r": 0,
        "g": 0,
        "b": 0,
        "dark": true
      }
    },
    "stat": 16.101646000053734
  },
  {
    "type": "CPU",
    "result": {
      "cpu": "Intel(R) Core(TM) i7-8565U",
      "vendor": "GenuineIntel",
      "packages": 1,
      "cores": {
        "physical": 4,
        "logical": 8,
        "online": 8
      },
      "frequency": {
        "base": 2000,
        "max": 4600
      },
      "coreTypes": [
        {
          "count": 8,
          "freq": 1800
        }
      ],
      "temperature": 45.0
    },
    "stat": 0.9048660001717508
  },
  {
    "type": "CPUCache",
    "result": {
      "l1": [
        {
          "size": 32768,
          "num": 4,
          "lineSize": 64,
          "type": "data"
        },
        {
          "size": 32768,
          "num": 4,
          "lineSize": 64,
          "type": "instruction"
        }
      ],
      "l2": [
        {
          "size": 262144,
          "num": 4,
          "lineSize": 64,
          "type": "unified"
        }
      ],
      "l3": [
        {
          "size": 8388608,
          "num": 1,
          "lineSize": 64,
          "type": "unified"
        }
      ]
    },
    "stat": 1.281266000121832
  },
  {
    "type": "CPUUsage",
    "result": [
      0.0,
      0.0,
      4.761904761904762,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0
    ],
    "stat": 200.43216999992728
  },
  {
    "type": "GPU",
    "result": [
      {
        "index": null,
        "coreCount": null,
        "coreUsage": null,
        "memory": {
          "dedicated": {
            "total": null,
            "used": null
          },
          "shared": {
            "total": null,
            "used": null
          }
        },
        "driver": "i915",
        "name": "UHD Graphics 620",
        "temperature": null,
        "type": "Integrated",
        "vendor": "Intel",
        "platformApi": "DRM (card0)",
        "frequency": 1150,
        "deviceId": 20
      }
    ],
    "stat": 2.6593260001391172
  },
  {
    "type": "Memory",
    "result": {
      "total": 16413933568,
      "used": 1545998336
    },
    "stat": 0.02323699975386262
  },
  {
    "type": "PhysicalMemory",
    "error": "Failed to get SMBIOS data",
    "stat": 0.010280000045895576
  },
  {
    "type": "Swap",
    "result": {
      "total": 8589930496,
      "used": 0
    },
    "stat": 0.012748999986797571
  },
  {
    "type": "Disk",
    "result": [
      {
        "bytes": {
          "available": 394886705152,
          "free": 394886705152,
          "total": 502958579712,
          "used": 108071874560
        },
        "files": {
          "total": 245705216,
          "used": 2245080
        },
        "filesystem": "xfs",
        "mountpoint": "/",
        "mountFrom": "/dev/nvme0n1p3",
        "name": "/",
        "volumeType": [
          "Regular"
        ],
        "createTime": "2024-11-12T07:27:42.854+1100"
      },
      {
        "bytes": {
          "available": 313786368,
          "free": 313786368,
          "total": 313942016,
          "used": 155648
        },
        "files": {
          "total": null,
          "used": null
        },
        "filesystem": "vfat",
        "mountpoint": "/boot/efi",
        "mountFrom": "/dev/nvme0n1p1",
        "name": "",
        "volumeType": [
          "Hidden"
        ],
        "createTime": null
      }
    ],
    "stat": 0.24774699984118342
  },
  {
    "type": "Btrfs",
    "result": [],
    "stat": 0.010817000176757574
  },
  {
    "type": "Zpool",
    "error": "dlopen libzfs.so failed",
    "stat": 0.23014699993655086
  },
  {
    "type": "Battery",
    "result": [
      {
        "capacity": 100.0,
        "manufacturer": "Celxpert",
        "manufactureDate": "",
        "modelName": "5B10W138",
        "status": "AC Connected",
        "technology": "Li-poly",
        "serial": " 1538",
        "temperature": null,
        "cycleCount": 438
      }
    ],
    "stat": 4.048506000079215
  },
  {
    "type": "PowerAdapter",
    "result": [],
    "stat": 1.0033860001713037
  },
  {
    "type": "Player",
    "error": "Player module is an alias of Media module",
    "stat": 0.002817000262439251
  },
  {
    "type": "Media",
    "error": "Failed to connect to DBus",
    "stat": 0.4432779997587204
  },
  {
    "type": "PublicIp",
    "result": {
      "ip": "122.150.136.218",
      "location": "Sydney, AU"
    },
    "stat": 0.0985600003041327
  },
  {
    "type": "LocalIp",
    "result": [
      {
        "name": "wlp5s0",
        "defaultRoute": true,
        "ipv4": "192.168.0.15/24",
        "ipv6": "",
        "mac": "9c:29:76:46:7e:f9",
        "mtu": 1500,
        "speed": -1,
        "flags": "UP,BROADCAST,RUNNING,MULTICAST,LOWER_UP"
      }
    ],
    "stat": 0.12629999965429306
  },
  {
    "type": "DNS",
    "result": [
      "192.168.0.1"
    ],
    "stat": 0.019935999996960163
  },
  {
    "type": "Wifi",
    "result": [
      {
        "inf": {
          "description": "wlp5s0",
          "status": "up"
        },
        "conn": {
          "status": "connected",
          "ssid": "OpenWrt",
          "bssid": "78:D2:94:44:0D:57",
          "protocol": "",
          "security": "WPA2",
          "signalQuality": 70.0,
          "rxRate": null,
          "txRate": 702.0,
          "channel": 36,
          "frequency": 5180
        }
      }
    ],
    "stat": 4.673669999931008
  },
  {
    "type": "DateTime",
    "result": "2025-03-30T22:00:11.389+1100",
    "stat": 0.019567999988794327
  },
  {
    "type": "Locale",
    "result": "C.UTF8",
    "stat": 0.0016789999790489674
  },
  {
    "type": "Vulkan",
    "result": {
      "apiVersion": "1.4.305",
      "conformanceVersion": "1.4",
      "driver": "Intel open-source Mesa driver [Mesa 25.0.2]",
      "gpus": [
        {
          "type": "Integrated",
          "vendor": "Intel",
          "name": "Intel(R) UHD Graphics 620 (WHL GT2)",
          "driver": "Mesa 25.0.2",
          "platformApi": "Vulkan 1.4.305",
          "deviceId": 16032,
          "memory": {
            "dedicated": {
              "total": 0,
              "used": null
            },
            "shared": {
              "total": 8206966784,
              "used": null
            }
          },
          "deviceId": 16032
        }
      ]
    },
    "stat": 12.377825999632478
  },
  {
    "type": "OpenGL",
    "result": {
      "version": "4.6 (Compatibility Profile) Mesa 25.0.2",
      "renderer": "Mesa Intel(R) UHD Graphics 620 (WHL GT2)",
      "vendor": "Intel",
      "slv": "4.60",
      "library": "EGL 1.5"
    },
    "stat": 29.655487000010908
  },
  {
    "type": "OpenCL",
    "error": "fastfetch was compiled without OpenCL support",
    "stat": 0.0023690001107752323
  },
  {
    "type": "Users",
    "result": [
      {
        "name": "max",
        "hostName": "192.168.0.241",
        "sessionName": "pts/0",
        "clientIp": "192.168.0.241",
        "loginTime": "2025-03-30T21:05:42.535+1100"
      }
    ],
    "stat": 0.10458800010383129
  },
  {
    "type": "Bluetooth",
    "result": [],
    "stat": 0.013511999975889921
  },
  {
    "type": "BluetoothRadio",
    "result": [
      {
        "name": "Gentoo-Heimat",
        "address": "9C:29:76:46:7E:FD",
        "lmpVersion": 10,
        "lmpSubversion": null,
        "vendor": "Intel",
        "enabled": true,
        "discoverable": false,
        "connectable": false
      }
    ],
    "stat": 0.643366000149399
  },
  {
    "type": "Sound",
    "error": "Fastfetch was built without libpulse support",
    "stat": 0.0011309999972581863
  },
  {
    "type": "Camera",
    "result": [
      {
        "name": "Integrated Camera: Integrated C",
        "vendor": "",
        "colorSpace": "sRGB",
        "id": "usb-0000:00:14.0-7",
        "width": 1280,
        "height": 720
      }
    ],
    "stat": 103.2631509997882
  },
  {
    "type": "Gamepad",
    "result": [],
    "stat": 0.031599999871104956
  },
  {
    "type": "Mouse",
    "result": [
      {
        "serial": "",
        "name": "Elan Touchpad"
      },
      {
        "serial": "",
        "name": "Elan TrackPoint"
      }
    ],
    "stat": 0.08297300012782216
  },
  {
    "type": "Keyboard",
    "result": [
      {
        "serial": "",
        "name": "AT Translated Set 2 keyboard"
      }
    ],
    "stat": 0.04702199995517731
  },
  {
    "type": "Weather",
    "error": "Empty server response received",
    "stat": 1016.2000049999915
  },
  {
    "type": "NetIO",
    "result": [
      {
        "name": "wlp5s0",
        "defaultRoute": true,
        "txBytes": 10264,
        "rxBytes": 8419,
        "txPackets": 80,
        "rxPackets": 80,
        "rxErrors": 0,
        "txErrors": 0,
        "rxDrops": 0,
        "txDrops": 0
      }
    ],
    "stat": 0.1535150003619492
  },
  {
    "type": "DiskIO",
    "result": [
      {
        "name": "SAMSUNG MZVLB512HBJQ-000L7",
        "devPath": "/dev/nvme0n1",
        "bytesRead": 0,
        "bytesWritten": 0,
        "readCount": 0,
        "writeCount": 0
      }
    ],
    "stat": 0.06241999985650182
  },
  {
    "type": "PhysicalDisk",
    "result": [
      {
        "name": "SAMSUNG MZVLB512HBJQ-000L7",
        "devPath": "/dev/nvme0n1",
        "interconnect": "NVMe",
        "kind": "SSD",
        "size": 512110190592,
        "serial": "S4ENNF0N909918",
        "removable": false,
        "readOnly": false,
        "revision": "5M2QEXF7",
        "temperature": 30.85
      }
    ],
    "stat": 7.427495999727398
  },
  {
    "type": "TPM",
    "result": {
      "version": "2.0",
      "description": ""
    },
    "stat": 0.052534999791532755
  },
  {
    "type": "Version",
    "result": {
      "projectName": "fastfetch",
      "sysName": "Linux",
      "architecture": "x86_64",
      "version": "2.39.1",
      "versionGit": "",
      "cmakeBuiltType": "RelWithDebInfo",
      "compileTime": "Mar 30 2025, 21:59:13",
      "compiler": "gcc 14.2.1",
      "debugMode": false,
      "libc": "glibc 2.41"
    },
    "stat": 0.001850999891757965
  },
  {
    "type": "Break",
    "error": "Unsupported for JSON format",
    "stat": 0.0011259997263550758
  },
  {
    "type": "Colors",
    "error": "Unsupported for JSON format",
    "stat": 0.0005709999240934849
  }
]

Features built-in

threads
vulkan
wayland
xcb-randr
dbus
imagemagick7
zlib
egl
glx
libelf
libzfs
System yyjson
linux/videodev2
linux/wireless

max2000warlord avatar Mar 30 '25 11:03 max2000warlord

Because the file name of init process is just init, fastfetch cannot know if it's openrc or something else.

CarterLi avatar Mar 31 '25 01:03 CarterLi