fastfetch: Fastfetch hangs in tty

When I enter my login details in tty I get the last login message and then my terminal apparently hangs. If I press ctrl+c I’m able to write into the terminal as normal. If I start sway, and open a terminal, then fastfetch works as expected. However, if I’m just in the tty terminal and I type fastfetch then the terminal hangs until I press ctrl+c. A workaround is to only run fastfetch if wm =sway is defined, but it would be good if we could run fastfetch in the tty terminal too

Output of fastfetch --version:

fastfetch 1.3.1

Output of fastfetch --load-config devinfo:

                  -`                     patricka@Archbox
                 .o+`                    ----------------
                `ooo/                    OS: Arch Linux [x86_64]
               `+oooo:                   Host: 20R1CTO1WW ThinkPad X1 Carbon 7th
              `+oooooo:                  Kernel: 5.17.4-arch1-1
              -+oooooo+:                 Uptime: 6 mins
            `/:-:++oooo+:                Packages: 1346 (pacman)
           `/++++/+++++++:               Shell: fish 3.4.1
          `/++++++++++++++:              Resolution 1: 1920x1080 @ 60Hz
         `/+++ooooooooooooo/`            Resolution 2: 2560x1440 @ 75Hz
        ./ooosssso++osssssso+`           Resolution 3: 1920x1080 @ 144Hz
       .oossssso-````/ossssss+`          DE: No DE found
      -osssssso.      :ssssssso.         WM: Sway (Wayland)
     :osssssss/        osssso+++.        WM Theme: Unknown WM: Sway
    /ossssssss/        +ssssooo/-        Theme: Adwaita [GTK2/3/4]
  `/ossssso+/:-        -:/+osssso+-      Icons: Adwaita [GTK2/3/4]
 `+sso+:-`                 `.-/+oso:     Font: Cantarell (11pt) [GTK2/3/4]
`++:.                           `-/+/    Cursor: Adwaita
.`                                 `/    Terminal: kitty
                                         Terminal Font: Unknown terminal: kitty
                                         CPU: Intel Core i7-10510U (8) @ 4.9GHz
                                         GPU: Intel UHD Graphics
                                         Memory: 2530MiB / 15660MiB (16%)
                                         Disk (/): 61GB / 467GB (13%)
                                         Battery: 78% [Not charging]
                                         Locale: en_AU.UTF-8

                                         ████████████████████████
                                         ████████████████████████

