[Others] 【插件】dde-istate-menus CPU、网络等插件集合【2022/03/11】
Tofloor
poster avatar
septemberhx
deepin
2020-06-12 01:23
Author

之前用过一段时间macOS,上面的 Istat Menus 我很喜欢,所以我打算在 deepin v20 上复刻一个。
提示不兼容的,请使用下面的命令执行并贴出输出

ldd ~/.local/lib/dde-dock/plugins/libdde-istate-menjs.so # 换成你的路径

================ 更新 (2022-03-11 ) ==================

问题修复:该插件导致 WIFI 及 电源 图标消失问题

======================================================


注意1:虽然这个插件能在 dock 上使用,但是由于某些问题,会出现显示不全的问题,我个人怀疑是因为:https://github.com/linuxdeepin/dde-dock/issues/271这不是Bug,最起码不是改插件的 Bug。同时也没有对左右侧进行调整,所以也会显示不全或者过小。建议搭配顶栏食用:https://bbs.deepin.org/post/195128

地址:https://github.com/SeptemberHX/dde-istate-menus

使用:下载 release,解压,把 *.so 文件复制到插件目录即可(我个人觉得装系统会影响其他用户,所以还是放在家目录最合适,那就不适合打包了)依赖:

sudo apt install libqt5charts5

注意:由于涉及到一些/proc 下一些文件的读取,需要给 dde-dock 或者 dde-top-panel 一些权限(自行替换最后的执行文件路径):

sudo setcap cap_sys_rawio,cap_net_raw,cap_dac_read_search,cap_sys_ptrace+ep /usr/bin/dde-dock

通过手动创建文件来禁用部分插件:~/.config/dde-istate-menus/dde-istate-menus.conf

文件内容如下:

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

将 true 改为 false 即可禁用对应插件

dde-top-panel 插件目录:~/.local/lib/dde-top-panel/plugins
dock 插件目录:~/.local/lib/dde-dock/plugins
没有这些目录自行创建即可。

 





---------------------------------------
-----------

================ 0.4.3 更新 (2021-07-28 ) ==================

1. 黑白主题自动跟随系统设置

 

2. 其他 UI 调整

================ 0.4.2 更新 (2021-07-10 ) ==================

1. 修复由于插件机制更新导致无法启动的问题

2. 默认字体更换为 jetbrain mono 等宽字体;其他 UI 调整

 

2020-06-25【0.3.0】

  • 温度+功耗
  • UI 调整
  • 需要安装新依赖:libsensors5
  • 确保执行过 sensors-detect,且 sensors 有输出。
  • 需要重新设置权限:sudo setcap cap_sys_rawio,cap_net_raw,cap_dac_read_search,cap_sys_ptrace+ep ./frame/dde-top-panel
  • 功耗只支持部分 Intel CPU,由于Linux上没有获取功耗的统一接口,导致该部分功能直接和硬件挂钩,很容易不兼容然后导致 top-panel 闪退。如有问题,请暂时使用 0.2 版本


2020-06-15【0.2.0】

  • RAM:竖进度条 + 弹出窗口
  • UI 调整
  • 其他修复








2020-06-11【0.1.0】

  • CPU:折线图 + 弹出窗口
  • 网络:文字 + 弹出窗口


截图:










Reply Favorite View the author
All Replies
4 / 6
To page
septemberhx
deepin
2021-02-07 05:04
#61

0.4.0已更新

Reply View the author
houyawei
deepin
2021-02-26 21:21
#62

大佬问你个问题,这种任务栏插件开发能像DTK开发那样直接使用qmake开发吗?这种Cmakelist不会用

Reply View the author
septemberhx
deepin
2021-02-27 04:17
#63
houyawei

大佬问你个问题,这种任务栏插件开发能像DTK开发那样直接使用qmake开发吗?这种Cmakelist不会用

能吧,大部分 cmakefile 都能转成 qt 的pro格式。你可以看看这个 sonichy/CMDU_DDE_DOCK: Deepin Linux net speed dock plugin (github.com) 

