Skip to content

[BUG] fastfetch command seems to hang when specifiying a path to a ascii logo from the CLI #1843

@ThibaultGH

Description

@ThibaultGH

Read the FAQ first

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

Description

Hello there dear fastfetch team,

I was trying to add a fastfetch line into my .bashrc on Debian 12 (bookworm, kernel : Linux 6.1.0-37-amd64, shell : bash 5.2.15, desktop : GNOME 43.9) but it hanged doing quite much of nothing apparently while the fastfetch command alone works fine.

I installed fastfech by downloading the fastfetch-linux-amd64.deb from the GitHub Releases page and install it by runnning sudo apt install ./fastfetch-linux-amd64.deb. I don't think the problem comes from here but just fyi.

I'll leave the raw fastfetch command in my bashrc for now, leaving the idea of having my nice perso ascii art being display each time I open a terminal and maybe I'll try to troubleshoot that if I have time.

I tried all the tricks mentioned in the docs about logo (--pipe false, clear && fastfetch etc...).

I use GNOME terminal yes, but no need for an image protocol here, it's just ascii... And it does the same in another terminal (MATE terminal)

Version used

fastfetch 2.47.0 (x86_64)

Bug prevalence

Always

Regression

Not sure

Installation

GitHub Releases

Package manager

apt

Screenshots

No response

Configuration

I tried with no configuration file and with different configuration files, none worked :

1. 

{
     "logo": {
        "type": "auto",
        "source": "/home/wololllooo/Images/ascii-art.txt",
        "width": 28,
        "height": 12
    }
}

2.

{
    "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
     "logo": {
        "type": "auto",
        "source": "~/Images/ascii-art.txt",
        "width": 28,
        "height": 12
    }
}

3.
{
    "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
     "logo": {
        "type": "auto",
        "source": "~/Images/ascii-art.txt",
        "width": 28,
        "height": 12
    },
    "display": {
        "separator": "",
        "constants": [
            "─────────────────" // {$1}, used in Custom module
        ],
        "key": {
            "type": "icon",
            "paddingLeft": 2
        }
    },
    "modules": [
        {
            "type": "custom", // HardwareStart
            // {#1} is equivalent to `\u001b[1m`. {#} is equivalent to `\u001b[m`
            "format": "┌{$1} {#1}Hardware Information{#} {$1}┐"
        },
        "host",
        "cpu",
        "gpu",
        "disk",
        "memory",
        "swap",
        "display",
        "brightness",
        "battery",
        "poweradapter",
        "bluetooth",
        "sound",
        "gamepad",
        {
            "type": "custom", // SoftwareStart
            "format": "├{$1} {#1}Software Information{#} {$1}┤"
        },
        {
            "type": "title",
            "keyIcon": "",
            "key": "Title", // Title module has no key by default, so that icon is not displayed
            "format": "{user-name}@{host-name}"
        },
        "os",
        "kernel",
        "lm",
        "de",
        "wm",
        "shell",
        "terminal",
        "terminalfont",
        "theme",
        "icons",
        "wallpaper",
        "packages",
        "uptime",
        "media",
        {
            "type": "localip",
            "compact": true
        },
        {
            "type": "publicip",
            "timeout": 1000
        },
        {
            "type": "wifi",
            "format": "{ssid}"
        },
        "locale",
        {
            "type": "custom", // InformationEnd
            "format": "└{$1}──────────────────────{$1}┘"
        },
        {
            "type": "colors",
            "paddingLeft": 2,
            "symbol": "circle"
        }
    ]
}

Image protocol

None

Terminal

GNOME 43.9

Image tried

Image

Error message

None...

Features built-in

wololllooo@debian12:~$ fastfetch --list-features
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