{"id":13147,"date":"2019-04-01T03:27:05","date_gmt":"2019-04-01T03:27:05","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=13147"},"modified":"2019-04-01T03:27:05","modified_gmt":"2019-04-01T03:27:05","slug":"neofetch-shows-linux-system-information-with-distribution-logo","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/04\/01\/neofetch-shows-linux-system-information-with-distribution-logo\/","title":{"rendered":"Neofetch \u2013 Shows Linux System Information with Distribution Logo"},"content":{"rendered":"<p><strong>Neoftech<\/strong>\u00a0is a cross-platform and easy-to-use\u00a0<a href=\"https:\/\/www.tecmint.com\/screenfetch-system-information-generator-for-linux\/\" target=\"_blank\" rel=\"noopener\">system information command line script<\/a>\u00a0that collects your Linux system information and display it on the terminal next to an image, it could be your distributions logo or any ascii art of your choice.<\/p>\n<p>Recently, a new major version of\u00a0<strong>Neofetch 3.0<\/strong>\u00a0released with large amount of breaking changes added to this update.<\/p>\n<p><strong>Neoftech<\/strong>\u00a0is very similar to\u00a0<a href=\"https:\/\/www.tecmint.com\/screenfetch-system-information-generator-for-linux\/\" target=\"_blank\" rel=\"noopener\">ScreenFetch<\/a>\u00a0or\u00a0<a href=\"https:\/\/www.tecmint.com\/linux_logo-tool-to-print-color-ansi-logos-of-linux\/\" target=\"_blank\" rel=\"noopener\">Linux_Logo<\/a>\u00a0utilities, but highly customizable and comes with some extra features as discussed below.<\/p>\n<p>Its main features include: it\u2019s fast, prints a full color image \u2013 your distributions logo in ASCII alongside your system information, it\u2019s highly customizable in terms of which, where and when information is printed on the terminal and it can take a screenshot of your desktop when closing the script as enabled by a special flag.<\/p>\n<h4>Required Dependencies:<\/h4>\n<ol>\n<li><strong>Bash 3.0+<\/strong>\u00a0with ncurses support.<\/li>\n<li><strong>w3m-img<\/strong>\u00a0(occasionally packaged with\u00a0<strong>w3m<\/strong>) or\u00a0<strong>iTerm2<\/strong>\u00a0or\u00a0<strong>Terminology<\/strong>\u00a0for printing images.<\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/install-imagemagick-in-linux\/\" target=\"_blank\" rel=\"noopener\">imagemagick<\/a>\u00a0\u2013 for thumbnail creation.<\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/linux-terminal-emulators\/\" target=\"_blank\" rel=\"noopener\">Linux terminal emulator<\/a>\u00a0should support\u00a0<strong>\\033[14t [3]<\/strong>\u00a0or\u00a0<strong>xdotool<\/strong>\u00a0or\u00a0<strong>xwininfo<\/strong>\u00a0+\u00a0<strong>xprop<\/strong>\u00a0or\u00a0<strong>xwininfo<\/strong>\u00a0+\u00a0<strong>xdpyinfo\u00a0<\/strong>.<\/li>\n<li>On Linux, you need\u00a0<strong>feh<\/strong>,\u00a0<strong>nitrogen<\/strong>\u00a0or\u00a0<strong>gsettings<\/strong>\u00a0for wallpaper support.<\/li>\n<\/ol>\n<p><center><ins class=\"adsbygoogle\" data-ad-client=\"ca-pub-2601749019656699\" data-ad-slot=\"5590002574\" data-ad-format=\"auto\" data-adsbygoogle-status=\"done\"><ins id=\"aswift_4_expand\"><ins id=\"aswift_4_anchor\"><iframe id=\"aswift_4\" name=\"aswift_4\" width=\"780\" height=\"90\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/ins><\/ins><\/ins><\/center><strong>Important<\/strong>: You can read more about optional dependencies from the Neofetch Github repository to check if your\u00a0<a href=\"https:\/\/www.tecmint.com\/linux-terminal-emulators\/\" target=\"_blank\" rel=\"noopener\">Linux terminal emulator<\/a>\u00a0actually supports\u00a0<strong>\\033[14t<\/strong>\u00a0or any extra dependencies for the script to work well on your distro.<\/p>\n<h3>How To Install Neofetch in Linux<\/h3>\n<p>Neofetch can be easily installed from third-party repositories on almost all Linux distributions by following below respective installation instructions as per your distribution.<\/p>\n<h4>On Debian<\/h4>\n<pre>$ echo \"deb http:\/\/dl.bintray.com\/dawidd6\/neofetch jessie main\" | sudo tee -a \/etc\/apt\/sources.list\r\n$ curl -L \"https:\/\/bintray.com\/user\/downloadSubjectPublicKey?username=bintray\" -o Release-neofetch.key &amp;&amp; sudo apt-key add Release-neofetch.key &amp;&amp; rm Release-neofetch.key\r\n$ sudo apt-get update\r\n$ sudo apt-get install neofetch\r\n<\/pre>\n<h4>On Ubuntu and Linux Mint<\/h4>\n<pre>$ sudo add-apt-repository ppa:dawidd0811\/neofetch\r\n$ sudo apt-get update\r\n$ sudo apt-get install neofetch\r\n<\/pre>\n<h4>On RHEL, CentOS and Fedora<\/h4>\n<p>You need to have\u00a0<strong>dnf-plugins-core<\/strong>\u00a0installed on your system, or else install it with the command below:<\/p>\n<pre>$ sudo yum install dnf-plugins-core\r\n<\/pre>\n<p>Enable COPR repository and install\u00a0<strong>neofetch<\/strong>\u00a0package.<\/p>\n<pre>$ sudo dnf copr enable konimex\/neofetch\r\n$ sudo dnf install neofetch\r\n<\/pre>\n<h4>On Arch Linux<\/h4>\n<p>You can either install\u00a0<strong>neofetch<\/strong>\u00a0or\u00a0<strong>neofetch-git<\/strong>\u00a0from the AUR using\u00a0<strong>packer<\/strong>\u00a0or\u00a0<strong>Yaourt<\/strong>.<\/p>\n<pre>$ packer -S neofetch\r\n$ packer -S neofetch-git\r\nOR\r\n$ yaourt -S neofetch\r\n$ yaourt -S neofetch-git\r\n<\/pre>\n<h4>On Gentoo<\/h4>\n<p>Install\u00a0<strong>app-misc\/neofetch<\/strong>\u00a0from Gentoo\/Funtoo\u2019s official repositories. However, in case you need the git version of the package, you can install\u00a0<strong>=app-misc\/neofetch-9999<\/strong>.<\/p>\n<h3>How To Use Neofetch in Linux<\/h3>\n<p>Once you have installed the package, the general syntax for using it is:<\/p>\n<pre>$ neofetch\r\n<\/pre>\n<p><strong>Note<\/strong>: If\u00a0<strong>w3m-img<\/strong>\u00a0or\u00a0<a href=\"https:\/\/www.tecmint.com\/install-imagemagick-in-linux\/\" target=\"_blank\" rel=\"noopener\">imagemagick<\/a>\u00a0is not installed on your system,\u00a0<a href=\"https:\/\/www.tecmint.com\/screenfetch-system-information-generator-for-linux\/\" target=\"_blank\" rel=\"noopener\">screenfetch<\/a>\u00a0will be enabled by default and\u00a0<strong>neofetch<\/strong>\u00a0will display your\u00a0<a href=\"https:\/\/www.tecmint.com\/linux_logo-tool-to-print-color-ansi-logos-of-linux\/\" target=\"_blank\" rel=\"noopener\">ASCII art logo<\/a>\u00a0as in the image below.<\/p>\n<h4>Linux Mint Information<\/h4>\n<div id=\"attachment_23353\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/11\/Linux-Mint-System-Information.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-23353\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/11\/Linux-Mint-System-Information.png\" alt=\"Linux Mint System Information\" width=\"764\" height=\"418\" aria-describedby=\"caption-attachment-23353\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-23353\" class=\"wp-caption-text\">Linux Mint System Information<\/p>\n<\/div>\n<h4>Ubuntu Information<\/h4>\n<div id=\"attachment_23354\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/11\/Ubuntu-System-Information.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-23354\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/11\/Ubuntu-System-Information.png\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/11\/Ubuntu-System-Information.png 802w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/11\/Ubuntu-System-Information-768x398.png 768w\" alt=\"Ubuntu System Information\" width=\"802\" height=\"416\" aria-describedby=\"caption-attachment-23354\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-23354\" class=\"wp-caption-text\">Ubuntu System Information<\/p>\n<\/div>\n<p>If you want to display the default distribution logo as image, you should install\u00a0<strong>w3m-img<\/strong>\u00a0or\u00a0<strong>imagemagick<\/strong>\u00a0on your system as follows:<\/p>\n<pre>$ sudo apt-get install w3m-img    [On <strong>Debian\/Ubuntu\/Mint<\/strong>]\r\n$ sudo yum install w3m-img        [On <strong>RHEL\/CentOS\/Fedora<\/strong>]\r\n<\/pre>\n<p>Then run\u00a0<strong>neofetch<\/strong>\u00a0again, you will see the default wallpaper of your Linux distributions as the image.<\/p>\n<pre>$ neofetch\r\n<\/pre>\n<div id=\"attachment_23356\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/11\/Ubuntu-System-Information-with-Logo.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-23356\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/11\/Ubuntu-System-Information-with-Logo.png\" sizes=\"auto, (max-width: 801px) 100vw, 801px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/11\/Ubuntu-System-Information-with-Logo.png 801w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/11\/Ubuntu-System-Information-with-Logo-768x398.png 768w\" alt=\"Ubuntu System Information with Logo\" width=\"801\" height=\"415\" aria-describedby=\"caption-attachment-23356\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-23356\" class=\"wp-caption-text\">Ubuntu System Information with Logo<\/p>\n<\/div>\n<p>After running\u00a0<strong>neofetch<\/strong>\u00a0for the first time, it will create a configuration file with all options and settings:\u00a0<code>$HOME\/.config\/neofetch\/config<\/code>.<\/p>\n<p>This configuration file will enable you through the\u00a0<code>printinfo ()<\/code>\u00a0function to alter the system information that you want to print on the terminal. You can type in new lines of information, modify the information lineup, delete certain lines and also tweak the script it using bash code to manage the information to be printed out.<\/p>\n<p>You can open the configuration file using your favorite editor as follows:<\/p>\n<pre>$ vi ~\/.config\/neofetch\/config\r\n<\/pre>\n<p>Below is an excerpt of the configuration file on my system showing the\u00a0<code>printinfo ()<\/code>\u00a0function.<\/p>\n<div class=\"code-label\">Neofetch Configuration File<\/div>\n<pre>#!\/usr\/bin\/env bash\r\n# vim:fdm=marker\r\n#\r\n# Neofetch config file\r\n# https:\/\/github.com\/dylanaraps\/neofetch\r\n\r\n# Speed up script by not using unicode\r\nexport LC_ALL=C\r\nexport LANG=C\r\n\r\n# Info Options {{{\r\n\r\n\r\n# Info\r\n# See this wiki page for more info:\r\n# https:\/\/github.com\/dylanaraps\/neofetch\/wiki\/Customizing-Info\r\nprintinfo() {\r\n    info title\r\n    info underline\r\n\r\n    info \"Model\" model\r\n    info \"OS\" distro\r\n    info \"Kernel\" kernel\r\n    info \"Uptime\" uptime\r\n    info \"Packages\" packages\r\n    info \"Shell\" shell\r\n    info \"Resolution\" resolution\r\n    info \"DE\" de\r\n    info \"WM\" wm\r\n    info \"WM Theme\" wmtheme\r\n    info \"Theme\" theme\r\n    info \"Icons\" icons\r\n    info \"Terminal\" term\r\n    info \"Terminal Font\" termfont\r\n    info \"CPU\" cpu\r\n    info \"GPU\" gpu\r\n    info \"Memory\" memory\r\n\r\n    # info \"CPU Usage\" cpu_usage\r\n    # info \"Disk\" disk\r\n    # info \"Battery\" battery\r\n    # info \"Font\" font\r\n    # info \"Song\" song\r\n    # info \"Local IP\" localip\r\n    # info \"Public IP\" publicip\r\n    # info \"Users\" users\r\n    # info \"Birthday\" birthday\r\n\r\n    info linebreak\r\n    info cols\r\n    info linebreak\r\n}\r\n.....\r\n<\/pre>\n<p>Type the command below to view all flags and their configuration values you can use with neofetch script:<\/p>\n<pre>$ neofetch --help\r\n<\/pre>\n<p>To launch neofetch with all functions and flags enabled, employ the\u00a0<code>--test<\/code>\u00a0flag:<\/p>\n<pre>$ neofetch --test\r\n<\/pre>\n<p>You can enable the ASCII art logo again using the\u00a0<code>--ascii<\/code>\u00a0flag:<\/p>\n<pre>$ neofetch --ascii\r\n<\/pre>\n<p>In this article, we have covered a simple and highly configuration\/customizable command line script that gathers your system information and displays it on the terminal.<\/p>\n<p>Remember to get in touch with us via the feedback form below to ask any questions or give us your thoughts concerning the neofetch script.<\/p>\n<p>Last but not least, if you know of any similar scripts out there, do not hesitate to let us know, we will be pleased to hear from you.<\/p>\n<p>Visit the\u00a0<a href=\"https:\/\/github.com\/dylanaraps\/neofetch\" target=\"_blank\" rel=\"nofollow noopener\">neofetch Github repository<\/a>.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/neofetch-shows-linux-system-information-with-logo\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Neoftech\u00a0is a cross-platform and easy-to-use\u00a0system information command line script\u00a0that collects your Linux system information and display it on the terminal next to an image, it could be your distributions logo or any ascii art of your choice. Recently, a new major version of\u00a0Neofetch 3.0\u00a0released with large amount of breaking changes added to this update. Neoftech\u00a0is &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/04\/01\/neofetch-shows-linux-system-information-with-distribution-logo\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Neofetch \u2013 Shows Linux System Information with Distribution Logo&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-13147","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=13147"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13147\/revisions"}],"predecessor-version":[{"id":13148,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13147\/revisions\/13148"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=13147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=13147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=13147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}