Reply View the author
houyawei
deepin
2021-02-27 22:00
#64
septemberhx

能吧,大部分 cmakefile 都能转成 qt 的pro格式。你可以看看这个 sonichy/CMDU_DDE_DOCK: Deepin Linux net speed dock plugin (github.com) 

好的,非常感谢

Reply View the author
ddstar
deepin
2021-05-07 18:58
#65

大佬我装了这个cpu的插件,但是没有识别出来,这该怎么解决

Reply View the author
septemberhx
deepin
2021-05-08 18:10
#66
ddstar

大佬我装了这个cpu的插件,但是没有识别出来,这该怎么解决

ldd  插件路径

执行一下上面的命令,看看有没有 XXX not found 的出现

或者命令行执行 dde-top-panel,看看有没有错误输出

目前有人报过缺少 libdtkwm2 的问题,试试 sudo apt install libdtkwm2 装好再试试

Reply View the author
rabbitwq
deepin
2021-05-11 00:25
#67
septemberhx

ldd  插件路径

执行一下上面的命令,看看有没有 XXX not found 的出现

或者命令行执行 dde-top-panel,看看有没有错误输出

目前有人报过缺少 libdtkwm2 的问题,试试 sudo apt install libdtkwm2 装好再试试

这是正解,我就是补充安装了这个才显示的。

Reply View the author
rabbitwq
deepin
2021-05-11 00:36
#68

请教一下,我按照教程做了dde-istate-menus.conf的配置文件。有几个小问题请教一下:

1、关于时间设置和温度设置的参数相关联。当时间设置为false的时候,即使温度设置为true,显示的时候仍然是没有时间和温度。

2、即使两个都设置为true,重启之后,仍然是只显示cpu、mem、net三项,将该插件取消再选择,则时间和温度就会同步显示出来。至今没有测试出来只显示温度不现实时间的状态。

Reply View the author
septemberhx
deepin
2021-05-11 03:39
#69
rabbitwq

请教一下,我按照教程做了dde-istate-menus.conf的配置文件。有几个小问题请教一下:

1、关于时间设置和温度设置的参数相关联。当时间设置为false的时候,即使温度设置为true,显示的时候仍然是没有时间和温度。

2、即使两个都设置为true,重启之后,仍然是只显示cpu、mem、net三项,将该插件取消再选择,则时间和温度就会同步显示出来。至今没有测试出来只显示温度不现实时间的状态。

已更新,是配置处理逻辑有问题。见 github

Reply View the author
ice911
deepin
2021-07-10 07:52
#70

大佬,使用这个插件之后,dde-top-panel 不能正常启动了,看看是什么问题

终端启动dde-top-panel最后报错

Found Unsupported model 140
 Processor type
        0 (0), 1 (0), 2 (0), 3 (0), 4 (0), 5 (0), 6 (0), 7 (0)

        Detected 8 cores in 1 packages

        Unsupported CPU model -1
段错误

ldd 输出

