Skip to content

[BUG] Image logo not displayed #1998

@philikarus

Description

@philikarus

Read the FAQ first

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

Description

Image logo not displayed correctly. I find this issue is probably due to missing cache files in ~/.cache/fastfetch/images. fastfetch v2.53 fails to create cache files under ~/.cache/fastfetch/images.

Steps to reproduce:

  1. Remove any exisitng cache:
    rm -rf ~/.cache/fastfetch/images
  2. Run:
    fastfetch --logo ~/example.png
  3. Observe:
    no image appears and cache files under ~/.cache/fastfetch/images do not exist

Work around:
Run an older version of fastfetch (tested with v2.52), and those cache files will be successfully created. Then the latest version of fastfetch could show the image logo correctly.

Environment:

  • OS: MacOS Tahoe 26.0.1
  • Terminal: Ghostty 1.2.2
  • Shell: Fish 4.1.2

Version used

fastfetch 2.53.0 (aarch64)

Bug prevalence

Always

Regression

Yes

Installation

Package manager

Package manager

brew

Screenshots

Image

Configuration

{
  "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
  "logo": {
    "type": "auto",
    "source": "~/.config/fastfetch/logo/gruvbox.png",
    "height": 16,
    "padding": {
      "top": 2,
      "left": 3,
      "right": 3,
    },
    "position": "left",
  },
  "display": {
    "separator": " : ",
  },
  "modules": [
    {
      "type": "custom",
      "format": "╭──────────────────────────────────────────╮",
    },
    {
      "type": "os",
      "key": "   OS",
      "keyColor": "red",
    },
    {
      "type": "kernel",
      "key": "   Kernel",
      "keyColor": "red",
    },
    {
      "type": "packages",
      "key": "  󰏗 Packages",
      "keyColor": "green",
    },
    {
      "type": "display",
      "key": "  󰍹 Display",
      "format": "{1}x{2} @ {3}Hz [{6}]",
      "keyColor": "green",
    },
    {
      "type": "terminal",
      "key": "   Terminal",
      "keyColor": "yellow",
    },
    {
      "type": "shell",
      "key": "   Shell",
      "keyColor": "yellow",
    },
    {
      "type": "wm",
      "key": "  󱗃 WM",
      "keyColor": "yellow",
    },
    {
      "type": "custom",
      "format": "╰──────────────────────────────────────────╯",
    },
    "break",
    {
      "type": "title",
      "key": "",
      "format": "{6}{7}{8}",
    },
    {
      "type": "custom",
      "format": "╭──────────────────────────────────────────╮",
    },
    {
      "type": "cpu",
      "format": "{1} @ {7}",
      "key": "   CPU",
      "keyColor": "blue",
    },
    {
      "type": "gpu",
      "format": "{2} @ {12} [{6}]",
      "key": "  󰊴 GPU",
      "keyColor": "blue",
    },
    {
      "type": "memory",
      "key": "   Memory",
      "keyColor": "magenta",
    },
    {
      "type": "disk",
      "key": "   Disk",
      "folders": "/",
      "keyColor": "magenta",
      "format": "{1} / {2} ({3})",
    },
    {
      "type": "uptime",
      "key": "  󱫐 Uptime",
      "keyColor": "cyan",
    },
    {
      "type": "sound",
      "key": "   Sound",
      "keyColor": "cyan",
    },
    {
      "type": "custom",
      "format": "╰──────────────────────────────────────────╯",
    },
    {
      "type": "colors",
      "paddingLeft": 2,
      "symbol": "circle",
    },
    "break",
  ],
}

Image protocol

kitty

Terminal

ghostty

Image tried

Image

Error message

No error message output

Features built-in

threads
vulkan
imagemagick7
chafa
zlib
sqlite3
System yyjson

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions