- Linux with a 4.20 or newer kernel (older kernels work; PSI pressure metrics need 4.20+)
- Python 3.11 or newer (developed and tested on 3.14)
- A Qt-capable desktop session (X11 or Wayland)
git clone https://github.com/Dhellss/linux-system-observatory.git
cd linux-system-observatory
python -m venv --system-site-packages .venv
.venv/bin/pip install -r requirements.txt
.venv/bin/python run.pyTo add it to your application menu (and silence the portal warning described under Troubleshooting):
.venv/bin/python tools/install_desktop_entry.py--system-site-packages lets the virtual environment reuse a distribution's
PySide6 build, which is usually better integrated with the desktop than the
wheel from PyPI. Omit it for a fully isolated environment.
pip install .
observatoryThis provides the observatory command. Add the desktop entry so it appears in
your application menu:
install -Dm644 packaging/observatory.desktop \
~/.local/share/applications/observatory.desktop
update-desktop-database ~/.local/share/applicationsInstalling PySide6 from your distribution rather than PyPI is recommended.
Arch Linux
sudo pacman -S --needed pyside6 python-psutil python-pyqtgraph python-coloramaTwo Arch-specific notes:
- The PySide6 package is named
pyside6, notpython-pyside6as on most other distributions. python-coloramais required even thoughpython-pyqtgraphdoes not declare it.pyqtgraph.util.cprintimportscoloramaunconditionally at module scope although it only uses it on Windows, so importing pyqtgraph fails without it. The application detects this at start-up and tells you what to install rather than failing with a traceback.
Debian / Ubuntu
sudo apt install python3-pyside6.qtwidgets python3-psutil python3-pyqtgraphFedora
sudo dnf install python3-pyside6 python3-psutil python3-pyqtgraphopenSUSE
sudo zypper install python3-pyside6 python3-psutil python3-pyqtgraphEach unlocks additional metrics. All are optional — the application probes for them at start-up and explains in the Diagnostics page what is missing and what installing it would enable.
| Package | Provides |
|---|---|
smartmontools |
Drive health, endurance, SMART attributes |
lm_sensors |
Motherboard voltages and fan speeds (run sensors-detect once) |
iw |
Wi-Fi SSID, channel and link rate |
pciutils |
PCI device names |
usbutils |
USB device enumeration |
mesa-utils (or mesa-demos) |
OpenGL renderer information |
vulkan-tools |
Vulkan device enumeration |
polkit |
Privileged systemd unit actions |
libnotify |
Desktop notifications |
SMART attributes require raw device access, so an unprivileged session shows "Insufficient permissions" on the Storage page. Drive temperature still works without privileges, because it is read from hwmon.
Rather than running the whole application as root, grant smartctl alone:
sudo tee /etc/sudoers.d/observatory-smart >/dev/null <<'SUDO'
%wheel ALL=(root) NOPASSWD: /usr/bin/smartctl
SUDO
sudo chmod 0440 /etc/sudoers.d/observatory-smartReplace %wheel with your administrative group (sudo on Debian/Ubuntu).
Everything follows the XDG Base Directory specification:
| Purpose | Location |
|---|---|
| Settings, dashboard layout, alert rules | $XDG_CONFIG_HOME/linux-system-observatory/settings.json |
| Metrics history database | $XDG_DATA_HOME/linux-system-observatory/history.db |
| Log file | $XDG_STATE_HOME/linux-system-observatory/logs/observatory.log |
To remove every trace:
rm -rf ~/.config/linux-system-observatory \
~/.local/share/linux-system-observatory \
~/.local/state/linux-system-observatoryThe window does not appear on Wayland. Force the X11 backend:
QT_QPA_PLATFORM=xcb observatory
Fonts look wrong. The interface prefers Inter and JetBrains Mono, falling
back to DejaVu. Installing ttf-jetbrains-mono and inter-font improves the
appearance but is not required.
High CPU use. Open Diagnostics to see the per-collector breakdown, then
raise the interval of the expensive one in Settings. The processes and
services collectors dominate on most systems.
Failed to register with host portal / App info not found for 'observatory'.
Harmless. The application tells Qt its desktop file is observatory.desktop;
if no such entry is installed, portal registration fails. It only affects
integrations such as the native file chooser. Install the entry to stop it:
python tools/install_desktop_entry.py
pyqtgraph is installed but cannot be imported: it needs 'colorama'.
Install it: sudo pacman -S python-colorama on Arch, or pip install colorama anywhere. See the Arch note under "Distribution dependencies".
No GPU data. Diagnostics reports which driver interface is missing. A
common cause is an Intel adapter bound to simple-framebuffer because i915
did not load.