Arch Linux: neofetch_eigenes Bild einfügen

  • Distribution
    Arch Linux kde plasma
    Kernel
    Kernel: Linux 6.8.2-arch1-1

    Hallo,

    ich habe viele Videos gesehen und dachte, ich habe das Prinzip verstanden.

    "Leider" sehe ich nicht alle Änderungen im neofetch ( was auch bei Öffnen der Konsole direkt startet), aber, das einzige, was ich nicht zum Laufen bekomme, ich das eigene Bild einfügen. Dieser Platz im neofetch will sich einfach nicht ändern. Ich hoffe Ihr, seht meinen Gedankenfehler.

    /home/user/.config/neofetch/

    # Backend Settings


    # Image backend.
    #
    # Default:  'ascii'
    # Values:   'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off',
    #           'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty'
    # Flag:     --backend
    image_backend="kitty"

    # Image Source
    #
    # Which image or ascii file to display.
    #
    # Default:  'auto'
    # Values:   'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/'
    #           'command output (neofetch --ascii "$(fortune | cowsay -W 30)")'
    # Flag:     --source
    #
    # NOTE: 'auto' will pick the best image source for whatever image backend is used.
    #       In ascii mode, distro ascii art will be used and in an image mode, your
    #       wallpaper will be used.
    image_source="/home/abc/Dokumente/cat.jpg"


    im habe es mit "kitty" oder auch mit "w3m" versucht, bei keinem sehe ich anschl. das Bild. In dem Fall cat.jpg.

    Ich habe auch ein .png File probiert, leider auch keinen Erfolg.

    kitty und w3m sind installiert, habe das geprüft.


    # Ascii Options


    # Ascii distro
    # Which distro's ascii art to display.
    #
    # Default: 'auto'
    # Values:  'auto', 'distro_name'
    # Flag:    --ascii_distro
    # NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, "AOSC OS",
    #       "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs,
    #       ArchStrike, XFerience, ArchMerge, Arch, Artix, Arya, Bedrock,
    #       Bitrig, BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD,
    #       BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS,
    #       Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover,
    #       Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin,
    #       DesaOS, Devuan, DracOS, DarkOs, DragonFly, Drauger, Elementary,
    #       EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD,
    #       FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, Pentoo,
    #       gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra,
    #       Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion,
    #       Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite,
    #       LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva,
    #       Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib,
    #       Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner,
    #       NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana, openmamba,
    #       OpenMandriva, OpenStage, OpenWrt, osmc, Oracle, OS Elbrus, PacBSD,
    #       Parabola, Pardus, Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint,
    #       popos, Porteus, PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix,
    #       Raspbian, Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan,
    #       Regata, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific,
    #       Septor, SereneLinux, SharkLinux, Siduction, Slackware, SliTaz,
    #       SmartOS, Solus, Source_Mage, Sparky, Star, SteamOS, SunOS,
    #       openSUSE_Leap, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails,
    #       Trisquel, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio,
    #       Ubuntu, Venom, Void, Obarun, windows10, Windows7, Xubuntu, Zorin,
    #       and IRIX have ascii logos
    # NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants.
    #       Use '{distro name}_old' to use the old logos.
    # NOTE: Ubuntu has flavor variants.
    #       Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME,
    #       Ubuntu-Studio, Ubuntu-Mate  or Ubuntu-Budgie to use the flavors.
    # NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu,
    #       CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android,
    #       Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola,
    #       Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS,
    #       Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian,
    #       postmarketOS, and Void have a smaller logo variant.
    #       Use '{distro name}_small' to use the small variants.
    ascii_distro="Arch_old"


    Das geht übrigens auch nicht, obwohl ich auf "on" gestellt habe.

    # Resolution

    # Display refresh rate next to each monitor
    # Default: 'off'
    # Values:  'on', 'off'
    # Flag:    --refresh_rate
    # Supports: Doesn't work on Windows.
    #
    # Example:
    # on:  '1920x1080 @ 60Hz'
    # off: '1920x1080'
    refresh_rate="on"

  • Terminal = konsole

    neofetch bekomme ich wie erwähnt aktiv bzw. alles was ich in der config änderne, wird auch bei Neustart der konsole angezeigt, "lediglich" das eigene Bild nicht, sondern da bleibt die Konsole stur beim Arch Bild...

  • ghostbox - ich nutze es auch nur rudimentär, wenn überhaupt. ist für mich eher ein gimmick. für die darstellung von bildern sind wohl einige dinge bezüglich neofetch zu beachten. siehe hier:

    Images in the terminal
    🖼️ A command-line system information tool written in bash 3.2+ - dylanaraps/neofetch
    github.com

    zur not und wenn es einem spass macht, lässt sich neofetch "relativ leicht" auch umprogrammieren. neofetch ist ein bash-script, anpassungen sind daher gut und leicht möglich. vorausgesetzt man hat sich mit dem erstellen von bash-scripten schon mal beschäftigt.

    ausserdem gibt es vom autor einige hinweise dazu:

    Calling all image issues · Issue #1392 · dylanaraps/neofetch
    The image feature is a hack which doesn't work in all terminal emulators. To make matters worse it sometimes works in example_terminal on one machine but fails…
    github.com

    es kann, muss aber nicht funktionieren, der hack mit den bildern! (so der autor)

    letztendlich kann man sich vielleicht auch über das 'logfile' an den fehler rantasten und für sein eigenes system möglicherweise eine lösung finden. ich selbst nutze die bash

    bash -x neofetch - ermöglicht eine zeilenweise ausgabe des neofetch-scriptes.

    neofetch -vv >neofetch.log macht das gleiche und erzeugt zusätzlich eine logdatei (neofetch.log) in deinem home-verzeichnis.

    neofetch -vv 2>neofetch.log erzeugt nur eine logdatei ohne ausgabe der einzelnen scriptzeilen.

    rijo...

  • gibt es da Auflösung maximal Größen?

    ich glaube die Treiber zu imagemagick hatten bei mir gefehlt, weil jetzt ist das Arch Logo weg, aber mein Bild wird nicht angezeigt, daher vermute ich, es gibt Auflösung Maximal Größen....

  • Update: jetzt gehts bei mir !

    mit kitty und nicht w3m

    # Image backend.
    #
    # Default:  'ascii'
    # Values:   'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off',
    #           'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty'
    # Flag:     --backend
    image_backend="kitty"

    # Image Source
    #
    # Which image or ascii file to display.
    #
    # Default:  'auto'
    # Values:   'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/'
    #           'command output (neofetch --ascii "$(fortune | cowsay -W 30)")'
    # Flag:     --source
    #
    # NOTE: 'auto' will pick the best image source for whatever image backend is used.
    #       In ascii mode, distro ascii art will be used and in an image mode, your
    #       wallpaper will be used.
    image_source="/home/abc/Dokumente/Konsole Bild.png"

  • OMG

    PC | AMD Ryzen 7 3700X - NVIDIA GeForce RTX 2070 Super - 32 GB RAM - 1 TB NVME - 2 TB HDD - ArchLinux

    Lappi | Intel I3 - 16 GB RAM - 128 GB SSD - ArchLinux

    Homi | Intel Atom 3 - Intel Grafik - 4 GB RAM - 1x 128 GB SSD - 2x 4 TB Seagate IronWolf HDD im RAID - Debian 11 mit OMV 6

    ________________________________________________________________________________

    RADIO TEAM BAWÜ - Wir haben Spaß an Musik!!!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!