linux-vdso.so.1 (0x00007ffc0a1e8000)
        libdtkwidget.so.5 => /lib/x86_64-linux-gnu/libdtkwidget.so.5 (0x00007f75f7163000)
        libdtkcore.so.5 => /lib/x86_64-linux-gnu/libdtkcore.so.5 (0x00007f75f7074000)
        libdtkgui.so.5 => /lib/x86_64-linux-gnu/libdtkgui.so.5 (0x00007f75f6ff2000)
        libpcap.so.0.8 => /lib/x86_64-linux-gnu/libpcap.so.0.8 (0x00007f75f6fae000)
        libprocps.so.7 => /lib/x86_64-linux-gnu/libprocps.so.7 (0x00007f75f6f85000)
        libsensors.so.5 => /lib/x86_64-linux-gnu/libsensors.so.5 (0x00007f75f6f72000)
        libQt5DBus.so.5 => /lib/x86_64-linux-gnu/libQt5DBus.so.5 (0x00007f75f6eda000)
        libdtkwm.so.2 => /lib/x86_64-linux-gnu/libdtkwm.so.2 (0x00007f75f6ecc000)
        libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f75f6ea2000)
        libQt5Charts.so.5 => /lib/x86_64-linux-gnu/libQt5Charts.so.5 (0x00007f75f6ce5000)
        libQt5Widgets.so.5 => /lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f75f666e000)
        libQt5Gui.so.5 => /lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f75f5fce000)
        libQt5Core.so.5 => /lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f75f5a4b000)
        libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f75f58c7000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f75f5744000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f75f572a000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f75f5569000)
        libgsettings-qt.so.1 => /lib/x86_64-linux-gnu/libgsettings-qt.so.1 (0x00007f75f5559000)
        libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007f75f5544000)
        libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f75f5403000)
        libXi.so.6 => /lib/x86_64-linux-gnu/libXi.so.6 (0x00007f75f53f1000)
        libxcb-util.so.0 => /lib/x86_64-linux-gnu/libxcb-util.so.0 (0x00007f75f53e7000)
        libstartup-notification-1.so.0 => /lib/x86_64-linux-gnu/libstartup-notification-1.so.0 (0x00007f75f53db000)
        libQt5PrintSupport.so.5 => /lib/x86_64-linux-gnu/libQt5PrintSupport.so.5 (0x00007f75f5363000)
        libQt5X11Extras.so.5 => /lib/x86_64-linux-gnu/libQt5X11Extras.so.5 (0x00007f75f535c000)
        libQt5Xml.so.5 => /lib/x86_64-linux-gnu/libQt5Xml.so.5 (0x00007f75f5319000)
        libQt5Network.so.5 => /lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f75f515b000)
        libQt5Concurrent.so.5 => /lib/x86_64-linux-gnu/libQt5Concurrent.so.5 (0x00007f75f5152000)
        libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007f75f50cb000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f75f50a8000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f75f75dc000)
        libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f75f5007000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f75f5002000)
        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f75f4faf000)
        libdtkcore.so.2 => /lib/x86_64-linux-gnu/libdtkcore.so.2 (0x00007f75f4ee3000)
        libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f75f4edc000)
        libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f75f4ed4000)
        libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f75f4e9b000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f75f4e7e000)
        libharfbuzz.so.0 => /lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f75f4d7b000)
        libdouble-conversion.so.1 => /lib/x86_64-linux-gnu/libdouble-conversion.so.1 (0x00007f75f4d62000)
        libicui18n.so.63 => /lib/x86_64-linux-gnu/libicui18n.so.63 (0x00007f75f4a94000)
        libicuuc.so.63 => /lib/x86_64-linux-gnu/libicuuc.so.63 (0x00007f75f48c9000)
        libpcre2-16.so.0 => /lib/x86_64-linux-gnu/libpcre2-16.so.0 (0x00007f75f484e000)
        libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f75f47af000)
        libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f75f4690000)
        libgio-2.0.so.0 => /lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f75f44d0000)
        libgobject-2.0.so.0 => /lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f75f447b000)
        libX11-xcb.so.1 => /lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f75f4476000)
        libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f75f4429000)
        libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f75f4371000)
        libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f75f433c000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f75f4332000)
        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f75f430a000)
        liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f75f42eb000)
        libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f75f41cd000)
        libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f75f41b1000)
        libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f75f40f5000)
        libgraphite2.so.3 => /lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f75f40c8000)
        libicudata.so.63 => /lib/x86_64-linux-gnu/libicudata.so.63 (0x00007f75f26d8000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f75f2664000)
        libgmodule-2.0.so.0 => /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f75f265c000)
        libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007f75f25fd000)
        libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f75f25d2000)
        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f75f25b8000)
        libffi.so.6 => /lib/x86_64-linux-gnu/libffi.so.6 (0x00007f75f25ae000)
        libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f75f24ce000)
        libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f75f2498000)
        libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f75f2492000)
        libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f75f2483000)
        libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f75f247c000)
        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f75f2459000)
        libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f75f2402000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f75f23f9000)
Reply View the author
septemberhx
deepin
2021-07-10 17:24
#71
ice911

大佬,使用这个插件之后,dde-top-panel 不能正常启动了,看看是什么问题

终端启动dde-top-panel最后报错

Found Unsupported model 140
 Processor type
        0 (0), 1 (0), 2 (0), 3 (0), 4 (0), 5 (0), 6 (0), 7 (0)

        Detected 8 cores in 1 packages

        Unsupported CPU model -1
段错误

ldd 输出

linux-vdso.so.1 (0x00007ffc0a1e8000)
        libdtkwidget.so.5 => /lib/x86_64-linux-gnu/libdtkwidget.so.5 (0x00007f75f7163000)
        libdtkcore.so.5 => /lib/x86_64-linux-gnu/libdtkcore.so.5 (0x00007f75f7074000)
        libdtkgui.so.5 => /lib/x86_64-linux-gnu/libdtkgui.so.5 (0x00007f75f6ff2000)
        libpcap.so.0.8 => /lib/x86_64-linux-gnu/libpcap.so.0.8 (0x00007f75f6fae000)
        libprocps.so.7 => /lib/x86_64-linux-gnu/libprocps.so.7 (0x00007f75f6f85000)
        libsensors.so.5 => /lib/x86_64-linux-gnu/libsensors.so.5 (0x00007f75f6f72000)
        libQt5DBus.so.5 => /lib/x86_64-linux-gnu/libQt5DBus.so.5 (0x00007f75f6eda000)
        libdtkwm.so.2 => /lib/x86_64-linux-gnu/libdtkwm.so.2 (0x00007f75f6ecc000)
        libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f75f6ea2000)
        libQt5Charts.so.5 => /lib/x86_64-linux-gnu/libQt5Charts.so.5 (0x00007f75f6ce5000)
        libQt5Widgets.so.5 => /lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f75f666e000)
        libQt5Gui.so.5 => /lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f75f5fce000)
        libQt5Core.so.5 => /lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f75f5a4b000)
        libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f75f58c7000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f75f5744000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f75f572a000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f75f5569000)
        libgsettings-qt.so.1 => /lib/x86_64-linux-gnu/libgsettings-qt.so.1 (0x00007f75f5559000)
        libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007f75f5544000)
        libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f75f5403000)
        libXi.so.6 => /lib/x86_64-linux-gnu/libXi.so.6 (0x00007f75f53f1000)
        libxcb-util.so.0 => /lib/x86_64-linux-gnu/libxcb-util.so.0 (0x00007f75f53e7000)
        libstartup-notification-1.so.0 => /lib/x86_64-linux-gnu/libstartup-notification-1.so.0 (0x00007f75f53db000)
        libQt5PrintSupport.so.5 => /lib/x86_64-linux-gnu/libQt5PrintSupport.so.5 (0x00007f75f5363000)
        libQt5X11Extras.so.5 => /lib/x86_64-linux-gnu/libQt5X11Extras.so.5 (0x00007f75f535c000)
        libQt5Xml.so.5 => /lib/x86_64-linux-gnu/libQt5Xml.so.5 (0x00007f75f5319000)
        libQt5Network.so.5 => /lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f75f515b000)
        libQt5Concurrent.so.5 => /lib/x86_64-linux-gnu/libQt5Concurrent.so.5 (0x00007f75f5152000)
        libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007f75f50cb000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f75f50a8000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f75f75dc000)
        libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f75f5007000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f75f5002000)
        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f75f4faf000)
        libdtkcore.so.2 => /lib/x86_64-linux-gnu/libdtkcore.so.2 (0x00007f75f4ee3000)
        libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f75f4edc000)
        libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f75f4ed4000)
        libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f75f4e9b000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f75f4e7e000)
        libharfbuzz.so.0 => /lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f75f4d7b000)
        libdouble-conversion.so.1 => /lib/x86_64-linux-gnu/libdouble-conversion.so.1 (0x00007f75f4d62000)
        libicui18n.so.63 => /lib/x86_64-linux-gnu/libicui18n.so.63 (0x00007f75f4a94000)
        libicuuc.so.63 => /lib/x86_64-linux-gnu/libicuuc.so.63 (0x00007f75f48c9000)
        libpcre2-16.so.0 => /lib/x86_64-linux-gnu/libpcre2-16.so.0 (0x00007f75f484e000)
        libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f75f47af000)
        libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f75f4690000)
        libgio-2.0.so.0 => /lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f75f44d0000)
        libgobject-2.0.so.0 => /lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f75f447b000)
        libX11-xcb.so.1 => /lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f75f4476000)
        libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f75f4429000)
        libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f75f4371000)
        libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f75f433c000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f75f4332000)
        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f75f430a000)
        liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f75f42eb000)
        libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f75f41cd000)
        libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f75f41b1000)
        libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f75f40f5000)
        libgraphite2.so.3 => /lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f75f40c8000)
        libicudata.so.63 => /lib/x86_64-linux-gnu/libicudata.so.63 (0x00007f75f26d8000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f75f2664000)
        libgmodule-2.0.so.0 => /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f75f265c000)
        libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007f75f25fd000)
        libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f75f25d2000)
        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f75f25b8000)
        libffi.so.6 => /lib/x86_64-linux-gnu/libffi.so.6 (0x00007f75f25ae000)
        libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f75f24ce000)
        libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f75f2498000)
        libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f75f2492000)
        libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f75f2483000)
        libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f75f247c000)
        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f75f2459000)
        libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f75f2402000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f75f23f9000)

重新发布了一个版本,应该修复了这个问题。之前的版本因为插件机制改了没法用一个插件放多个插件窗口了,现在只能固定顺序不能分开了。

你的 CPU 型号是什么?输出的是无法识别CPU型号,这样的话没法读取功耗。

Reply View the author
ice911
deepin
2021-07-11 01:35
#72
septemberhx

重新发布了一个版本,应该修复了这个问题。之前的版本因为插件机制改了没法用一个插件放多个插件窗口了,现在只能固定顺序不能分开了。

你的 CPU 型号是什么?输出的是无法识别CPU型号,这样的话没法读取功耗。

大佬,新版本可以正常使用了,CPU是I5 11300H,  确实读取不到功耗,s-tui也是看不到的,不纠结这个;

新版 istate_menu.so 貌似跟 lidded_pstate.so 不共存,两个单独使用都没问题,同时使用的话,dde-top-bar 很大概率就会报错(有时能正常启动,不知道原因),启动失败时,终端只有一个“段错误”

 

Reply View the author
septemberhx
deepin
2021-07-11 02:33
#73
ice911

大佬,新版本可以正常使用了,CPU是I5 11300H,  确实读取不到功耗,s-tui也是看不到的,不纠结这个;

新版 istate_menu.so 貌似跟 lidded_pstate.so 不共存,两个单独使用都没问题,同时使用的话,dde-top-bar 很大概率就会报错(有时能正常启动,不知道原因),启动失败时,终端只有一个“段错误”

 

那个插件太久没重编译了,兼容性有问题。我在 github 上又发布了一个新版本,我这边共存没问题,你可以试试

Reply View the author
septemberhx
deepin
2021-07-29 05:42
#74

0.4.3 已更新

Reply View the author
rabbitwq
deepin
2021-08-15 02:38
#75

