Skip to content

[BUG] Long Terminal Names on NixOS #2337

@SirSputnikWiki

Description

@SirSputnikWiki

Read the FAQ first

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

Description

Fastfetch does not display the name of the terminal emulator correctly, if the emulator was installed through nix and has a particularly long name. So far I've found that this effects the Gnome, Xfce and Mate terminals, which display as follows:

Terminal: .gnome-terminal
Terminal: .xfce4-terminal
Terminal: .mate-terminal-

Note the leading period, and the trailing dash in the case of the Mate terminal.

For comparison, on Debian these display as:

Terminal: GNOME Terminal 3.56.2
Terminal: xfce4-terminal 1.1.4
Terminal: mate-terminal 1.26.1

Version used

fastfetch 2.55.1 (x86_64)

Bug prevalence

Always

Regression

Not sure

Installation

Package manager

Package manager

nix

Screenshots

No response

Configuration

System information

[
  {
    "type": "Title",
    "result": {
      "userName": "user",
      "fullUserName": "",
      "hostName": "nixos",
      "homeDir": "/home/user/",
      "exePath": "/nix/store/y61arn3h7hcc8fka23phi94zjky4al58-fastfetch-2.55.1/bin/.fastfetch-wrapped",
      "userShell": "/run/current-system/sw/bin/zsh"
    },
    "stat": 0.0074839964509010315
  },
  {
    "type": "Separator",
    "error": "Unsupported for JSON format",
    "stat": 0.0005909949541091919
  },
  {
    "type": "OS",
    "result": {
      "buildID": "25.11.10684.8fd9daa3db09",
      "codename": "xantusia",
      "id": "nixos",
      "idLike": "",
      "name": "NixOS",
      "prettyName": "NixOS 25.11 (Xantusia)",
      "variant": "",
      "variantID": "",
      "version": "25.11 (Xantusia)",
      "versionID": "25.11"
    },
    "stat": 0.026589997112751007
  },
  {
    "type": "Host",
    "result": {
      "family": "",
      "name": "KVM/QEMU Standard PC (Q35 + ICH9, 2009)",
      "version": "pc-q35-10.0",
      "sku": "",
      "vendor": "QEMU",
      "serial": "",
      "uuid": ""
    },
    "stat": 0.0797789990901947
  },
  {
    "type": "BIOS",
    "result": {
      "date": "11/08/2025",
      "release": "0.0",
      "vendor": "Debian distribution of EDK II",
      "version": "2025.02-8+deb13u1",
      "type": "UEFI"
    },
    "stat": 0.028203003108501434
  },
  {
    "type": "Bootmgr",
    "result": {
      "name": "NixOS-boot-efi",
      "firmware": "\\EFI\\NixOS-boot-efi\\grubx64.efi",
      "order": 1,
      "secureBoot": false
    },
    "stat": 0.2831899970769882
  },
  {
    "type": "Board",
    "error": "board_name is not set.",
    "stat": 0.017882995307445526
  },
  {
    "type": "Chassis",
    "result": {
      "type": "Other",
      "vendor": "QEMU",
      "version": "pc-q35-10.0",
      "serial": ""
    },
    "stat": 0.02916400134563446
  },
  {
    "type": "Kernel",
    "result": {
      "architecture": "x86_64",
      "name": "Linux",
      "release": "6.12.87",
      "version": "#1-NixOS SMP PREEMPT_DYNAMIC Fri May  8 06:39:25 UTC 2026",
      "pageSize": 4096
    },
    "stat": 0.0014329999685287476
  },
  {
    "type": "InitSystem",
    "result": {
      "name": "systemd",
      "exe": "/nix/store/d0y2xi6x65npxy2rh3jp1x7p31c9gk83-systemd-258.7/lib/systemd/systemd",
      "version": "258.7",
      "pid": 1
    },
    "stat": 4.936722002923489
  },
  {
    "type": "Uptime",
    "result": {
      "uptime": 52721630,
      "bootTime": "2026-05-17T20:02:20.923-0400"
    },
    "stat": 0.03233099728822708
  },
  {
    "type": "Loadavg",
    "result": [
      0.32,
      0.25,
      0.2
    ],
    "stat": 0.011872999370098114
  },
  {
    "type": "Processes",
    "result": 167,
    "stat": 0.185978002846241
  },
  {
    "type": "Packages",
    "result": {
      "all": 1525,
      "amSystem": 0,
      "amUser": 0,
      "apk": 0,
      "brew": 0,
      "brewCask": 0,
      "choco": 0,
      "dpkg": 0,
      "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": 869,
      "nixUser": 656,
      "opkg": 0,
      "pacman": 0,
      "pacstall": 0,
      "paludis": 0,
      "pisi": 0,
      "pkg": 0,
      "pkgtool": 0,
      "pkgsrc": 0,
      "macports": 0,
      "rpm": 0,
      "scoopUser": 0,
      "scoopGlobal": 0,
      "snap": 0,
      "soar": 0,
      "sorcery": 0,
      "winget": 0,
      "xbps": 0,
      "pacmanBranch": ""
    },
    "stat": 80.58856099843979
  },
  {
    "type": "Shell",
    "result": {
      "exe": "zsh",
      "exeName": "zsh",
      "exePath": "/nix/store/lm0ys7aqysrm12blzk5n0p25vvn16g8x-zsh-5.9/bin/zsh",
      "pid": 806788,
      "ppid": 806768,
      "processName": "zsh",
      "prettyName": "zsh",
      "version": "5.9",
      "tty": 2
    },
    "stat": 1.4050810039043427
  },
  {
    "type": "Editor",
    "result": {
      "type": "Editor",
      "name": "nano",
      "path": "/nix/store/3j31mcaxwb7ghllqa7g1xg3gs10f1n08-nano-8.7/bin/nano",
      "exe": "nano",
      "version": "8.7"
    },
    "stat": 1.1476280018687248
  },
  {
    "type": "Display",
    "result": [
      {
        "id": 0,
        "name": "Virtual-1",
        "primary": true,
        "output": {
          "width": 1680,
          "height": 1050,
          "refreshRate": 59.95425029515938,
          "drrStatus": null
        },
        "scaled": {
          "width": 1680,
          "height": 1050
        },
        "preferred": {
          "width": 1024,
          "height": 768,
          "refreshRate": 60.00384024577573
        },
        "physical": {
          "width": 0,
          "height": 0
        },
        "rotation": 0,
        "bitDepth": 0,
        "hdrStatus": null,
        "type": "Unknown",
        "manufactureDate": null,
        "serial": null,
        "platformApi": "xcb-randr-mode"
      }
    ],
    "stat": 1.0806230008602142
  },
  {
    "type": "Brightness",
    "result": [],
    "stat": 8.550557002425194
  },
  {
    "type": "Monitor",
    "error": "Monitor module is an alias of Display module",
    "stat": 0.0016930028796195984
  },
  {
    "type": "LM",
    "result": {
      "service": "login",
      "type": "TTY",
      "version": ""
    },
    "stat": 0.020277999341487885
  },
  {
    "type": "DE",
    "result": {
      "processName": "lxqt-session",
      "prettyName": "LXQt",
      "version": ""
    },
    "stat": 0.1386289969086647
  },
  {
    "type": "WM",
    "result": {
      "processName": "bspwm",
      "prettyName": "bspwm",
      "protocolName": "X11",
      "pluginName": "",
      "version": ""
    },
    "stat": 0.001672998070716858
  },
  {
    "type": "WMTheme",
    "error": "Unknown WM: bspwm",
    "stat": 0.0010619983077049255
  },
  {
    "type": "Theme",
    "result": {
      "theme1": "",
      "theme2": "Plata-Noir-Compact [GTK2/3/4]"
    },
    "stat": 0.24843499809503555
  },
  {
    "type": "Icons",
    "result": {
      "icons1": "",
      "icons2": "Papirus-Dark [GTK2/3/4]"
    },
    "stat": 0.0013220012187957764
  },
  {
    "type": "Font",
    "error": "No fonts found",
    "stat": 0.0014429986476898193
  },
  {
    "type": "Cursor",
    "result": {
      "theme": "Adwaita",
      "size": "24"
    },
    "stat": 0.02249300479888916
  },
  {
    "type": "Wallpaper",
    "error": "Failed to detect the current wallpaper path",
    "stat": 0.0005609989166259766
  },
  {
    "type": "Terminal",
    "result": {
      "processName": ".gnome-terminal",
      "exe": "/nix/store/ry6z05zd1hkli1fxfc7lysbkw18jqgzi-gnome-terminal-3.58.1/libexec/gnome-terminal-server",
      "exeName": "gnome-terminal-server",
      "exePath": "/nix/store/ry6z05zd1hkli1fxfc7lysbkw18jqgzi-gnome-terminal-3.58.1/libexec/.gnome-terminal-server-wrapped",
      "pid": 806768,
      "ppid": 1164,
      "prettyName": ".gnome-terminal",
      "version": "",
      "tty": ""
    },
    "stat": 0.03146900236606598
  },
  {
    "type": "TerminalFont",
    "error": "Unknown terminal: .gnome-terminal",
    "stat": 0.002303995192050934
  },
  {
    "type": "TerminalSize",
    "result": {
      "columns": 109,
      "rows": 54,
      "width": 1635,
      "height": 972
    },
    "stat": 17.411154992878437
  },
  {
    "type": "TerminalTheme",
    "result": {
      "fg": {
        "r": 245,
        "g": 245,
        "b": 245,
        "dark": false
      },
      "bg": {
        "r": 0,
        "g": 0,
        "b": 0,
        "dark": true
      }
    },
    "stat": 16.122639000415802
  },
  {
    "type": "CPU",
    "result": {
      "cpu": "AMD Ryzen 7 5800X",
      "vendor": "AuthenticAMD",
      "packages": 1,
      "cores": {
        "physical": 1,
        "logical": 1,
        "online": 1
      },
      "frequency": {
        "base": 3792,
        "max": 0
      },
      "coreTypes": [],
      "temperature": null,
      "march": "x86_64-v3"
    },
    "stat": 0.10454599559307098
  },
  {
    "type": "CPUCache",
    "result": {
      "l1": [
        {
          "size": 65536,
          "num": 1,
          "lineSize": 64,
          "type": "data"
        },
        {
          "size": 65536,
          "num": 1,
          "lineSize": 64,
          "type": "instruction"
        }
      ],
      "l2": [
        {
          "size": 524288,
          "num": 1,
          "lineSize": 64,
          "type": "unified"
        }
      ],
      "l3": [
        {
          "size": 16777216,
          "num": 1,
          "lineSize": 64,
          "type": "unified"
        }
      ]
    },
    "stat": 0.1525449976325035
  },
  {
    "type": "CPUUsage",
    "result": [
      15.0
    ],
    "stat": 200.206238001585
  },
  {
    "type": "GPU",
    "result": [
      {
        "index": null,
        "coreCount": null,
        "coreUsage": null,
        "memory": {
          "dedicated": {
            "total": null,
            "used": null
          },
          "shared": {
            "total": null,
            "used": null
          },
          "type": null
        },
        "driver": "qxl",
        "name": "QXL paravirtual graphic card",
        "temperature": null,
        "type": null,
        "vendor": "Red Hat, Inc.",
        "platformApi": "DRM (card1)",
        "frequency": null,
        "deviceId": 8
      }
    ],
    "stat": 2.2715729996562004
  },
  {
    "type": "Memory",
    "result": {
      "total": 8211472384,
      "used": 1127071744
    },
    "stat": 0.022592000663280487
  },
  {
    "type": "PhysicalMemory",
    "error": "Failed to get SMBIOS data",
    "stat": 0.012422993779182434
  },
  {
    "type": "Swap",
    "result": [],
    "stat": 0.008876003324985504
  },
  {
    "type": "Disk",
    "result": [
      {
        "bytes": {
          "available": 10666848256,
          "free": 10863685632,
          "total": 21204303872,
          "used": 10340618240
        },
        "files": {
          "total": null,
          "used": null
        },
        "filesystem": "btrfs",
        "mountpoint": "/",
        "mountFrom": "/dev/sda2",
        "name": "",
        "volumeType": [
          "Regular"
        ],
        "createTime": "2026-05-13T21:55:04.000-0400"
      },
      {
        "bytes": {
          "available": 10666848256,
          "free": 10863685632,
          "total": 21204303872,
          "used": 10340618240
        },
        "files": {
          "total": null,
          "used": null
        },
        "filesystem": "btrfs",
        "mountpoint": "/nix/store",
        "mountFrom": "/dev/sda2",
        "name": "",
        "volumeType": [
          "Subvolume",
          "Read-only"
        ],
        "createTime": "2026-05-13T22:06:10.086-0400"
      }
    ],
    "stat": 0.24304500222206116
  },
  {
    "type": "Btrfs",
    "result": [
      {
        "name": "",
        "uuid": "c44c6aa1-bbb1-4354-a5e3-af3ca20852a0",
        "devices": "sda2",
        "features": "free_space_tree,no_holes,skinny_metadata,extended_iref",
        "generation": 3000,
        "nodeSize": 16384,
        "sectorSize": 4096,
        "totalSize": 21204303872,
        "allocation": [
          {
            "type": "data",
            "profile": "single",
            "copies": 1,
            "used": 8909017088,
            "total": 10745806848
          },
          {
            "type": "metadata",
            "profile": "dup",
            "copies": 2,
            "used": 700940288,
            "total": 805306368
          },
          {
            "type": "system",
            "profile": "dup",
            "copies": 2,
            "used": 16384,
            "total": 8388608
          }
        ]
      }
    ],
    "stat": 0.11602800339460373
  },
  {
    "type": "Zpool",
    "error": "Fastfetch was compiled without libzfs support",
    "stat": 0.0011429935693740845
  },
  {
    "type": "Battery",
    "result": [],
    "stat": 0.00570099800825119
  },
  {
    "type": "PowerAdapter",
    "result": [],
    "stat": 0.004808999598026276
  },
  {
    "type": "Player",
    "error": "Player module is an alias of Media module",
    "stat": 0.00040999799966812134
  },
  {
    "type": "Media",
    "error": "No media found",
    "stat": 1.5950150042772293
  },
  {
    "type": "PublicIp",
    "result": {
      "ip": "REDACTED",
      "location": "REDACTED"
    },
    "stat": 0.06711599975824356
  },
  {
    "type": "LocalIp",
    "result": [
      {
        "name": "enp1s0",
        "defaultRoute": {
          "ipv4": true,
          "ipv6": false
        },
        "ipv4": "192.168.122.164/24",
        "ipv6": "",
        "mac": "52:54:00:4c:fc:e7",
        "mtu": 1500,
        "speed": -1,
        "flags": "UP,BROADCAST,RUNNING,MULTICAST,LOWER_UP"
      }
    ],
    "stat": 0.09721200168132782
  },
  {
    "type": "DNS",
    "result": [
      "192.168.1.15",
      "192.168.122.1"
    ],
    "stat": 0.009637996554374695
  },
  {
    "type": "Wifi",
    "result": [],
    "stat": 0.03317300230264664
  },
  {
    "type": "DateTime",
    "result": "2026-05-18T10:41:02.885-0400",
    "stat": 0.007604002952575684
  },
  {
    "type": "Locale",
    "result": "en_US.UTF-8",
    "stat": 0.0012219995260238647
  },
  {
    "type": "Vulkan",
    "result": {
      "apiVersion": "",
      "conformanceVersion": "",
      "driver": "",
      "gpus": []
    },
    "stat": 24.186278998851776
  },
  {
    "type": "OpenGL",
    "result": {
      "version": "4.5 (Compatibility Profile) Mesa 25.2.6",
      "renderer": "llvmpipe (LLVM 21.1.7, 256 bits)",
      "vendor": "Mesa",
      "slv": "4.50",
      "library": "EGL 1.5"
    },
    "stat": 14.012203000485897
  },
  {
    "type": "OpenCL",
    "error": "clGetPlatformIDs() failed: CL_PLATFORM_NOT_FOUND_KHR",
    "stat": 0.12988299876451492
  },
  {
    "type": "Users",
    "result": [
      {
        "name": "user",
        "hostName": "",
        "sessionName": "tty1",
        "clientIp": "",
        "loginTime": "2026-05-17T20:02:46.244-0400"
      }
    ],
    "stat": 0.04712800681591034
  },
  {
    "type": "Bluetooth",
    "result": [],
    "stat": 0.005449995398521423
  },
  {
    "type": "BluetoothRadio",
    "error": "Failed to open /sys/class/bluetooth",
    "stat": 0.002736002206802368
  },
  {
    "type": "Sound",
    "result": [
      {
        "active": true,
        "main": true,
        "volume": 40,
        "name": "Built-in Audio Analog Stereo",
        "identifier": "alsa_output.pci-0000_00_1b.0.analog-stereo",
        "platformApi": "PipeWire 1.4.9"
      }
    ],
    "stat": 4.569143004715443
  },
  {
    "type": "Camera",
    "result": [],
    "stat": 0.005821004509925842
  },
  {
    "type": "Gamepad",
    "result": [],
    "stat": 0.019697003066539764
  },
  {
    "type": "Mouse",
    "result": [
      {
        "serial": "28754-0000:00:02.1:00.0-1",
        "name": "QEMU QEMU USB Tablet",
        "ignored": false
      },
      {
        "serial": "",
        "name": "ImExPS/2 Generic Explorer Mouse",
        "ignored": false
      }
    ],
    "stat": 0.06131500005722046
  },
  {
    "type": "Keyboard",
    "result": [
      {
        "serial": "",
        "name": "AT Translated Set 2 keyboard",
        "ignored": false
      }
    ],
    "stat": 0.03212999552488327
  },
  {
    "type": "Weather",
    "result": "REDACTED",
    "stat": 0.045604996383190155
  },
  {
    "type": "NetIO",
    "result": [
      {
        "name": "enp1s0",
        "defaultRoute": true,
        "txBytes": 763,
        "rxBytes": 1289,
        "txPackets": 10,
        "rxPackets": 10,
        "rxErrors": 0,
        "txErrors": 0,
        "rxDrops": 0,
        "txDrops": 0
      }
    ],
    "stat": 619.1698930040002
  },
  {
    "type": "DiskIO",
    "result": [
      {
        "name": "QEMU QEMU DVD-ROM",
        "devPath": "/dev/sr0",
        "bytesRead": 0,
        "bytesWritten": 0,
        "readCount": 0,
        "writeCount": 0
      },
      {
        "name": "ATA QEMU HARDDISK",
        "devPath": "/dev/sda",
        "bytesRead": 0,
        "bytesWritten": 147456,
        "readCount": 0,
        "writeCount": 14
      }
    ],
    "stat": 0.13464299589395523
  },
  {
    "type": "PhysicalDisk",
    "result": [
      {
        "name": "QEMU QEMU DVD-ROM",
        "devPath": "/dev/sr0",
        "interconnect": "ATA",
        "kind": "HDD",
        "size": 1632927744,
        "serial": "",
        "removable": true,
        "readOnly": false,
        "revision": "2.5+",
        "temperature": null
      },
      {
        "name": "ATA QEMU HARDDISK",
        "devPath": "/dev/sda",
        "interconnect": "ATA",
        "kind": "HDD",
        "size": 21474836480,
        "serial": "",
        "removable": false,
        "readOnly": false,
        "revision": "2.5+",
        "temperature": null
      }
    ],
    "stat": 0.29164600372314453
  },
  {
    "type": "TPM",
    "result": {
      "version": "2.0",
      "description": "TPM 2.0 Device"
    },
    "stat": 0.04725899547338486
  },
  {
    "type": "Version",
    "result": {
      "projectName": "fastfetch",
      "sysName": "Linux",
      "architecture": "x86_64",
      "version": "2.55.1",
      "versionGit": "",
      "cmakeBuiltType": "Release",
      "compileTime": "Jan  1 1980, 00:00:00",
      "compiler": "gcc 14.3.0",
      "debugMode": false,
      "libc": "glibc 2.40"
    },
    "stat": 0.001203000545501709
  },
  {
    "type": "Break",
    "error": "Unsupported for JSON format",
    "stat": 0.0011120066046714783
  },
  {
    "type": "Colors",
    "error": "Unsupported for JSON format",
    "stat": 0.0006309971213340759
  }
]

Features built-in

threads
vulkan
wayland
xcb-randr
xrandr
gio
dconf
dbus
imagemagick7
chafa
zlib
sqlite3
egl
glx
opencl
libpulse
libddcutil
libelf
System yyjson
linux/videodev2
linux/wireless

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions