{"id":12298,"date":"2018-12-17T19:15:59","date_gmt":"2018-12-17T18:15:59","guid":{"rendered":"http:\/\/blog.wenzlaff.de\/?p=12298"},"modified":"2021-11-18T20:35:06","modified_gmt":"2021-11-18T19:35:06","slug":"system-info-mit-ascii-art-logo-nach-dem-login-auf-dem-raspberry-pi-anzeigen-mit-linuxlogo-version-5-11-und-screenfetch-version-3-6-8","status":"publish","type":"post","link":"http:\/\/blog.wenzlaff.de\/?p=12298","title":{"rendered":"System-Info mit ASCII-Art-Logo nach dem Login auf dem Raspberry Pi anzeigen mit linuxlogo (Version 5.11) und screenfetch (Version 3.6.8)"},"content":{"rendered":"<p>Wer nach dem Anmelden per SSH auf der Shell ein sch\u00f6nes Logo mit System-Infos sehen will wie z.B diese:<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.47.42.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.47.42.png\" alt=\"\" width=\"773\" height=\"426\" class=\"aligncenter size-full wp-image-12302\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.47.42.png 773w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.47.42-300x165.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.47.42-768x423.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.49.02.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.49.02.png\" alt=\"\" width=\"874\" height=\"475\" class=\"aligncenter size-full wp-image-12299\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.49.02.png 874w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.49.02-300x163.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.49.02-768x417.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.47.59.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.47.59.png\" alt=\"\" width=\"902\" height=\"437\" class=\"aligncenter size-full wp-image-12301\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.47.59.png 902w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.47.59-300x145.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.47.59-768x372.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.47.06.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.47.06.png\" alt=\"\" width=\"904\" height=\"416\" class=\"aligncenter size-full wp-image-12303\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.47.06.png 904w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.47.06-300x138.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.47.06-768x353.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.46.07.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.46.07.png\" alt=\"\" width=\"847\" height=\"315\" class=\"aligncenter size-full wp-image-12304\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.46.07.png 847w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.46.07-300x112.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.46.07-768x286.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.45.34.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.45.34.png\" alt=\"\" width=\"891\" height=\"473\" class=\"aligncenter size-full wp-image-12305\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.45.34.png 891w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.45.34-300x159.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.45.34-768x408.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><!--more--><\/p>\n<p>Dazu einmalig die Package installieren:<\/p>\n<pre class=\"lang:default decode:true \" >\r\n\r\nsudo apt-get update\r\nsudo apt-get upgrade\r\nsudo apt-get install linuxlogo screenfetch\r\n\r\n# Ausgeben aller M\u00f6glichkeiten\r\nlinuxlogo -f -L list\r\n<\/pre>\n<p>Liefert dann die Liste<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.44.51.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.44.51.png\" alt=\"\" width=\"867\" height=\"965\" class=\"aligncenter size-full wp-image-12306\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.44.51.png 867w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.44.51-270x300.png 270w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-17-um-18.44.51-768x855.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Testweise kann man dann die Logos mit<\/p>\n<pre class=\"lang:default decode:true \" >\r\nlinuxlogo -f -L banner\r\n<\/pre>\n<p>ausgeben.<\/p>\n<p>Oder wenn man einen zuf\u00e4lligen jedes mal haben will: <\/p>\n<pre class=\"lang:default decode:true \" >\r\nlinuxlogo -f -L random_xy\r\n<\/pre>\n<p>Damit das Logo dann auch beim Login erscheint, habe ich es in der Datei <strong>\/home\/pi\/.bashrc<\/strong> am Ende hinzugef\u00fcgt:<\/p>\n<pre class=\"lang:default decode:true \" >\r\n# Logo nach dem Login\r\nscreenfetch\r\n<\/pre>\n<p>Daf\u00fcr nimmt man die Sekunde Verz\u00f6gerung beim Login gern in kauf \ud83d\ude09<\/p>\n<p>Hier alle Parameter:<\/p>\n<pre class=\"lang:default decode:true \" >screenfetch --help\r\nUsage:\r\n  \/usr\/bin\/screenfetch [OPTIONAL FLAGS]\r\n\r\nscreenFetch - a CLI Bash script to show system\/theme info in screenshots.\r\n\r\nSupported GNU\/Linux Distributions:\r\n\tALDOS, Alpine Linux, Amazon Linux, Antergos, Arch Linux (Old and Current\r\n\tLogos), ArcoLinux, Artix Linux, blackPanther OS, BLAG, BunsenLabs, CentOS,\r\n\tChakra, Chapeau, Chrome OS, Chromium OS, CrunchBang, CRUX, Debian, Deepin,\r\n\tDesaOS,Devuan, Dragora, elementary OS, EuroLinux, Evolve OS, Sulin, Exherbo,\r\n\tFedora, Frugalware, Fuduntu, Funtoo, Fux, Gentoo, gNewSense, Guix System,\r\n\tHyperbola GNU\/Linux-libre, januslinux, Jiyuu Linux, Kali Linux, KaOS, KDE neon,\r\n\tKogaion, Korora, LinuxDeepin, Linux Mint, LMDE, Logos, Mageia,\r\n\tMandriva\/Mandrake, Manjaro, Mer, Netrunner, NixOS, OBRevenge, openSUSE, OS\r\n\tElbrus, Oracle Linux, Parabola GNU\/Linux-libre, Pardus, Parrot Security,\r\n\tPCLinuxOS, PeppermintOS, Proxmox VE, PureOS, Qubes OS, Raspbian, Red Hat\r\n\tEnterprise Linux, ROSA, Sabayon, SailfishOS, Scientific Linux, Siduction,\r\n\tSlackware, Solus, Source Mage GNU\/Linux, SparkyLinux, SteamOS, SUSE Linux\r\n\tEnterprise, SwagArch, TinyCore, Trisquel, Ubuntu, Viperr, Void and Zorin OS and\r\n\tEndeavourOS\r\n\r\nOther Supported Systems:\r\n\tDragonfly\/Free\/Open\/Net BSD, Haiku, Mac OS X, Windows+Cygwin and Windows+MSYS2.\r\n\r\nSupported Desktop Managers:\r\n\tKDE, GNOME, Unity, Xfce, LXDE, Cinnamon, MATE, Deepin, CDE, RazorQt and Trinity.\r\n\r\nSupported Window Managers:\r\n\t2bwm, 9wm, Awesome, Beryl, Blackbox, Cinnamon, chromeos-wm, Compiz, deepin-wm,\r\n\tdminiwm, dwm, dtwm, E16, E17, echinus, Emerald, FluxBox, FLWM, FVWM,\r\n\therbstluftwm, howm, IceWM, KWin, Metacity, monsterwm, Musca, Gala, Mutter,\r\n\tMuffin, Notion, OpenBox, PekWM, Ratpoison, Sawfish, ScrotWM, SpectrWM, StumpWM,\r\n\tsubtle, sway, TWin, WindowMaker, WMFS, wmii, Xfwm4, XMonad and i3.\r\n\r\nSupported Information Displays:\r\n\tdistro host kernel uptime pkgs shell res de wm wmtheme gtk disk cpu gpu mem\r\n\r\nOptions:\r\n   -v                 Verbose output.\r\n   -o 'OPTIONS'       Allows for setting script variables on the\r\n                      command line. Must be in the following format...\r\n                      'OPTION1=\"OPTIONARG1\";OPTION2=\"OPTIONARG2\"'\r\n   -d '+var;-var;var' Allows for setting what information is displayed\r\n                      on the command line. You can add displays with +var,var. You\r\n                      can delete displays with -var,var. Setting without + or - will\r\n                      set display to that explicit combination. Add and delete statements\r\n                      may be used in conjunction by placing a ; between them as so:\r\n                      +var,var,var;-var,var. See above to find supported display names.\r\n   -n                 Do not display ASCII distribution logo.\r\n   -L                 Display ASCII distribution logo only.\r\n   -N                 Strip all color from output.\r\n   -w                 Wrap long lines.\r\n   -t                 Truncate output based on terminal width (Experimental!).\r\n   -p                 Portrait output.\r\n   -s [-u IMGHOST]    Using this flag tells the script that you want it\r\n                      to take a screenshot. Use the -u flag if you would like\r\n                      to upload the screenshots to one of the pre-configured\r\n                      locations. These include: teknik, imgur, mediacrush and hmp.\r\n   -c string          You may change the outputted colors with -c. The format is\r\n                      as follows: [0-9][0-9],[0-9][0-9]. The first argument controls the\r\n                      ASCII logo colors and the label colors. The second argument\r\n                      controls the colors of the information found. One argument may be\r\n                      used without the other. For terminals supporting 256 colors argument\r\n                      may also contain other terminal control codes for bold, underline etc.\r\n                      separated by semicolon. For example -c \"4;1,1;2\" will produce bold\r\n                      blue and dim red.\r\n   -a 'PATH'          You can specify a custom ASCII art by passing the path\r\n                      to a Bash script, defining `startline` and `fulloutput`\r\n                      variables, and optionally `labelcolor` and `textcolor`.\r\n                      See the `asciiText` function in the source code for more\r\n                      information on the variables format.\r\n   -S 'COMMAND'       Here you can specify a custom screenshot command for\r\n                      the script to execute. Surrounding quotes are required.\r\n   -D 'DISTRO'        Here you can specify your distribution for the script\r\n                      to use. Surrounding quotes are required.\r\n   -A 'DISTRO'        Here you can specify the distribution art that you want\r\n                      displayed. This is for when you want your distro\r\n                      detected but want to display a different logo.\r\n   -E                 Suppress output of errors.\r\n   -V, --version      Display current script version.\r\n   -h, --help         Display this help.<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Wer nach dem Anmelden per SSH auf der Shell ein sch\u00f6nes Logo mit System-Infos sehen will wie z.B diese:<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[220,2173,808,1023,2752,7],"tags":[3474,230,3472,3473,3475],"class_list":["post-12298","post","type-post","status-publish","format-standard","hentry","category-anleitung","category-debian","category-linux-2","category-raspberry-pi","category-raspberry-pi-zero-w","category-tools","tag-banner","tag-linux","tag-logo","tag-systemstart","tag-3475"],"_links":{"self":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/12298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12298"}],"version-history":[{"count":0,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/12298\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12298"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}