我的新版本的替换旧版本后,顶栏闪退。

        linux-vdso.so.1 (0x00007ffebbbb8000)

        libdtkwidget.so.5 => /lib/x86_64-linux-gnu/libdtkwidget.so.5 (0x00007f2607c03000)

        libdtkcore.so.5 => /lib/x86_64-linux-gnu/libdtkcore.so.5 (0x00007f2607b14000)

        libdtkgui.so.5 => /lib/x86_64-linux-gnu/libdtkgui.so.5 (0x00007f2607a92000)

        libpcap.so.0.8 => /lib/x86_64-linux-gnu/libpcap.so.0.8 (0x00007f2607a4e000)

        libprocps.so.7 => /lib/x86_64-linux-gnu/libprocps.so.7 (0x00007f2607a25000)

        libsensors.so.5 => /lib/x86_64-linux-gnu/libsensors.so.5 (0x00007f2607a14000)

        libQt5DBus.so.5 => /lib/x86_64-linux-gnu/libQt5DBus.so.5 (0x00007f260797a000)

        libdtkwm.so.2 => /lib/x86_64-linux-gnu/libdtkwm.so.2 (0x00007f260796c000)

        libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f2607942000)

        libQt5Charts.so.5 => /lib/x86_64-linux-gnu/libQt5Charts.so.5 (0x00007f2607785000)

        libQt5Widgets.so.5 => /lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f260710e000)

        libQt5Gui.so.5 => /lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f2606a70000)

        libQt5Core.so.5 => /lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f26064eb000)

        libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f2606367000)

        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f26061e4000)

        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f26061ca000)

        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2606009000)

        libgsettings-qt.so.1 => /lib/x86_64-linux-gnu/libgsettings-qt.so.1 (0x00007f2605ffb000)

        libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007f2605fe4000)

        libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f2605ea3000)

        libXi.so.6 => /lib/x86_64-linux-gnu/libXi.so.6 (0x00007f2605e91000)

        libxcb-util.so.0 => /lib/x86_64-linux-gnu/libxcb-util.so.0 (0x00007f2605e87000)

        libstartup-notification-1.so.0 => /lib/x86_64-linux-gnu/libstartup-notification-1.so.0 (0x00007f2605e7b000)

        libQt5PrintSupport.so.5 => /lib/x86_64-linux-gnu/libQt5PrintSupport.so.5 (0x00007f2605e05000)

        libQt5X11Extras.so.5 => /lib/x86_64-linux-gnu/libQt5X11Extras.so.5 (0x00007f2605dfc000)

        libQt5Xml.so.5 => /lib/x86_64-linux-gnu/libQt5Xml.so.5 (0x00007f2605db9000)

        libQt5Network.so.5 => /lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f2605bfb000)

        libQt5Concurrent.so.5 => /lib/x86_64-linux-gnu/libQt5Concurrent.so.5 (0x00007f2605bf2000)

        libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007f2605b6b000)

        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f2605b4a000)

        /lib64/ld-linux-x86-64.so.2 (0x00007f26080cd000)

        libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f2605aa7000)

        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f2605aa2000)

        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f2605a4f000)

        libdtkcore.so.2 => /lib/x86_64-linux-gnu/libdtkcore.so.2 (0x00007f2605983000)

        libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f260597e000)

        libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f2605974000)

        libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f260593b000)

        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f260591e000)

        libharfbuzz.so.0 => /lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f260581b000)

        libdouble-conversion.so.1 => /lib/x86_64-linux-gnu/libdouble-conversion.so.1 (0x00007f2605804000)

        libicui18n.so.63 => /lib/x86_64-linux-gnu/libicui18n.so.63 (0x00007f2605534000)

        libicuuc.so.63 => /lib/x86_64-linux-gnu/libicuuc.so.63 (0x00007f2605369000)

        libpcre2-16.so.0 => /lib/x86_64-linux-gnu/libpcre2-16.so.0 (0x00007f26052ee000)

        libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f260524f000)

        libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f2605130000)

        libgio-2.0.so.0 => /lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f2604f70000)

        libgobject-2.0.so.0 => /lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f2604f1b000)

        libX11-xcb.so.1 => /lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f2604f16000)

        libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f2604ec9000)

        libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f2604e11000)

        libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f2604dde000)

        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f2604dd2000)

        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f2604daa000)

        liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f2604d8b000)

        libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f2604c66000)

        libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f2604c4c000)

        libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f2604b8e000)

        libgraphite2.so.3 => /lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f2604b61000)

        libicudata.so.63 => /lib/x86_64-linux-gnu/libicudata.so.63 (0x00007f2603171000)

        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f26030fd000)

        libgmodule-2.0.so.0 => /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f26030f7000)

        libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007f2603096000)

        libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f260306b000)

        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f2603051000)

        libffi.so.6 => /lib/x86_64-linux-gnu/libffi.so.6 (0x00007f2603047000)

        libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f2602f67000)

        libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f2602f33000)

        libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f2602f2b000)

        libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f2602f1c000)

        libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f2602f15000)

        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f2602ef2000)

        libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f2602e9d000)

        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f2602e92000)

 

