{"id":42715,"date":"2023-03-07T09:13:37","date_gmt":"2023-03-07T01:13:37","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=42715"},"modified":"2023-03-07T09:13:37","modified_gmt":"2023-03-07T01:13:37","slug":"neofetch-logo-tool","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/neofetch-logo-tool.html","title":{"rendered":"Neofetch\u5e26\u53d1\u884c\u7248 Logo \u56fe\u50cf\u7684\u7cfb\u7edf\u4fe1\u606f\u663e\u793a\u5de5\u5177\u53d1\u5e03\u5566\uff01"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nNeofetch\u00a0\u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u7684\u6613\u4e8e\u4f7f\u7528\u7684\u00a0\u7cfb\u7edf\u4fe1\u606f\u663e\u793a\u547d\u4ee4\u884c\u811a\u672c\uff0c\u5b83\u6536\u96c6\u4f60\u7684\u7cfb\u7edf\u4fe1\u606f\uff0c\u5e76\u5728\u7ec8\u7aef\u4e2d\u548c\u56fe\u50cf\u4e00\u8d77\u663e\u793a\u51fa\u6765\uff0c\u8fd9\u4e2a\u56fe\u50cf\u53ef\u80fd\u662f\u4f60\u7684\u53d1\u884c\u7248\u7684 logo \u4e5f\u53ef\u80fd\u662f\u4f60\u9009\u62e9\u7684\u4e00\u5e45 ascii \u827a\u672f\u5b57\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

Neofetch\u00a0\u548c\u00a0ScreenFetch\u00a0\u6216\u8005\u00a0Linux_Logo\u00a0\u5f88\u50cf\uff0c\u4f46\u662f\u5b83\u53ef\u4ee5\u9ad8\u5ea6\u5b9a\u5236\uff0c\u5e76\u4e14\u8fd8\u6709\u4e00\u4e9b\u989d\u5916\u7684\u6211\u4eec\u8981\u5728\u4e0b\u9762\u8ba8\u8bba\u7684\u7279\u70b9\u3002<\/p>\n

\u5b83\u7684\u4e3b\u8981\u7279\u70b9\u6709\uff1a\u8fd0\u884c\u901f\u5ea6\u5feb\uff0c\u53ef\u4ee5\u663e\u793a\u5168\u8272\u56fe\u50cf \u2014\u2014 \u7528 ASCII \u5b57\u7b26\u663e\u793a\u7684\u53d1\u884c\u7248 logo \uff0c\u65c1\u8fb9\u663e\u793a\u7cfb\u7edf\u4fe1\u606f\uff0c\u53ef\u4ee5\u9ad8\u5ea6\u5b9a\u5236\uff0c\u53ef\u4ee5\u968f\u65f6\u968f\u5730\u663e\u793a\u7cfb\u7edf\u4fe1\u606f\uff0c\u5e76\u4e14\u5728\u811a\u672c\u7ed3\u675f\u7684\u65f6\u5019\u8fd8\u53ef\u4ee5\u901a\u8fc7\u4e00\u4e2a\u7279\u6b8a\u7684\u53c2\u6570\u6765\u542f\u7528\u684c\u9762\u622a\u56fe\u3002<\/p>\n

\u7cfb\u7edf\u8981\u6c42\uff1a<\/strong><\/div>\n
    \n
  1. Bash 3.0+\u00a0\u5e26 ncurses \u652f\u6301\u3002<\/li>\n
  2. w3m-img\u00a0(\u6709\u65f6\u5019\u4f1a\u6253\u5305\u6210\u00a0w3m) \u6216\u8005\u00a0iTerm2\u00a0\u6216\u8005\u00a0Terminology\uff0c\u7528\u4e8e\u663e\u793a\u56fe\u50cf\u3002<\/li>\n
  3. imagemagick\uff0c\u7528\u4e8e\u521b\u5efa\u7f29\u7565\u56fe\u3002<\/li>\n
  4. \u652f\u6301[\/033[14t \u7684 Linux \u7ec8\u7aef\u6a21\u62df\u5668 \u6216\u8005 xdotool \u6216\u8005 xwininfo\u00a0+\u00a0xprop \u6216\u8005 xwininfo\u00a0+\u00a0xdpyinfo \u3002<\/li>\n
  5. Linux \u7cfb\u7edf\u4e2d\u8fd8\u9700\u8981 feh\u3001nitrogen\u00a0\u6216\u8005\u00a0gsettings \u6765\u63d0\u4f9b\u5bf9\u5899\u7eb8\u7684\u652f\u6301\u3002<\/li>\n<\/ol>\n

    \u6ce8\u610f\uff1a\u4f60\u53ef\u4ee5\u4ece Neofetch \u7684 Github \u9875\u9762\u4e86\u89e3\u66f4\u591a\u5173\u4e8e\u53ef\u9009\u4f9d\u8d56\u7684\u4fe1\u606f\uff0c\u4ee5\u68c0\u67e5\u4f60\u7684 Linux \u7ec8\u7aef\u6a21\u62df\u5668 \u662f\u4e0d\u662f\u771f\u7684\u652f\u6301 \/033[14t\u6216\u8005\u662f\u5426\u9700\u8981\u4e00\u4e9b\u989d\u5916\u7684\u4f9d\u8d56\u6765\u4f7f\u8fd9\u4e2a\u811a\u672c\u5728\u4f60\u7684\u53d1\u884c\u7248\u4e0a\u5de5\u4f5c\u5f97\u66f4\u597d\u3002<\/p>\n

    \u600e\u6837\u5728 Linux \u7cfb\u7edf\u4e0a\u5b89\u88c5 Neofetch<\/strong><\/div>\n

    Neofetch \u53ef\u4ee5\u4ece\u51e0\u4e4e\u6240\u6709 Linux \u53d1\u884c\u7248\u7684\u7b2c\u4e09\u65b9\u4ed3\u5e93\u8f7b\u677e\u5b89\u88c5\uff0c\u8bf7\u6309\u7167\u4ee5\u4e0b\u5404\u81ea\u7684\u5b89\u88c5\u8bf4\u660e\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n

    Debian<\/strong><\/span><\/div>\n
    $ 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 && sudo apt-key add Release-neofetch.key && rm Release-neofetch.key\r\n$ sudo apt-get update\r\n$ sudo apt-get install neofetch\r\n<\/pre>\n
    Ubuntu \u548c Linux Mint<\/strong><\/span><\/div>\n
    $ sudo add-apt-repository ppa:dawidd0811\/neofetch\r\n$ sudo apt-get update\r\n$ sudo apt-get install neofetch\r\n<\/pre>\n
    RHEL, CentOS \u548c Fedora<\/strong><\/span><\/div>\n

    \u4f60\u7684\u7cfb\u7edf\u91cc\u9762\u8981\u5b89\u88c5\u4e86 dnf-plugins-core \uff0c\u6216\u8005\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\u5b83\uff1a<\/p>\n

    $ sudo yum install dnf-plugins-core\r\n<\/pre>\n

    \u542f\u7528 COPR \u4ed3\u5e93\u7136\u540e\u5b89\u88c5 neofetch\u3002<\/p>\n

    $ sudo dnf copr enable konimex\/neofetch\r\n$ sudo dnf install neofetch\r\n<\/pre>\n
    Arch Linux<\/strong><\/span><\/div>\n

    \u4f60\u53ef\u4ee5\u7528 packer \u6216 Yaourt \u4ece AUR \u5b89\u88c5 neofetch \u6216 neofetch-git\u3002<\/p>\n

    $ packer -S neofetch\r\n$ packer -S neofetch-git\r\n\u6216\r\n$ yaourt -S neofetch\r\n$ yaourt -S neofetch-git\r\n<\/pre>\n
    Gentoo<\/strong><\/span><\/div>\n

    \u4ece Gentoo\/Funtoo \u7684\u5b98\u65b9\u6e90\u5b89\u88c5\u00a0app-misc\/neofetch\u3002\u5982\u679c\u4f60\u8981\u5b89\u88c5\u8fd9\u4e2a\u7a0b\u5e8f\u7684 git \u7248\u7684\u8bdd\uff0c\u4f60\u53ef\u4ee5\u5b89\u88c5 \u00a0app-misc\/neofetch-9999\u3002<\/p>\n

    \u600e\u4e48\u5728 Linux \u4e2d\u4f7f\u7528 Neofetch<\/strong><\/div>\n

    \u4e00\u65e6\u4f60\u5b89\u88c5\u4e86 Neofetch \uff0c\u4f7f\u7528\u5b83\u7684\u4e00\u822c\u8bed\u6cd5\u662f\uff1a<\/p>\n

    $ neofetch\r\n<\/pre>\n

    \u6ce8\u610f\uff1a \u8981\u662f\u4f60\u6ca1\u6709\u5b89\u88c5 w3m-img \u6216\u8005 imagemagick \u7684\u8bdd\uff0cscreenfetch \u4f1a\u9ed8\u8ba4\u88ab\u542f\u7528\uff0cneofetch \u4f1a\u5982\u4e0b\u56fe\u6240\u793a\u663e\u793a\u4f60\u7684 [ASCII \u827a\u672f logo]\u3002<\/p>\n

    Linux Mint \u7cfb\u7edf\u4fe1\u606f<\/strong><\/div>\n

    \"Neofetch <\/a><\/p>\n

    Linux Mint \u7cfb\u7edf\u4fe1\u606f<\/em><\/p>\n

    Ubuntu \u7cfb\u7edf\u4fe1\u606f<\/strong><\/div>\n

    \"Neofetch <\/a><\/p>\n

    Ubuntu \u7cfb\u7edf\u4fe1\u606f<\/em><\/p>\n

    \u5982\u679c\u4f60\u60f3\u7528\u56fe\u7247\u663e\u793a\u4f60\u7684\u53d1\u884c\u7248 logo\uff0c\u9700\u8981\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u5b89\u88c5 w3m-img \u6216\u8005 imagemagick \u3002<\/p>\n

    $ sudo apt-get install w3m-img    [On Debian\/Ubuntu\/Mint]\r\n$ sudo yum install w3m-img        [On RHEL\/CentOS\/Fedora]\r\n<\/pre>\n

    \u7136\u540e\u518d\u6b21\u8fd0\u884c neofetch\uff0c\u4f60\u5c31\u4f1a\u770b\u5230\u5982\u4e0b\u56fe\u6240\u793a\u7684\u7528\u4f60\u7cfb\u7edf\u7684\u9ed8\u8ba4\u5899\u7eb8\u6765\u663e\u793a\u56fe\u7247\u3002<\/p>\n

    $ neofetch\r\n<\/pre>\n

    \"Neofetch <\/a><\/p>\n

    Ubuntu \u7cfb\u7edf\u4fe1\u606f\u5e26 logo<\/em><\/p>\n

    \u7b2c\u4e00\u6b21\u8fd0\u884c neofetch \u540e\uff0c\u5b83\u4f1a\u5728\u8fd9\u91cc\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e\u6587\u4ef6\uff1a\u00a0$HOME\/.config\/neofetch\/config\u3002<\/p>\n

    \u8fd9\u4e2a\u914d\u7f6e\u6587\u4ef6\u53ef\u4ee5\u8ba9\u4f60\u901a\u8fc7printinfo ()\u00a0 \u51fd\u6570\u6765\u8c03\u6574\u4f60\u60f3\u663e\u793a\u5728\u7ec8\u7aef\u7684\u7cfb\u7edf\u4fe1\u606f\u3002\u4f60\u53ef\u4ee5\u589e\u52a0\uff0c\u4fee\u6539\uff0c\u5220\u9664\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528 bash \u4ee3\u7801\u53bb\u8c03\u6574\u4f60\u8981\u663e\u793a\u7684\u4fe1\u606f\u3002<\/p>\n

    \u4f60\u53ef\u4ee5\u5982\u4e0b\u56fe\u6240\u793a\u7528\u4f60\u559c\u6b22\u7684\u7f16\u8f91\u5668\u6253\u5f00\u8fd9\u4e2a\u914d\u7f6e\u6587\u4ef6\uff1a<\/p>\n

    $ vi ~\/.config\/neofetch\/config\r\n<\/pre>\n

    \u4ee5\u4e0b\u662f\u6211\u7cfb\u7edf\u914d\u7f6e\u7684\u7247\u6bb5 \uff0c\u663e\u793a\u4e86printinfo ()\u00a0\u51fd\u6570\u3002<\/p>\n

    Neofetch \u914d\u7f6e<\/strong><\/span><\/div>\n
    #!\/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# 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

    \u4e0b\u9762\u7684\u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6240\u6709\u4f60\u80fd\u5728 neofetch \u811a\u672c\u4e2d\u7528\u7684\u53c2\u6570\u548c\u914d\u7f6e\u503c\uff1a<\/p>\n

    $ neofetch --help\r\n<\/pre>\n

    \u8981\u542f\u7528\u6240\u6709\u7684\u529f\u80fd\u548c\u53c2\u6570\u6765\u8fd0\u884c\u7a0b\u5e8f\uff0c\u4f60\u53ef\u4ee5\u7528--test\u53c2\u6570\uff1a<\/p>\n

    $ neofetch --test\r\n<\/pre>\n

    \u8981\u518d\u6b21\u663e\u793a ASCII \u827a\u672f logo \uff0c\u4f60\u53ef\u4ee5\u7528 --ascii \u53c2\u6570 :<\/p>\n

    $ neofetch --ascii\r\n<\/pre>\n

    \u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5411\u4f60\u4ecb\u7ecd\u4e86\u4e00\u4e2a\u53ef\u4ee5\u9ad8\u5ea6\u5b9a\u5236\u7684\u3001\u7528\u6765\u6536\u96c6\u7cfb\u7edf\u4fe1\u606f\u5e76\u5c06\u5b83\u663e\u793a\u5728\u7ec8\u7aef\u4e0a\u7684\u547d\u4ee4\u884c\u811a\u672c\u3002<\/p>\n

    \u5982\u679c\u4f60\u6709\u4ec0\u4e48\u95ee\u9898\uff0c\u6216\u8005\u5bf9\u8fd9\u4e2a\u811a\u672c\u6709\u4ec0\u4e48\u60f3\u6cd5\uff0c\u8bf7\u5728\u4e0b\u9762\u7559\u8a00\u3002<\/p>\n

    \u6700\u540e\u4f46\u662f\u540c\u6837\u91cd\u8981\u7684\u662f\uff0c\u5982\u679c\u4f60\u77e5\u9053\u6709\u7c7b\u4f3c\u7684\u811a\u672c\uff0c\u8bf7\u6beb\u4e0d\u72b9\u8c6b\u5730\u544a\u8bc9\u6211\u4eec\uff0c\u611f\u8c22\u53cd\u9988\u3002<\/p>\n

    \u5728\u6b64\u8bbf\u95ee\u00a0neofetch Github \u4ed3\u5e93\u3002<\/p>\n

    \n

    \u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-8013-1.html<\/a><\/p>\n

    \u672c\u6587\u5730\u5740\uff1ahttp:\/\/lrxjmw.cn\/neofetch-logo-tool.html<\/a>\u7f16\u8f91\uff1a\u9ad8\u519b\uff0c\u5ba1\u6838\u5458\uff1a\u82cf\u897f\u4e91<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

    Neofetch \u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u7684\u6613\u4e8e\u4f7f\u7528\u7684 \u7cfb\u7edf\u4fe1\u606f\u663e\u793a\u547d\u4ee4\u884c\u811a\u672c\uff0c\u5b83\u6536\u96c6\u4f60\u7684\u7cfb\u7edf\u4fe1\u606f\uff0c\u5e76\u5728\u7ec8\u7aef\u4e2d\u548c\u56fe\u50cf\u4e00\u8d77\u663e\u793a\u51fa\u6765\uff0c\u8fd9\u4e2a\u56fe\u50cf\u53ef\u80fd\u662f\u4f60\u7684\u53d1\u884c\u7248\u7684 logo \u4e5f\u53ef\u80fd\u662f\u4f60\u9009\u62e9\u7684\u4e00\u5e45 ascii \u827a\u672f\u5b57\u3002<\/p>\n","protected":false},"author":63,"featured_media":42728,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-42715","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\/42715","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=42715"}],"version-history":[{"count":5,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/42715\/revisions"}],"predecessor-version":[{"id":266513,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/42715\/revisions\/266513"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/42728"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=42715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=42715"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=42715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}