Output of fastfetch --load-config devinfo-verbose:

                  -`                     patricka@Archbox
                 .o+`                    ----------------
                `ooo/                    OS: System: Linux; Name: Arch Linux; Pretty name: Arch Linux; ID: arch; ID like: ; Variant: ; Variant ID: ; Version: ; Version ID: ; Version codename: ; Build ID: rolling; Architecture: x86_64o:    
              `+oooooo:                  Host: Family: ThinkPad X1 Carbon 7th; Name: 20R1CTO1WW; Version: ThinkPad X1 Carbon 7th
              -+oooooo+:                 Kernel: Sysname: Linux; Release: 5.17.4-arch1-1; Version: #1 SMP PREEMPT Wed, 20 Apr 2022 18:29:28 +0000
            `/:-:++oooo+:                Uptime: Days: 0; Hours: 0; Minutes: 7; Seconds: 20
           `/++++/+++++++:               Processes: Count: 833
          `/++++++++++++++:              Packages: All: 1346; pacman: 1346; pacman branch: ; dpkg: 0; rpm: 0; emerge: 0; xbps: 0; flatpak: 0; snap: 0
         `/+++ooooooooooooo/`            Shell: Process name: fish; Process path: /usr/bin/fish; Process exe: fish; Process version: 3.4.1; User path: /usr/bin/fish; User exe: fish; User version: 3.4.1
        ./ooosssso++osssssso+`           Resolution 1: Width: 1920; Height: 1080; Refresh rate: 60
       .oossssso-````/ossssss+`          Resolution 2: Width: 2560; Height: 1440; Refresh rate: 75
      -osssssso.      :ssssssso.         Resolution 3: Width: 1920; Height: 1080; Refresh rate: 144
     :osssssss/        osssso+++.        DE: Process name: ; Pretty name: ; Version:
    /ossssssss/        +ssssooo/-        WM: Process name: sway; Pretty name: Sway; Protocol: Wayland
  `/ossssso+/:-        -:/+osssso+-      WM Theme: Name:
 `+sso+:-`                 `.-/+oso:     Theme: Plasma: ; Plasma colors: ; Plasma colors pretty: ; GTK2: Adwaita; GTK3: Adwaita; GTK4: Adwaita; GTK: Adwaita [GTK2/3/4]
`++:.                           `-/+/    Icons: Plasma: ; GTK2: Adwaita; GTK3: Adwaita; GTK4: Adwaita; GTK: Adwaita [GTK2/3/4]
.`                                 `/    Font: Plasma raw: ; Plasma name: ; Plasma size: ; Plasma styles: ; Plasma pretty: ; GTK2 raw: Cantarell 11; GTK2 name: Cantarell; GTK2 size: 11; GTK2 styles: ; GTK2 pretty: Cantarell (11pt); GTK3 raw: Cantarell 11; GTK3 name: Cantarell; GTK3 size: 11; GTK3 styles: ; GTK3 pretty: Cantarell (11pt); GTK4 raw: Cantarell 11; GTK4 name: Cantarell; GTK4 size: 11; GTK4 styles: ; GTK4 pretty: Cantarell (11pt); GTK: Cantarell (11pt) [GTK2/3/4]
                                         Cursor: Theme: Adwaita; Size:
                                         Terminal: Process: kitty; Path: kitty; Exe: kitty
                                         Terminal Font: Raw: ; Name: ; Size: ; Styles: ; Pretty:
                                         CPU: Name: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz; Pretty: Intel Core i7-10510U; Vendor: GenuineIntel; Logical online: 8; Logical configured: 8; Physical: 4; Cores: 8; bios: 0; scaling max: 1.8; scaling min: 0.4; info max: 4.9; info min: 0.4; cpuinfo: 2.3; frequency: 1.8
                                         GPU: Vendor: Intel Corporation; Vendor pretty: Intel; Name: CometLake-U GT2 [UHD Graphics]; Name pretty: UHD Graphics; Driver: i915
                                         Memory: Used: 2522; Total: 15660; Percentage: 16
                                         Disk (/): Used: 61; Total: 467; Files: 911879; Percentage: 13
                                         Battery: Manufactor: LGC; Model: 02DL004; Technology: Li-poly; Capacaty: 78; Status: Not charging
                                         Media Player: Name: Mozilla Firefox
                                         Song: Song: The Wedding Of The Century | YOGSCAST Best Bits Of The Week; Artist: The Wedding Of The Century | YOGSCAST Best Bits Of The Week; Album: YOGSCAST Best Bits Weekly
                                         Public IP: 210.50.166.147
                                         Local IP (wlan0): 192.168.1.103
                                         Date & Time: year: 2022; yearShort: 22; month: 4; monthPretty: 04; monthName: April; monthNameShort: Apr; weekNumber: 17; weekday: Monday; weekdayShort: Mon; dayInYear: 115; dayInMonth: 25; dayInWeek: 1; hour: 10; hourPretty: 10; hour12: 10; hour12Pretty: 10; minute: 46; minutePretty: 46; second: 15; secondPretty: 15
                                         Locale: en_AU.UTF-8

                                         ████████████████████████
                                         ████████████████████████

Output of fastfetch --list-features:

libpci
vulkan
wayland
xcb-randr
xcb
xrandr
x11
gio
dconf
dbus
imagemagick7
zlib
xfconf

If you get the following error: Error: couldn't find config: [...], copy the files in presets to /usr/share/fastfetch/presets/ or ~/.local/share/fastfetch/presets/. If this isn’t possible (or to much work) for you, post the output of fastfetch --show-errors --recache --multithreading false --disable-linewrap false.

Often helpful questions:

  • Does the issue occur across multiple terminal emulators?
  • Does the issue occur across multiple shells? (bash, zsh, fish, etc)

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16

Most upvoted comments

Should be fixed on git master. Can somebody please confirm?