Reply View the author
rabbitwq
deepin
2021-08-15 03:05
#76
rabbitwq

我的新版本的替换旧版本后,顶栏闪退。

        linux-vdso.so.1 (0x00007ffebbbb8000)

        libdtkwidget.so.5 => /lib/x86_64-linux-gnu/libdtkwidget.so.5 (0x00007f2607c03000)

        libdtkcore.so.5 => /lib/x86_64-linux-gnu/libdtkcore.so.5 (0x00007f2607b14000)

        libdtkgui.so.5 => /lib/x86_64-linux-gnu/libdtkgui.so.5 (0x00007f2607a92000)

        libpcap.so.0.8 => /lib/x86_64-linux-gnu/libpcap.so.0.8 (0x00007f2607a4e000)

        libprocps.so.7 => /lib/x86_64-linux-gnu/libprocps.so.7 (0x00007f2607a25000)

        libsensors.so.5 => /lib/x86_64-linux-gnu/libsensors.so.5 (0x00007f2607a14000)

        libQt5DBus.so.5 => /lib/x86_64-linux-gnu/libQt5DBus.so.5 (0x00007f260797a000)

        libdtkwm.so.2 => /lib/x86_64-linux-gnu/libdtkwm.so.2 (0x00007f260796c000)

        libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f2607942000)

        libQt5Charts.so.5 => /lib/x86_64-linux-gnu/libQt5Charts.so.5 (0x00007f2607785000)

        libQt5Widgets.so.5 => /lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f260710e000)

        libQt5Gui.so.5 => /lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f2606a70000)

        libQt5Core.so.5 => /lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f26064eb000)

        libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f2606367000)

        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f26061e4000)

        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f26061ca000)

        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2606009000)

        libgsettings-qt.so.1 => /lib/x86_64-linux-gnu/libgsettings-qt.so.1 (0x00007f2605ffb000)

        libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007f2605fe4000)

        libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f2605ea3000)

        libXi.so.6 => /lib/x86_64-linux-gnu/libXi.so.6 (0x00007f2605e91000)

        libxcb-util.so.0 => /lib/x86_64-linux-gnu/libxcb-util.so.0 (0x00007f2605e87000)

        libstartup-notification-1.so.0 => /lib/x86_64-linux-gnu/libstartup-notification-1.so.0 (0x00007f2605e7b000)

        libQt5PrintSupport.so.5 => /lib/x86_64-linux-gnu/libQt5PrintSupport.so.5 (0x00007f2605e05000)

        libQt5X11Extras.so.5 => /lib/x86_64-linux-gnu/libQt5X11Extras.so.5 (0x00007f2605dfc000)

        libQt5Xml.so.5 => /lib/x86_64-linux-gnu/libQt5Xml.so.5 (0x00007f2605db9000)

        libQt5Network.so.5 => /lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f2605bfb000)

        libQt5Concurrent.so.5 => /lib/x86_64-linux-gnu/libQt5Concurrent.so.5 (0x00007f2605bf2000)

        libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007f2605b6b000)

        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f2605b4a000)

        /lib64/ld-linux-x86-64.so.2 (0x00007f26080cd000)

        libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f2605aa7000)

        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f2605aa2000)

        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f2605a4f000)

        libdtkcore.so.2 => /lib/x86_64-linux-gnu/libdtkcore.so.2 (0x00007f2605983000)

        libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f260597e000)

        libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f2605974000)

        libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f260593b000)

        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f260591e000)

        libharfbuzz.so.0 => /lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f260581b000)

        libdouble-conversion.so.1 => /lib/x86_64-linux-gnu/libdouble-conversion.so.1 (0x00007f2605804000)

        libicui18n.so.63 => /lib/x86_64-linux-gnu/libicui18n.so.63 (0x00007f2605534000)

        libicuuc.so.63 => /lib/x86_64-linux-gnu/libicuuc.so.63 (0x00007f2605369000)

        libpcre2-16.so.0 => /lib/x86_64-linux-gnu/libpcre2-16.so.0 (0x00007f26052ee000)

        libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f260524f000)

        libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f2605130000)

        libgio-2.0.so.0 => /lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f2604f70000)

        libgobject-2.0.so.0 => /lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f2604f1b000)

        libX11-xcb.so.1 => /lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f2604f16000)

        libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f2604ec9000)

        libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f2604e11000)

        libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f2604dde000)

        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f2604dd2000)

        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f2604daa000)

        liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f2604d8b000)

        libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f2604c66000)

        libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f2604c4c000)

        libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f2604b8e000)

        libgraphite2.so.3 => /lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f2604b61000)

        libicudata.so.63 => /lib/x86_64-linux-gnu/libicudata.so.63 (0x00007f2603171000)

        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f26030fd000)

        libgmodule-2.0.so.0 => /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f26030f7000)

        libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007f2603096000)

        libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f260306b000)

        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f2603051000)

        libffi.so.6 => /lib/x86_64-linux-gnu/libffi.so.6 (0x00007f2603047000)

        libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f2602f67000)

        libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f2602f33000)

        libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f2602f2b000)

        libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f2602f1c000)

        libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f2602f15000)

        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f2602ef2000)

        libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f2602e9d000)

        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f2602e92000)

 

