Dde Istate Menus Save Abandoned

a dde-dock plugin which aims to implement most features of Istat menus(macOS) for Deepin V20

Project README

dde-istate-menus

IStat menus on macOS alternative for DDE.

This software has nothing to do with the Istat menu excepting adopting its UI design

The main part of the system monitoring code in utils comes from deepin-system-monitor

Still in development

  • Network
    • popup widget
    • dock widget
      • text
      • chart
  • Weather
  • CPU
    • popup widget
    • dock widget
      • chart
      • text
  • RAM
    • popup widget
    • dock widget
      • chart
      • text
  • DISK
  • Datetime
    • dock widget (main code comes from the original datetime plugin in dde-dock)
    • popup widget

Known issues

  • dock widgets' text are really small even the widget has enough space, or text is too large and only part is shown on the widget. I think it is related to the dde-dock issue

Screenshot

CPU

dock-chart:

popup widget:

RAM

dock-chart:

popup widget:

Network

Sensors

How to use

Deepin V20

sudo apt install libqt5charts5

Download the libdde_istate_menus.so and put it to ~/.local/lib/dde-dock/plugins or /usr/lib/dde-dock/plugins

Then:

sudo setcap cap_sys_rawio,cap_net_raw,cap_dac_read_search,cap_sys_ptrace+ep `which dde-dock`

logout out or reboot.

Arch

Thanks to @JunioCalu . It is on AUR now: https://aur.archlinux.org/packages/dde-istate-menus/

Other distributions

It needs to be built from source on your own.

git clone https://github.com/SeptemberHX/dde-istate-menus.git
cd dde-istate-menus
cd nethogs
make libnethogs
cd ..
mkdir build
cd build
cmake ..
make

For sensors ability

  1. Sensors are based on lm-sensors and msr
  2. make sure run sensors-detect and give the right permission with setcap
  3. make sure run modprobe msr

How to disable some sub-plugins ?

It supports enable/disable sub-plugins by configuration file. Just make a new file names ~/.config/dde-istate-menus/dde-istate-menus.conf with contents below:

[plugins]
cpu=true
datetime=true
sensors=true
ram=true
network=true
disk=true

Disable any sub-plugins by changing true to false, then restart dde-dock or dde-top-panel

Open Source Agenda is not affiliated with "Dde Istate Menus" Project. README Source: SeptemberHX/dde-istate-menus
Stars
39
Open Issues
6
Last Commit
2 years ago
License

Open Source Agenda Badge

Open Source Agenda Rating