{"id":9878,"date":"2022-08-15T09:15:54","date_gmt":"2022-08-15T01:15:54","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=9878"},"modified":"2022-08-15T09:08:37","modified_gmt":"2022-08-15T01:08:37","slug":"neofetch-linux","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/neofetch-linux.html","title":{"rendered":"\u5982\u4f55\u4f7f\u7528Neofetch\u4e2a\u6027\u5316\u663e\u793aLinux\u7cfb\u7edf\u4fe1\u606f"},"content":{"rendered":"

\"Neofetch-01\"<\/p>\n

\u53ef\u7528\u4e8e\u67e5\u770b\u548c\u663e\u793a Linux \u7cfb\u7edf\u4fe1\u606f\u7684\u5f00\u6e90\u5de5\u5177\u548c\u811a\u672c\u5b9e\u5728\u592a\u591a\uff0cNeofetch \u4e5f\u662f\u5176\u4e2d\u4e4b\u4e00\uff0cNeofetch \u53ef\u4ee5\u4ee5\u66f4\u5168\u9762\u7684\u65b9\u5f0f\u6765\u663e\u793a\u8f93\u51fa\u8be6\u5b9e\u7684 Linux \u7cfb\u7edf\u4fe1\u606f\uff0c\u7b80\u5355\u5730\u6765\u8bf4\uff0c\u5982\u679c\u4f60\u60f3\u67e5\u770b Linux \u6240\u4f7f\u7528\u7684\u786c\u4ef6\u89c4\u683c\u3001\u5185\u6838\u7248\u672c\u3001\u8fd0\u884c\u65f6\u95f4\u548c\u684c\u9762\u73af\u5883\u7b49\u4fe1\u606f\uff0cNeofetch \u4f1a\u975e\u5e38\u9002\u5408\u4f60\u3002\u4e4b\u6240\u4ee5\u8981\u63a8\u8350\u5b83\uff0c\u662f\u56e0\u4e3a\u5176\u8f93\u51fa\u975e\u5e38\u4e2a\u6027\u5316\u3001\u6709\u610f\u601d\u3002<\/p>\n

\u5b89\u88c5Neofetch<\/strong><\/div>\n

\u4f7f\u7528\u4e0b\u9762\u7684\u6b65\u9aa4\uff0c\u6211\u4eec\u53ef\u4ee5\u975e\u5e38\u5bb9\u6613\u7684\u5728 Debian\/Ubuntu \u4e2d\u5b89\u88c5 Neofetch\u3002\u7531\u4e8e Neofetch \u662f\u4e00\u4e2a\u9002\u7528\u4e8e\u5927\u591a\u6570\u64cd\u4f5c\u7cfb\u7edf\u7684\u8de8\u5e73\u53f0\u5e94\u7528\uff0c\u6211\u4eec\u751a\u81f3\u53ef\u4ee5\u5728 Windows (Cygwin) \u4e2d\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n

\u5728 Neofetch \u7684 GitHub \u4e3b\u9875\u4e0a\uff0c\u4e5f\u5bf9 Arch Linux\u3001Gentoo\u3001Fedora \u548c Mac OS X \u7684\u5b89\u88c5\u6b65\u9aa4\u8fdb\u884c\u4e86\u8be6\u5c3d\u7684\u4ecb\u7ecd\u3002<\/p>\n

\u5728\u7ec8\u7aef\u4e2d\u6267\u884c\u5982\u4e0b\u547d\u4ee4\u6dfb\u52a0\u7b2c\u4e09\u65b9\u6e90<\/strong><\/span><\/div>\n
echo <\/span>\"deb http:\/\/dl.bintray.com\/dawidd6\/neofetch jessie main\"<\/span> |<\/span> sudo tee <\/span>-<\/span>a <\/span>\/<\/span>etc<\/span>\/<\/span>apt<\/span>\/<\/span>sources<\/span>.<\/span>list<\/span><\/pre>\n

\u6267\u884c\u5982\u4e0b\u547d\u4ee4\u6dfb\u52a0\u516c\u94a5\uff08\u9700\u8981\u5df2\u7ecf\u5b89\u88c5 curl\uff09<\/strong><\/span><\/p>\n

curl <\/span>-<\/span>L <\/span>\"https:\/\/bintray.com\/user\/downloadSubjectPublicKey?username=bintray\"<\/span> -<\/span>o <\/span>Release<\/span>-<\/span>neofetch<\/span>.<\/span>key<\/span>\r\n\r\nsudo apt<\/span>-<\/span>key add <\/span>Release<\/span>-<\/span>neofetch<\/span>.<\/span>key<\/span>\r\n\r\nrm <\/span>Release<\/span>-<\/span>neofetch<\/span>.<\/span>key<\/span><\/pre>\n
\u5c06 Neofetch \u5b89\u88c5\u5230\u5f53\u524d\u7cfb\u7edf<\/strong><\/span><\/div>\n
sudo apt<\/span>-<\/span>get<\/span> update<\/span>\r\n\r\nsudo apt<\/span>-<\/span>get<\/span> install neofetch<\/span><\/pre>\n
\u4f7f\u7528Neofetch<\/strong><\/div>\n

NeoFetch \u5b89\u88c5\u597d\u4e4b\u540e\u8981\u5982\u4f55\u4f7f\u7528\u5462\uff1f\u5176\u5b9e\u53ea\u9700\u5728\u7ec8\u7aef\u4e2d\u6267\u884c\u5b83\u7684\u7528\u6237\u540d\u4fbf\u53ef\u4ee5\u76f4\u63a5\u8f93\u51fa\u6570\u636e\u4e86\u3002<\/p>\n

sudo neofetch<\/span><\/pre>\n

\"Neofetch-02\"<\/p>\n

\u5927\u5bb6\u53ef\u4ee5\u770b\u5230\uff0c\u5176\u9ed8\u8ba4\u8f93\u51fa\u7684\u4fe1\u606f\u5df2\u7ecf\u975e\u5e38\u8be6\u5c3d\u3002\u5982\u679c\u89c9\u5f97\u663e\u793a\u5355\u8c03\uff0c\u53ef\u4ee5\u4f7f\u7528\u6269\u5c55\u53c2\u6570\u8fdb\u884c\u8f93\u51fa\u3002\u4f8b\u5982\uff1a\u53ef\u4ee5\u5c06\u5185\u5b58\u4f7f\u7528\u7387\u6309\u767e\u5206\u6bd4\u7528\u989c\u8272\u8fdb\u5ea6\u6761\u8fdb\u884c\u663e\u793a\uff1a<\/p>\n

sudo neofetch <\/span>--<\/span>memory_display bar <\/span>--<\/span>color_blocks off<\/span><\/pre>\n

\"Neofetch-03\"<\/p>\n

\u8fd8\u53ef\u4ee5\u81ea\u5b9a\u4e49\u8f93\u51fa\u7684\u6587\u672c\u989c\u8272\uff1a<\/p>\n

neofetch <\/span>--<\/span>colors <\/span>7<\/span> 7<\/span> 5<\/span> 11<\/span> 7<\/span> 9<\/span><\/pre>\n

\"Neofetch-04\"<\/p>\n

\u4e5f\u53ef\u4ee5\u5c06\u7cfb\u7edf\u8f93\u5165\u7684\u8be6\u7ec6\u4fe1\u606f\u4ee5\u622a\u56fe\u65b9\u5f0f\u76f4\u63a5\u8f93\u51fa\u4fdd\u5b58\u6210\u56fe\u7247\uff1a<\/p>\n

neofetch <\/span>--<\/span>scrot <\/span>\/<\/span>path<\/span>\/<\/span>to<\/span>\/<\/span>img<\/span><\/pre>\n

\u56fe\u7247\u8f93\u51fa\u8def\u5f84\u5927\u5bb6\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u559c\u597d\u7684\u8bbe\u5b9a\u3002<\/p>\n

\u914d\u7f6ealias<\/strong><\/div>\n

\u6bcf\u6b21\u8981\u4f7f\u7528\u90fd\u8981\u91cd\u590d\u8fc7\u957f\u7684\u53c2\u6570\u5341\u5206\u65e0\u8da3\u548c\u8017\u65f6\uff0cNeofetch \u7684\u53c2\u6570\u8fd9\u4e48\u591a\uff0c\u76f8\u4fe1\u4f60\u8ddf\u6211\u4e00\u6837\u4e5f\u8bb0\u4e0d\u4e0b\u6765\u3002\u6240\u4ee5\u5efa\u8bae\u5927\u5bb6\u8fd8\u662f\u628a\u53c2\u6570\u5199\u5230 .bashrc<\/span> \u6587\u4ef6\u5f53\u4e2d\uff0c\u901a\u8fc7 alias \u6765\u6267\u884c\u3002<\/p>\n

\u4ee5\u4e0b\u662f\u6211\u5728\u81ea\u5df1 .bashrc \u6587\u4ef6\u4e2d\u6dfb\u52a0\u7684\u53c2\u6570\uff0c\u5404\u4f4d\u53ef\u4ee5\u53c2\u8003\uff1a<\/p>\n

alias<\/span> neofetch2<\/span>=<\/span>\"neofetch \\<\/span>\r\n\r\n--block_range 1 8 \\<\/span>\r\n\r\n--line_wrap off \\<\/span>\r\n\r\n--bold off \\<\/span>\r\n\r\n--uptime_shorthand on \\<\/span>\r\n\r\n--gtk_shorthand on \\<\/span>\r\n\r\n--colors 4 1 8 8 8 7<\/span>\r\n\r\n\"<\/span>\r\n<\/pre>\n

\u5bf9\u4e86\uff0c\u5728\u6539\u5b8c\u914d\u7f6e\u6587\u4ef6\u8bb0\u5f97 source ~\/.bashrc<\/span> \u8ba9\u5176\u751f\u6548\u3002\u4e0b\u6b21\u518d\u4f7f\u7528\u65f6\uff0c\u76f4\u63a5\u6267\u884c neofetch2<\/span> \u5c31 OK\u4e86\u3002<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttp:\/\/www.sysgeek.cn\/system-information-neofetch-linux\/<\/a>\u539f\u4f5c\u8005\uff1a\u7cfb\u7edf\u6781\u5ba2<\/span><\/p>\n

\u672c\u6587\u5730\u5740\uff1a http:\/\/lrxjmw.cn\/neofetch-linux.html<\/a><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u53ef\u7528\u4e8e\u67e5\u770b\u548c\u663e\u793a Linux \u7cfb\u7edf\u4fe1\u606f\u7684\u5f00\u6e90\u5de5\u5177\u548c\u811a\u672c\u5b9e\u5728\u592a\u591a\uff0cNeofetch \u4e5f\u662f\u5176\u4e2d\u4e4b\u4e00\uff0cNeofetc […]<\/p>\n","protected":false},"author":63,"featured_media":9885,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-9878","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/9878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=9878"}],"version-history":[{"count":19,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/9878\/revisions"}],"predecessor-version":[{"id":250266,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/9878\/revisions\/250266"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/9885"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=9878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=9878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=9878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}