仅支持 GNOME 45 及以上,旧版 GNOME 需使用 legacy 分支;手动安装后需注销重新登录或重启系统才能启用;网络监控依赖 NetworkManager,未安装时网络部分不可用。
tophat
fflewddurGPL-3.0更新放缓在 GNOME 顶栏直接显示 CPU、内存、磁盘和网络活动的小扩展,不用另开监控窗口就能随时看系统资源占用。
View CPU, memory, disk, and network activity in the GNOME top bar.
mkdir -p ~/.local/share/gnome-shell/extensions/[email protected]
unzip [path-to-tophat.zip] -d ~/.local/share/gnome-shell/extensions/[email protected]
gnome-extensions enable [email protected]README 未说明。需 GNOME 45 或更新版本、Linux 内核 5.0 及以上,并安装 NetworkManager 以监控网络设备。
GNOME 桌面顶栏系统资源监视器,实时显示 CPU、内存、磁盘和网络活动
在 GNOME 顶栏直接显示 CPU、内存、磁盘和网络活动的小扩展,不用另开监控窗口就能随时看系统资源占用。
核心能力
- 在 GNOME 顶栏直接显示 CPU、内存、磁盘和网络活动
- 通过图形化偏好设置窗口调整所有监控选项
- 支持用 gsettings 命令行读取和修改配置
- 提供手动安装方式,可解压 ZIP 到扩展目录启用
容易踩的坑
- v24TopHat v24最新正式版2026-04-12 · 2026-04-12 04:45 UTC
This release adds support for GNOME 50.
- v23TopHat v232025-10-19 · 2025-10-19 05:44 UTC
查看更新说明
This release adds support for GNOME 49.
- v22TopHat v222025-06-24 · 2025-06-24 00:23 UTC
查看更新说明
- Added option to display memory usage in GB
- Fixed temperature sensor detection on older Intel Core CPUs
- Fixed disk monitor problem with sshfs mounts
- Fixed scaling problems with history charts
- Fixed potential CSS namespace clashes
- Fixed console log flooded by NaN-related errors
- Added German translation (from theinfamousben)
- v21TopHat v212025-02-24 · 2025-02-24 16:30 UTC
查看更新说明
- Added support for GNOME 48
- Added a tooltip to display long command names
- Added option to group top processes by command
- Added option to disable sorting CPU meter by usage (from SoMuchForSubtlety)
- Improved process identification
- Fixed CPU usage calculation for nice'd processes
- Fixed center-aligned labels in the top bar
- v20TopHat v202025-01-29 · 2025-01-29 05:59 UTC
查看更新说明
This release cleans up TopHat's UI, adds support for a popular AMD temperature monitor, and resolves the last known issue stemming from the great JavaScript => TypeScript rewrite of 2024.
- Added capacity visualizations to the memory and disk monitor menus
- Added a load visualization to the CPU monitor menu
- Added support for zenpower temperature sensors
- Improved legibility when using light themes
- Improved performance while TopHat is in the background
- Fixed a file description leak when reading disk usage
- Adjusted visual appearance
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
TopHat
TopHat aims to be an elegant system resource monitor for the GNOME shell. It displays CPU, memory, disk, and network activity in the GNOME top bar.
Release notes
See RELEASES.md for the list of fixes and new functionality included in each release.
Installation
Install TopHat from the GNOME Shell extensions page.
Requirements
- GNOME 45 or newer (older releases of TopHat are available for GNOME 3.32 - 44 in the legacy branch at https://github.com/fflewddur/tophat/tree/legacy)
- A modestly recent release of the Linux kernel (anything >= 5.0 should work)
- NetworkManager (to monitor network devices)
Compatibility
The latest release of TopHat has been tested on the following systems:
- Arch Linux
- Debian Trixie
- Fedora 42
- Red Hat Enterprise Linux 10
- Ubuntu 24.04 LTS
- Ubuntu 25.04
Even if your system is not in this list, as long as it meets the requirements mentioned above, you should be able to run TopHat. If not, please file a bug report on the issue tracker.
Manual installation
If you prefer not to use https://extensions.gnome.org to install and update
GNOME Shell extensions, you can manually install TopHat by following these
steps. You may need to install the unzip and gnome-extensions-app
utilities first.
- Download the latest TopHat release from https://github.com/fflewddur/tophat/releases.
- Ensure your local extension directory exists by running the command
mkdir -p ~/.local/share/gnome-shell/extensions/[email protected]. - Extract the TopHat ZIP file into your local extension directory with the
command
unzip [path-to-tophat.zip] -d ~/.local/share/gnome-shell/extensions/[email protected] - Log out of your computer and log back in (or restart your system).
- Enable TopHat with the command
gnome-extensions enable [email protected].
Settings
All of TopHat's settings are displayed in its preferences window, and this is the recommended approach for modifying them. If, however, you need to work with these from the command like, you can use the gsettings tools to read and modify them. To view all available settings and their current values, use the command:
gsettings --schemadir ~/.local/share/gnome-shell/extensions/[email protected]/schemas list-recursively org.gnome.shell.extensions.tophat
Settings can be adjusted with the command:
gsettings --schemadir ~/.local/share/gnome-shell/extensions/[email protected]/schemas set org.gnome.shell.extensions.tophat [key] [value]
Contributing
Contributions to improve TopHat are welcome! To avoid duplicate work, check the issue tracker first. If an issue doesn't already exist for your idea, please create one.
TopHat uses Yarn to manage dependencies and define development tasks. Learn how to install Yarn at https://yarnpkg.com/getting-started/install.
yarn: Install project dependencies.
yarn build: Build the project.
yarn lint: Check for common problems.
yarn lint:fix: Fix common problems found by ESLint.
yarn format: Run Prettier to keep the project's coding style consistent.
To keep the code format consistent, please use run yarn lint && yarn format
before submitting a PR. If you use VS Code, consider installing the
ESLint and Prettier extensions to automatically run these tools for you.
Useful development commands
To view logs for GNOME Shell:
journalctl -f /usr/bin/gnome-shell
To view logs for extension preferences:
journalctl -f /usr/bin/gjs
To simulate heavy system load, use the stress-ng tool, e.g.:
stress-ng --timeout 10s --cpu 8
stress-ng --vm-bytes 80% --vm-populate -t 30 -vm 4
To test the development version:
cd [path to tophat repo]
yarn build
mkdir -p ~/.local/share/gnome-shell/extensions/
ln -s [path to tophat repo]/dist ~/.local/share/gnome-shell/extensions/[email protected]
License
TopHat is distributed under the terms of the GNU General Public License, version 3 or later. See the license file for details.
Credits
TopHat was designed and written by Todd Kulesza, with much inspiration from the GNOME system-monitor extension and iStat Menus.
Icons
The images in the 'icons' directory are derived works from thenounproject.com and used under the Creative Commons Attribution license. The authors of each original work are:
icons/cpu.svg: jai
icons/disk.svg: guntur cahya
icons/logo.svg: Sergey Krivoy
icons/mem.svg: Loudoun Design
Co.
icons/net.svg: Pixel Bazaar
All icons were edited to make them more legible at small sizes.