文章目录
前言
想要实时显示网速,找到的可用方法。
一、安装运行Indicator-Sysmonitor
1.打开新终端,安装psutil
psutil是一个Python模块用来获取正在运行的进程信息和系统的CPU和内存的利用率
sudo apt-get install python3-psutil curl git gir1.2-appindicator3-0.1
2.git 源文件
git clone https://github.com/fossfreedom/indicator-sysmonitor.git
2.安装运行
cd indicator-sysmonitor
sudo make install
nohup indicator-sysmonitor &
二、配置Indicator-Sysmonitor
按照上述操作此时右上角工具栏已经有相关显示,我的配置如下:
1.设置开机自启动
点击显示的信息,进入preference
2.调整显示
三、卸载Indicator-Sysmonitor
cd indicator-sysmonitor
sudo make uninstall
参考
【1】https://www.icode9.com/content-3-842487.html