Skip to content

[BUG] The {full-path} in editorFormat cannot be correctly parsed into the corresponding result. #1861

@SorYoshino

Description

@SorYoshino

Read the FAQ first

  • I have checked the FAQ but the issue is not covered

Description

{
    "modules": [
        {
            "type": "editor",
            "key": "│ ├ Editor",
            "keyColor": "\u001b[1;38;2;255;215;0m",
            "format": "{name} {version} {full-path} (from ${type})"
        }
    }
}

Using the configuration above will cause {full-path} to fail to display the corresponding information properly, but using {4} will work. While filling out this issue, I discovered the cause of the problem by running fastfetch -c all.jsonc --stat --format json—the documentation here may be slightly outdated and does not align with the options within the program. It should use {path} instead of {full-path}.

Version used

fastfetch 2.48.1 (x86_64)

Bug prevalence

Always

Regression

Not sure

Installation

GitHub Releases

Package manager

No response

Screenshots

Image

Configuration

System information

[
  {
    "type": "Title",
    "result": {
      "userName": "zertwo",
      "fullUserName": ",,,",
      "hostName": "ASUS",
      "homeDir": "/home/zertwo/",
      "exePath": "/usr/bin/fastfetch",
      "userShell": "/bin/bash"
    },
    "stat": 0.0348999984562397
  },
  {
    "type": "Separator",
    "error": "Unsupported for JSON format",
    "stat": 0.0003000013530254364
  },
  {
    "type": "OS",
    "result": {
      "buildID": "",
      "codename": "noble",
      "id": "ubuntu",
      "idLike": "debian",
      "name": "Ubuntu",
      "prettyName": "Ubuntu 24.04.2 LTS",
      "variant": "",
      "variantID": "",
      "version": "24.04.2 LTS (Noble Numbat)",
      "versionID": "24.04"
    },
    "stat": 0.05219999700784683
  },
  {
    "type": "Host",
    "result": {
      "family": "WSL",
      "name": "Windows Subsystem for Linux - Ubuntu",
      "version": "2.4.13",
      "sku": "",
      "vendor": "Microsoft Corporation",
      "serial": "",
      "uuid": ""
    },
    "stat": 1.5210999995470047
  },
  {
    "type": "BIOS",
    "result": {
      "date": "",
      "release": "",
      "vendor": "",
      "version": "",
      "type": "BIOS"
    },
    "stat": 0.38449999690055847
  },
  {
    "type": "Bootmgr",
    "error": "Failed to read efivar: BootCurrent",
    "stat": 0.012800000607967377
  },
  {
    "type": "Board",
    "error": "board_name is not set.",
    "stat": 0.016300000250339508
  },
  {
    "type": "Chassis",
    "error": "chassis_type is not set by O.E.M.",
    "stat": 0.021199997514486313
  },
  {
    "type": "Kernel",
    "result": {
      "architecture": "x86_64",
      "name": "Linux",
      "release": "5.15.167.4-microsoft-standard-WSL2",
      "version": "#1 SMP Tue Nov 5 00:21:55 UTC 2024",
      "displayVersion": "",
      "pageSize": 4096
    },
    "stat": 0.035100001841783524
  },
  {
    "type": "InitSystem",
    "result": {
      "name": "systemd",
      "exe": "/usr/lib/systemd/systemd",
      "version": "255.4-1ubuntu8.10",
      "pid": 1
    },
    "stat": 0.31709999963641167
  },
  {
    "type": "Uptime",
    "result": {
      "uptime": 19141510,
      "bootTime": "2025-07-22T15:22:40.388+0800"
    },
    "stat": 0.09120000153779984
  },
  {
    "type": "Loadavg",
    "result": [
      0.07,
      0.02,
      0.0
    ],
    "stat": 0.016100000590085983
  },
  {
    "type": "Processes",
    "result": 54,
    "stat": 0.11160000041127205
  },
  {
    "type": "Packages",
    "result": {
      "all": 801,
      "amSystem": 0,
      "amUser": 0,
      "apk": 0,
      "brew": 0,
      "brewCask": 0,
      "choco": 0,
      "dpkg": 796,
      "emerge": 0,
      "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": 5,
      "soar": 0,
      "sorcery": 0,
      "winget": 0,
      "xbps": 0,
      "pacmanBranch": ""
    },
    "stat": 5.842702001333237
  },
  {
    "type": "Shell",
    "result": {
      "exe": "bash",
      "exeName": "bash",
      "exePath": "/usr/bin/bash",
      "pid": 540,
      "ppid": 538,
      "processName": "bash",
      "prettyName": "bash",
      "version": "5.2.21",
      "tty": 0
    },
    "stat": 0.267900001257658
  },
  {
    "type": "Editor",
    "result": {
      "type": "Visual",
      "name": "vim",
      "path": "/usr/bin/vim.basic",
      "exe": "vim.basic",
      "version": "9.1"
    },
    "stat": 0.2498999983072281
  },
  {
    "type": "Display",
    "result": [
      {
        "id": 0,
        "name": "XWAYLAND0",
        "primary": false,
        "output": {
          "width": 1920,
          "height": 1080,
          "refreshRate": 59.962843833185445
        },
        "scaled": {
          "width": 1920,
          "height": 1080
        },
        "preferred": {
          "width": 1920,
          "height": 1080,
          "refreshRate": 59.962843833185445
        },
        "physical": {
          "width": 0,
          "height": 0
        },
        "rotation": 0,
        "bitDepth": 0,
        "hdrStatus": null,
        "type": "Unknown",
        "manufactureDate": null,
        "serial": null,
        "platformApi": "xcb-randr-crtc"
      }
    ],
    "stat": 2.7776009999215603
  },
  {
    "type": "Brightness",
    "result": [],
    "stat": 0.5113000012934208
  },
  {
    "type": "Monitor",
    "error": "Monitor module is an alias of Display module",
    "stat": 0.04570000246167183
  },
  {
    "type": "LM",
    "result": {
      "service": "login",
      "type": "TTY",
      "version": ""
    },
    "stat": 0.032899998128414154
  },
  {
    "type": "DE",
    "result": {
      "processName": "WSLg",
      "prettyName": "WSLg",
      "version": ""
    },
    "stat": 0.040299996733665466
  },
  {
    "type": "WM",
    "result": {
      "processName": "Weston WM",
      "prettyName": "Weston WM",
      "protocolName": "X11",
      "pluginName": "",
      "version": ""
    },
    "stat": 0.0020999982953071594
  },
  {
    "type": "WMTheme",
    "error": "Unknown WM: Weston WM",
    "stat": 0.0010000020265579224
  },
  {
    "type": "Theme",
    "result": {
      "theme1": "",
      "theme2": "Yaru [GTK3]"
    },
    "stat": 1.2669010013341904
  },
  {
    "type": "Icons",
    "result": {
      "icons1": "",
      "icons2": "Yaru [GTK3]"
    },
    "stat": 0.029600001871585846
  },
  {
    "type": "Font",
    "error": "No fonts found",
    "stat": 0.026200000196695328
  },
  {
    "type": "Cursor",
    "result": {
      "theme": "Adwaita",
      "size": ""
    },
    "stat": 0.35439999774098396
  },
  {
    "type": "Wallpaper",
    "error": "Failed to detect the current wallpaper path",
    "stat": 0.0012999996542930603
  },
  {
    "type": "Terminal",
    "result": {
      "processName": "Windows Terminal",
      "exe": "Windows Terminal",
      "exeName": "Windows Terminal",
      "exePath": "",
      "pid": 0,
      "ppid": 0,
      "prettyName": "Windows Terminal",
      "version": "",
      "tty": "/dev/pts/0"
    },
    "stat": 0.2452000007033348
  },
  {
    "type": "TerminalFont",
    "error": "Unknown terminal: Windows Terminal",
    "stat": 0.05180000141263008
  },
  {
    "type": "TerminalSize",
    "result": {
      "columns": 144,
      "rows": 29,
      "width": 1440,
      "height": 580
    },
    "stat": 0.8445000015199184
  },
  {
    "type": "TerminalTheme",
    "result": {
      "fg": {
        "r": 248,
        "g": 248,
        "b": 242,
        "dark": false
      },
      "bg": {
        "r": 40,
        "g": 42,
        "b": 54,
        "dark": true
      }
    },
    "stat": 1.1284999996423721
  },
  {
    "type": "CPU",
    "result": {
      "cpu": "Intel(R) Core(TM) i5-10200H",
      "vendor": "GenuineIntel",
      "packages": 1,
      "cores": {
        "physical": 3,
        "logical": 6,
        "online": 6
      },
      "frequency": {
        "base": 2400,
        "max": 0
      },
      "coreTypes": [],
      "temperature": null
    },
    "stat": 0.2994010001420975
  },
  {
    "type": "CPUCache",
    "result": {
      "l1": [
        {
          "size": 32768,
          "num": 3,
          "lineSize": 64,
          "type": "data"
        },
        {
          "size": 32768,
          "num": 3,
          "lineSize": 64,
          "type": "instruction"
        }
      ],
      "l2": [
        {
          "size": 262144,
          "num": 3,
          "lineSize": 64,
          "type": "unified"
        }
      ],
      "l3": [
        {
          "size": 8388608,
          "num": 1,
          "lineSize": 64,
          "type": "unified"
        }
      ]
    },
    "stat": 3.773701000958681
  },
  {
    "type": "CPUUsage",
    "result": [
      15.0,
      10.526315789473683,
      5.263157894736842,
      18.181818181818183,
      65.0,
      14.285714285714285
    ],
    "stat": 200.23285900056362
  },
  {
    "type": "GPU",
    "result": [
      {
        "index": 0,
        "coreCount": null,
        "coreUsage": 18.0,
        "memory": {
          "dedicated": {
            "total": 4126146560,
            "used": 129150976
          },
          "shared": {
            "total": 8503957504,
            "used": null
          },
          "type": null
        },
        "driver": "32.0.15.7688",
        "name": "NVIDIA GeForce GTX 1650 Ti",
        "temperature": 60.0,
        "type": "Discrete",
        "vendor": "NVIDIA",
        "platformApi": "DXCore",
        "frequency": 2100,
        "deviceId": 0
      },
      {
        "index": null,
        "coreCount": null,
        "coreUsage": null,
        "memory": {
          "dedicated": {
            "total": 134217728,
            "used": null
          },
          "shared": {
            "total": 8503957504,
            "used": null
          },
          "type": null
        },
        "driver": "26.20.100.7985",
        "name": "Intel(R) UHD Graphics",
        "temperature": null,
        "type": "Integrated",
        "vendor": "Intel",
        "platformApi": "DXCore",
        "frequency": 0,
        "deviceId": 0
      }
    ],
    "stat": 785.488236002624
  },
  {
    "type": "Memory",
    "result": {
      "total": 8332447744,
      "used": 1208049664
    },
    "stat": 0.04839999973773956
  },
  {
    "type": "PhysicalMemory",
    "error": "Failed to get SMBIOS data",
    "stat": 0.03739999979734421
  },
  {
    "type": "Swap",
    "result": [
      {
        "name": "/dev/sdb",
        "used": 48394240,
        "total": 8589934592
      }
    ],
    "stat": 0.022800002247095108
  },
  {
    "type": "Disk",
    "result": [
      {
        "bytes": {
          "available": 1021406117888,
          "free": 1076398473216,
          "total": 1081101176832,
          "used": 4702703616
        },
        "files": {
          "total": 67108864,
          "used": 67349
        },
        "filesystem": "ext4",
        "mountpoint": "/",
        "mountFrom": "/dev/sdc",
        "name": "",
        "volumeType": [
          "Regular"
        ],
        "createTime": "2024-07-15T00:50:53.000+0800"
      },
      {
        "bytes": {
          "available": 72881266688,
          "free": 72881266688,
          "total": 214945808384,
          "used": 142064541696
        },
        "files": {
          "total": null,
          "used": null
        },
        "filesystem": "9p",
        "mountpoint": "/mnt/c",
        "mountFrom": "C:\\",
        "name": "",
        "volumeType": [
          "Regular"
        ],
        "createTime": null
      },
      {
        "bytes": {
          "available": 123353985024,
          "free": 123353985024,
          "total": 295487664128,
          "used": 172133679104
        },
        "files": {
          "total": null,
          "used": null
        },
        "filesystem": "9p",
        "mountpoint": "/mnt/d",
        "mountFrom": "D:\\",
        "name": "",
        "volumeType": [
          "Regular"
        ],
        "createTime": null
      },
      {
        "bytes": {
          "available": 124515434496,
          "free": 124515434496,
          "total": 473759215616,
          "used": 349243781120
        },
        "files": {
          "total": null,
          "used": null
        },
        "filesystem": "9p",
        "mountpoint": "/mnt/e",
        "mountFrom": "E:\\",
        "name": "",
        "volumeType": [
          "Regular"
        ],
        "createTime": null
      },
      {
        "bytes": {
          "available": 205559652352,
          "free": 205559652352,
          "total": 526443847680,
          "used": 320884195328
        },
        "files": {
          "total": null,
          "used": null
        },
        "filesystem": "9p",
        "mountpoint": "/mnt/f",
        "mountFrom": "F:\\",
        "name": "",
        "volumeType": [
          "Regular"
        ],
        "createTime": null
      },
      {
        "bytes": {
          "available": 1021406117888,
          "free": 1076398473216,
          "total": 1081101176832,
          "used": 4702703616
        },
        "files": {
          "total": 67108864,
          "used": 67349
        },
        "filesystem": "ext4",
        "mountpoint": "/mnt/wslg/distro",
        "mountFrom": "/dev/sdc",
        "name": "",
        "volumeType": [
          "Subvolume",
          "Read-only"
        ],
        "createTime": "2024-07-15T00:50:53.000+0800"
      },
      {
        "bytes": {
          "available": 1021406117888,
          "free": 1076398473216,
          "total": 1081101176832,
          "used": 4702703616
        },
        "files": {
          "total": 67108864,
          "used": 67349
        },
        "filesystem": "ext4",
        "mountpoint": "/snap",
        "mountFrom": "/dev/sdc",
        "name": "",
        "volumeType": [
          "Subvolume"
        ],
        "createTime": "2024-07-15T00:50:53.393+0800"
      }
    ],
    "stat": 4.816001001745462
  },
  {
    "type": "Btrfs",
    "result": [],
    "stat": 0.314300000667572
  },
  {
    "type": "Zpool",
    "error": "dlopen libzfs.so failed",
    "stat": 0.4787000007927418
  },
  {
    "type": "Battery",
    "result": [
      {
        "capacity": 86.0,
        "manufacturer": "",
        "manufactureDate": "",
        "modelName": "Microsoft Hyper-V Virtual Batte",
        "status": "",
        "technology": "Unknown",
        "serial": "Virtual",
        "temperature": null,
        "cycleCount": 0
      }
    ],
    "stat": 4.011401999741793
  },
  {
    "type": "PowerAdapter",
    "result": [],
    "stat": 0.29670000076293945
  },
  {
    "type": "Player",
    "error": "Player module is an alias of Media module",
    "stat": 0.0012999996542930603
  },
  {
    "type": "Media",
    "error": "No media found",
    "stat": 83.05142499879003
  },
  {
    "type": "LocalIp",
    "result": [
      {
        "name": "eth4",
        "defaultRoute": true,
        "ipv4": "192.168.1.9/24",
        "ipv6": "2409:8a6c:1012:590:9267:35f3:723c:d9fa/64,2409:8a6c:1012:590:d4f4:2bd3:13a9:6aac/128,fe80::ef7:4b57:c7d1:c7d1/64",
        "mac": "34:cf:f6:09:fd:71",
        "mtu": 1500,
        "speed": 10000,
        "flags": "UP,BROADCAST,RUNNING,MULTICAST,LOWER_UP"
      }
    ],
    "stat": 8.47180199995637
  },
  {
    "type": "DNS",
    "result": [
      "10.255.255.254"
    ],
    "stat": 0.023000001907348633
  },
  {
    "type": "Wifi",
    "result": [],
    "stat": 20.80410600081086
  },
  {
    "type": "DateTime",
    "result": "2025-07-22T20:41:43.024+0800",
    "stat": 0.029300998896360397
  },
  {
    "type": "Vulkan",
    "result": {
      "apiVersion": "",
      "conformanceVersion": "",
      "driver": "",
      "gpus": []
    },
    "stat": 391.3603179976344
  },
  {
    "type": "OpenGL",
    "result": {
      "version": "4.5 (Compatibility Profile) Mesa 24.2.8-1ubuntu1~24.04.1",
      "renderer": "llvmpipe (LLVM 19.1.1, 256 bits)",
      "vendor": "Mesa",
      "slv": "4.50",
      "library": "EGL 1.5"
    },
    "stat": 654.7646979987621
  },
  {
    "type": "OpenCL",
    "error": "dlopen libOpenCL.so failed",
    "stat": 0.2379000000655651
  },
  {
    "type": "Users",
    "result": [
      {
        "name": "zertwo",
        "hostName": "",
        "sessionName": "pts/1",
        "clientIp": "",
        "loginTime": "2025-07-22T15:34:23.949+0800"
      }
    ],
    "stat": 0.07660100236535072
  },
  {
    "type": "Bluetooth",
    "result": [],
    "stat": 0.03590000048279762
  },
  {
    "type": "BluetoothRadio",
    "error": "Failed to open /sys/class/bluetooth",
    "stat": 0.0042999982833862305
  },
  {
    "type": "Sound",
    "result": [
      {
        "active": false,
        "main": true,
        "volume": 100,
        "name": "RDP Sink",
        "identifier": "RDPSink",
        "platformApi": "pulseaudio 16.1-8-g6f04"
      }
    ],
    "stat": 44.50801299884915
  },
  {
    "type": "Camera",
    "result": [],
    "stat": 0.07830000296235085
  },
  {
    "type": "Gamepad",
    "result": [],
    "stat": 0.10909999907016754
  },
  {
    "type": "Mouse",
    "result": [],
    "stat": 0.015200000256299973
  },
  {
    "type": "Keyboard",
    "error": "opendir(\"/dev/input/by-path/\") == NULL",
    "stat": 0.008000001311302185
  },
  {
    "type": "NetIO",
    "result": [
      {
        "name": "eth4",
        "defaultRoute": true,
        "txBytes": 670,
        "rxBytes": 375,
        "txPackets": 7,
        "rxPackets": 4,
        "rxErrors": 0,
        "txErrors": 0,
        "rxDrops": 0,
        "txDrops": 0
      }
    ],
    "stat": 0.0867999978363514
  },
  {
    "type": "DiskIO",
    "result": [
      {
        "name": "Msft Virtual Disk",
        "devPath": "/dev/sdb",
        "bytesRead": 6144,
        "bytesWritten": 0,
        "readCount": 1,
        "writeCount": 0
      },
      {
        "name": "Msft Virtual Disk",
        "devPath": "/dev/sdc",
        "bytesRead": 51587072,
        "bytesWritten": 288768,
        "readCount": 695,
        "writeCount": 8
      },
      {
        "name": "Msft Virtual Disk",
        "devPath": "/dev/sda",
        "bytesRead": 993280,
        "bytesWritten": 0,
        "readCount": 14,
        "writeCount": 0
      }
    ],
    "stat": 0.31030000001192093
  },
  {
    "type": "PhysicalDisk",
    "result": [
      {
        "name": "Msft Virtual Disk",
        "devPath": "/dev/sdb",
        "interconnect": "",
        "kind": "HDD",
        "size": 8589938688,
        "serial": "",
        "removable": false,
        "readOnly": false,
        "revision": "1.0",
        "temperature": null
      },
      {
        "name": "Msft Virtual Disk",
        "devPath": "/dev/sdc",
        "interconnect": "",
        "kind": "HDD",
        "size": 1099511627776,
        "serial": "",
        "removable": false,
        "readOnly": false,
        "revision": "1.0",
        "temperature": null
      },
      {
        "name": "Msft Virtual Disk",
        "devPath": "/dev/sda",
        "interconnect": "",
        "kind": "HDD",
        "size": 407298048,
        "serial": "",
        "removable": false,
        "readOnly": true,
        "revision": "1.0",
        "temperature": null
      }
    ],
    "stat": 1.0883009992539883
  },
  {
    "type": "TPM",
    "error": "TPM is not supported by kernel",
    "stat": 0.007699999958276749
  },
  {
    "type": "Version",
    "result": {
      "projectName": "fastfetch",
      "sysName": "Linux",
      "architecture": "x86_64",
      "version": "2.48.1",
      "versionGit": "",
      "cmakeBuiltType": "RelWithDebInfo",
      "compileTime": "Jul 18 2025, 11:30:27",
      "compiler": "gcc 11.4.0",
      "debugMode": false,
      "libc": "glibc 2.35"
    },
    "stat": 0.0016999989748001099
  },
  {
    "type": "Break",
    "error": "Unsupported for JSON format",
    "stat": 0.0008000023663043976
  },
  {
    "type": "Colors",
    "error": "Unsupported for JSON format",
    "stat": 0.0006999969482421875
  }
]

Features built-in

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

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