GNOME 系统监视器 Applet:3 步快速在状态栏显示 CPU、内存与网速
【免费下载链接】gnome-shell-system-monitor-appletDisplay system informations in gnome shell status bar, such as memory usage, cpu usage, network rates…项目地址: https://gitcode.com/gh_mirrors/gn/gnome-shell-system-monitor-applet
gnome-shell-system-monitor-applet 是一款 GNOME Shell(Linux 桌面外壳)扩展,能把内存占用、CPU 负载、网络速率等实时数据以迷你图表或数字形式渲染在顶部状态栏。抬眼就能看到系统状态,无需切换窗口打开监控软件。
3 步完成安装
第一步,装依赖库。扩展依赖 libgtop 系统监控库与 NetworkManager 网络服务采集数据,Ubuntu/Debian 下运行:
sudo apt install gir1.2-gtop-2.0 gir1.2-nm-1.0 gnome-system-monitor第二步,拉取源码并部署。克隆代码后,构建并安装到用户扩展目录:
git clone https://gitcode.com/gh_mirrors/gn/gnome-shell-system-monitor-applet cd gnome-shell-system-monitor-applet && make install第三步,启用扩展。按 UUID 启用后重启 GNOME Shell:X11 下按 Alt+F2、输入 r 回车;Wayland 下注销并重新登录,小部件随即出现在顶部状态栏:
gnome-extensions enable system-monitor@paradoxxx.zero.gmail.com自定义显示项
在 GNOME Tweaks 工具中打开 System Monitor 的 Preferences,逐项微调:
- 显示开关:内存、CPU、网络默认开启;GPU、CPU 温度、风扇、磁盘 I/O、电池默认关闭,按需打开对应开关即可。
- 显示样式:每个监控项都支持数字、图表、数字+图表三种模式,图表宽度与刷新间隔也可单独调整。
- 显示位置:打开"中心显示",监控信息会从右上角移到时钟旁边,避免与系统图标拥挤。
常见问题
- 启用后状态栏空白:几乎都是依赖库缺失导致,先补跑第一步的安装命令,再重启 Shell。
- NVIDIA 显卡内存不显示:GPU 监控依赖 nvidia-smi 命令,未装 NVIDIA 驱动工具时该项只能保持空白。
- 锁屏后图表清零:开启"锁屏显示"选项,图形历史才不会在锁屏时被重置。
完整配置项见 GSettings 模式文件,各发行版安装细节见 README.md。启用后打开顶部状态栏,即可看到实时刷新的系统监控图表。
【免费下载链接】gnome-shell-system-monitor-appletDisplay system informations in gnome shell status bar, such as memory usage, cpu usage, network rates…项目地址: https://gitcode.com/gh_mirrors/gn/gnome-shell-system-monitor-applet
创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考