找到问题了,新的版本和天海鹰的天气插件冲突

Reply View the author
youngwq
deepin
2021-11-07 20:37
#77

大佬,用了dde-top-panel,基本的音量、电池图标出不来,从/usr/lib/dde-dock/plugins/system-trays复制了libsound.so和libpower.so到./local/lib/dde-top-panel/plugins目录下了,图标还是显示不出来,这是哪里配置错了,还是说漏了哪些插件so?

image.png

dde-top-panel的plugin目录下的内容
image.png

Reply View the author
septemberhx
deepin
2021-11-07 22:23
#78
youngwq

大佬,用了dde-top-panel,基本的音量、电池图标出不来,从/usr/lib/dde-dock/plugins/system-trays复制了libsound.so和libpower.so到./local/lib/dde-top-panel/plugins目录下了,图标还是显示不出来,这是哪里配置错了,还是说漏了哪些插件so?

image.png

dde-top-panel的plugin目录下的内容
image.png

只复制 libtray.so 就可以了,/usr/lib/dde-dock/plugins/system-trays 不要删掉了

Reply View the author
youngwq
deepin
2021-11-08 07:10
#79
septemberhx

只复制 libtray.so 就可以了,/usr/lib/dde-dock/plugins/system-trays 不要删掉了

image.png

/usr/lib/dde-dock/plugins/system-trays下面的文件都在,但是dde-top-panel就是还是没有音量、电池图标

Reply View the author
youngwq
deepin
2021-11-08 07:13
#80
septemberhx

只复制 libtray.so 就可以了,/usr/lib/dde-dock/plugins/system-trays 不要删掉了

文件情况如下
image.png

Reply View the author
4 / 6
To page