Linux——Ubuntu 18.04 安装screenFetch(显示系统/主题信息的命令行脚本)

基本概念

screenFetch:一个“命令行信息截图工具”。它可以在终端上显示系统信息,并进行桌面截图。它能生成漂亮的文本的系统信息和ASCII艺术的发行版LOGO,然后显示在截屏图片中。

它会自动检测你的发行版并显示其ASCII版本的LOGO,在其右侧显示系统信息。可以通过选项来指定是否显示LOGO、指定颜色,进行截图,甚至可以自定义截图的命令。screenFectch非常容易添加和扩展。

screenFetch将显示以下系统信息:

  • 当前登录用户
  • 操作系统版本
  • 内核版本
  • 总计运行时间
  • 已安装包数量
  • 当前shell详情
  • 当前屏幕分辨率
  • 当前桌面环境
  • 当前窗口管理器(文件管理器)
  • 总计及空闲磁盘使用百分比
  • CPU详情,如处理器速度、类型
  • 总计及当前内存使用量

安装步骤

1、更新软件库

sudo apt-get update 

 2、安装screenFetch

sudo apt-get install screenfetch
root@LAPTOP-7ASLMDHA:~# sudo apt-get install screenfetch
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libdumbnet1
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  giblib1 libid3tag0 libimlib2 scrot
The following NEW packages will be installed:
  giblib1 libid3tag0 libimlib2 screenfetch scrot
0 upgraded, 5 newly installed, 0 to remove and 31 not upgraded.
Need to get 289 kB of archives.
After this operation, 1057 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://mirrors.aliyun.com/ubuntu bionic/universe amd64 libid3tag0 amd64 0.15.1b-13 [31.2 kB]
Get:2 http://mirrors.aliyun.com/ubuntu bionic/universe amd64 libimlib2 amd64 1.4.10-1 [173 kB]
Get:3 http://mirrors.aliyun.com/ubuntu bionic/universe amd64 giblib1 amd64 1.2.4-11 [17.5 kB]
Get:4 http://mirrors.aliyun.com/ubuntu bionic/universe amd64 screenfetch all 3.8.0-8 [50.6 kB]
Get:5 http://mirrors.aliyun.com/ubuntu bionic/universe amd64 scrot amd64 0.8-18 [16.1 kB]
Fetched 289 kB in 1s (226 kB/s)
Selecting previously unselected package libid3tag0:amd64.
(Reading database ... 66389 files and directories currently installed.)
Preparing to unpack .../libid3tag0_0.15.1b-13_amd64.deb ...
Unpacking libid3tag0:amd64 (0.15.1b-13) ...
Selecting previously unselected package libimlib2:amd64.
Preparing to unpack .../libimlib2_1.4.10-1_amd64.deb ...
Unpacking libimlib2:amd64 (1.4.10-1) ...
Selecting previously unselected package giblib1:amd64.
Preparing to unpack .../giblib1_1.2.4-11_amd64.deb ...
Unpacking giblib1:amd64 (1.2.4-11) ...
Selecting previously unselected package screenfetch.
Preparing to unpack .../screenfetch_3.8.0-8_all.deb ...
Unpacking screenfetch (3.8.0-8) ...
Selecting previously unselected package scrot.
Preparing to unpack .../scrot_0.8-18_amd64.deb ...
Unpacking scrot (0.8-18) ...
Setting up libid3tag0:amd64 (0.15.1b-13) ...
Setting up screenfetch (3.8.0-8) ...
Setting up libimlib2:amd64 (1.4.10-1) ...
Setting up giblib1:amd64 (1.2.4-11) ...
Setting up scrot (0.8-18) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...

 3、使用screenFetch

screenFetch

参考文章

https://linux.cn/article-1947-1.html

https://blog.csdn.net/meng1404725/article/details/78494575

发布了1377 篇原创文章 · 获赞 241 · 访问量 34万+

猜你喜欢

转载自blog.csdn.net/weixin_43272781/article/details/104233163