{"id":33442,"date":"2021-03-06T15:44:11","date_gmt":"2021-03-06T15:44:11","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=33442"},"modified":"2021-03-06T15:44:11","modified_gmt":"2021-03-06T15:44:11","slug":"macchina-display-basic-system-info-linux","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2021\/03\/macchina-display-basic-system-info-linux\/","title":{"rendered":"Macchina &#8211; Another Command Tool to Display Basic System Info in Linux"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/system-monitor-icon.png\" alt=\"\" width=\"245\" height=\"250\" class=\"alignleft size-full wp-image-18642\" \/><\/p>\n<p><b>Macchina is another command line tool to fetch basic system information in Linux, similar to Neofetch, but focus on performance and minimalism.<\/b><\/p>\n<p>The software is written in Rust, and it displays basic system information, including hostname, manufacturer, kernel version, uptime, desktop environment, processor, memory \/ battery status, and more. Macchina is pretty fast, it runs <b>8.53 \u00b1 0.72<\/b> times faster than neofetch!<\/p>\n<p><a href=\"https:\/\/github.com\/grtcdr\/macchina\" rel=\"noopener\" target=\"_blank\">Macchina<\/a> is a new project in active development. By adding <code style=\"border:none;\">--theme<\/code> or <code style=\"border:none;\">-t<\/code> flag, you can specify one of the supported themes. They are so far: <i>default<\/i>, <i>alt<\/i>, and <i>long<\/i>. <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/03\/macchina-default.png\" alt=\"\" width=\"600\" height=\"293\" class=\"aligncenter size-full wp-image-33443\" \/><\/p>\n<p>And you can specify the key color (<code style=\"border:none;\">--color<\/code> \/ <code style=\"border:none;\">-c<\/code>), the separator color (<code style=\"border:none;\">--separator-color<\/code> \/ <code style=\"border:none;\">-C<\/code>), let it show palette (<code style=\"border:none;\">-p<\/code>) and display memory usage and battery percentage as bars (<code style=\"border:none;\">-b<\/code>).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/03\/macchina-alt.png\" alt=\"\" width=\"600\" height=\"303\" class=\"aligncenter size-full wp-image-33444\" \/><\/p>\n<p>It also has options to change left padding and spacing.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/03\/macchina-long.png\" alt=\"\" width=\"600\" height=\"276\" class=\"aligncenter size-full wp-image-33445\" \/><\/p>\n<h3>How to Install Macchina in Ubuntu:<\/h3>\n<p>The software so far is available to install via crates.io.<\/p>\n<p>1. Firstly open terminal and run command to install cargo:<\/p>\n<pre style=\"border:none;\">sudo apt install cargo<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/03\/apt-cargo.png\" alt=\"\" width=\"600\" height=\"299\" class=\"aligncenter size-full wp-image-33446\" \/><\/p>\n<p>2. Then install the tool via command:<\/p>\n<pre style=\"border:none;\">cargo install macchina<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/03\/install-macchina.png\" alt=\"\" width=\"600\" height=\"188\" class=\"aligncenter size-full wp-image-33447\" \/><\/p>\n<p>Once installed, you can run <b>~\/.cargo\/bin\/macchina<\/b> with your desired flags.<\/p>\n<p>If you prefer to use command <b>macchina<\/b> instead, run command to edit user&#8217;s profile:<\/p>\n<pre style=\"border:none;\">gedit ~\/.profile<\/pre>\n<p>And add following lines to add &#8220;.cargo\/bin&#8221; directory to your PATH:<\/p>\n<pre style=\"background:none;\"># set PATH so it includes user's private bin if it exists\r\nif [ -d \"$HOME\/.cargo\/bin\" ] ; then\r\n    PATH=\"$HOME\/.cargo\/bin:$PATH\"\r\nfi<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/03\/add-cargo-profile.png\" alt=\"\" width=\"600\" height=\"303\" class=\"aligncenter size-full wp-image-33448\" \/><\/p>\n<p>Log out and back in to apply the new PATH.<\/p>\n<h4>Uninstall Macchina:<\/h4>\n<p>To remove the software via cargo, run command:<\/p>\n<pre style=\"border:none;\">cargo uninstall macchina<\/pre>\n<p>If you don&#8217;t use cargo, simply remove it via command:<\/p>\n<pre style=\"border:none;\">sudo apt remove --purge cargo<\/pre>","protected":false},"excerpt":{"rendered":"<p>Macchina is another command line tool to fetch basic system information in Linux, similar to Neofetch, but focus on performance and minimalism. The software is written in Rust, and it displays basic system information, including hostname, manufacturer, kernel version, uptime, desktop environment, processor, memory \/ battery status, and more. Macchina is pretty fast, it runs [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52],"tags":[],"class_list":["post-33442","post","type-post","status-publish","format-standard","hentry","category-app-review"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/33442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=33442"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/33442\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=33442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=33442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=33442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}