Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

neofetch hangs in SSH connection unless 6 options on by default are disabled #2450

Open
@jjg8

Description

@jjg8

Description

When connected to my Ubuntu 22.04.4 LTS VM via SSH (PuTTY) terminal, neofetch hangs unless 6 options, which are enabled by default, are disabled in the config.conf file...
#info "Resolution" resolution
#info "DE" de
#info "WM" wm
#info "WM Theme" wm_theme
#info "Theme" theme
#info "Icons" icons

With all 6 of the above options enabled, It takes 406 seconds to fail and finally return to the other content.

  • [yes] Does this issue still occur in the master branch? (Required if issue)

Neofetch version

7.1.0

Screenshot

Before commenting out the 6 options...
Snipaste_2024-03-06_17-47-21
After...
Snipaste_2024-03-06_18-18-44

Config file

After commenting out the 6 options...

See this wiki page for more info:

https://github.com/dylanaraps/neofetch/wiki/Customizing-Info

print_info() {
info title
info underline

info "OS" distro
info "Host" model
info "Kernel" kernel
info "Uptime" uptime
info "Packages" packages
info "Shell" shell
#info "Resolution" resolution
#info "DE" de
#info "WM" wm
#info "WM Theme" wm_theme
#info "Theme" theme
#info "Icons" icons
info "Terminal" term
info "Terminal Font" term_font
info "CPU" cpu
info "GPU" gpu
info "Memory" memory

# info "GPU Driver" gpu_driver  # Linux/macOS only
# info "CPU Usage" cpu_usage
# info "Disk" disk
#info "Battery" battery
#info "Font" font
# info "Song" song
# [[ "$player" ]] && prin "Music Player" "$player"
info "Local IP" local_ip
info "Public IP" public_ip
# info "Users" users
info "Locale" locale  # This only works on glibc systems.

info cols

}

Verbose log

https://pastebin.com/raw/d1SPJcKm (good for 2 weeks)

  1. Run neofetch -vv 2> neofetchlog
  2. Upload the contents of neofetchlog to pastebin, gist or equivalent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions