v2: AppIndicator GNOME systray, .desktop dans /etc/xdg/autostart, icône système

This commit is contained in:
2026-05-09 23:25:33 +02:00
parent 7c8f76106c
commit a2630c8cd5
5 changed files with 212 additions and 149 deletions

15
debian/control vendored
View File

@@ -1,13 +1,14 @@
Source: cpu-monitor
Section: python
Section: utils
Priority: optional
Maintainer: tmzf5455 <tmzf5455>
Maintainer: tmzf5455
Build-Depends: debhelper-compat (= 13)
Standards-Version: 4.1.4
Standards-Version: 4.6.0
Rules-Requires-Root: no
Package: cpu-monitor
Maintainer: tmzf5455 <tmzf5455>
Architecture: all
Depends: python3, python3-psutil, python3-matplotlib, python3-tk, x11-utils, ${misc:Depends}
Description: CPU Monitor GUI
A Python GUI application for monitoring CPU usage in real-time.
Depends: python3, python3-psutil, python3-matplotlib, python3-tk, gir1.2-ayatana-appindicator3-0.1, ${misc:Depends}
Description: CPU/RAM/Disk/Network monitor GUI
A system monitor tool with real-time matplotlib charts
and a tkinter GUI, showing CPU, RAM, disk and network usage.

5
debian/rules vendored
View File

@@ -1,8 +1,7 @@
#!/usr/bin/make -f
%:
dh $@
override_dh_auto_install:
install -D -m 0755 cpu_monitor_gui.py $(CURDIR)/debian/cpu-monitor/usr/bin/cpu-monitor
install -D -m 0644 cpu_monitor_gui.desktop $(CURDIR)/debian/cpu-monitor/usr/share/applications/cpu-monitor.desktop
install -D -m 0644 cpu_monitor_gui.desktop $(CURDIR)/debian/cpu-monitor/etc/xdg/autostart/cpu-monitor.desktop
install -D -m 0644 cpu-monitor.png $(CURDIR)/debian/cpu-monitor/usr/share/icons/hicolor/48x48/apps/cpu-monitor.png