dde-istate-menus
dde-istate-menus copied to clipboard
a dde-dock plugin which aims to implement most features of Istat menus(macOS) for Deepin V20
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
- [x] popup widget
- [ ] dock widget
- [x] text
- [ ] chart
- [ ] Weather
- [ ] CPU
- [x] popup widget
- [ ] dock widget
- [x] chart
- [ ] text
- [ ] RAM
- [x] popup widget
- [ ] dock widget
- [x] chart
- [ ] text
- [ ] DISK
- [ ] Datetime
- [x] 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
- Sensors are based on
lm-sensors
andmsr
- make sure run
sensors-detect
and give the right permission withsetcap
- 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