[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
2 / 6
To page
xiamo
deepin
2020-06-22 06:33
#21
不同分辨率下面显示效果不一致,这里会挡住,1080p的屏幕

Reply View the author
septemberhx
deepin
2020-06-22 19:53
#22
https://bbs.deepin.org/post/195858
不同分辨率下面显示效果不一致,这里会挡住,1080p的屏幕

看来是太窄了,显示不全,后面会改。
Reply View the author
septemberhx
deepin
2020-06-25 20:03
#23
已更新。
Reply View the author
mcaoser
deepin
2020-06-26 06:33
#24
强烈支持
Reply View the author
msan
deepin
2020-06-26 06:53
#25
感谢分享
Reply View the author
hangyubin
deepin
2020-06-26 16:54
#26
本帖最后由 hangyubin 于 2020-6-26 09:20 编辑


0.2版的可以使用!
使用0.3版,network插件与dde-docke 不兼容!
Reply View the author
septemberhx
deepin
2020-06-26 17:25
#27
https://bbs.deepin.org/post/195858
0.2版的可以使用!
使用0.3版,network插件与dde-docke 不兼容!

libsensors5 装了么,还需要重新 setcap 一下 dde-dock,具体看帖子。
还是不兼容的话,请按帖子 ldd 一下,并贴出输出。
Reply View the author
hangyubin
deepin
2020-06-26 18:13
#28
本帖最后由 hangyubin 于 2020-6-26 10:16 编辑
https://bbs.deepin.org/post/195858
libsensors5 装了么,还需要重新 setcap 一下 dde-dock,具体看帖子。
还是不兼容的话,请按帖子 ldd 一 ...

linux-vdso.so.1 (0x00007fffdef44000)
        libdtkwidget.so.5 => /lib/x86_64-linux-gnu/libdtkwidget.so.5 (0x00007fce03fd7000)
        libdtkcore.so.5 => /lib/x86_64-linux-gnu/libdtkcore.so.5 (0x00007fce03ee6000)
        libdtkgui.so.5 => /lib/x86_64-linux-gnu/libdtkgui.so.5 (0x00007fce03e6a000)
        libpcap.so.0.8 => /lib/x86_64-linux-gnu/libpcap.so.0.8 (0x00007fce03e26000)
        libprocps.so.7 => /lib/x86_64-linux-gnu/libprocps.so.7 (0x00007fce03dfd000)
        libsensors.so.5 => /lib/x86_64-linux-gnu/libsensors.so.5 (0x00007fce03dec000)
        libQt5DBus.so.5 => /lib/x86_64-linux-gnu/libQt5DBus.so.5 (0x00007fce03d53000)
        libdtkwm.so.2 => /lib/x86_64-linux-gnu/libdtkwm.so.2 (0x00007fce03d45000)
        libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fce03d1b000)
        libQt5Charts.so.5 => /lib/x86_64-linux-gnu/libQt5Charts.so.5 (0x00007fce03b69000)
        libQt5Widgets.so.5 => /lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007fce03511000)
        libQt5Gui.so.5 => /lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007fce02f86000)
        libQt5Core.so.5 => /lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007fce02a89000)
        libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fce02905000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fce02782000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fce02768000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fce025a7000)
        libgsettings-qt.so.1 => /lib/x86_64-linux-gnu/libgsettings-qt.so.1 (0x00007fce02599000)
        librsvg-2.so.2 => /lib/x86_64-linux-gnu/librsvg-2.so.2 (0x00007fce0202f000)
        libgio-2.0.so.0 => /lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007fce01e71000)
        libgdk_pixbuf-2.0.so.0 => /lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007fce01e4b000)
        libgobject-2.0.so.0 => /lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007fce01df6000)
        libcairo.so.2 => /lib/x86_64-linux-gnu/libcairo.so.2 (0x00007fce01cd6000)
        libdframeworkdbus.so.2 => /lib/x86_64-linux-gnu/libdframeworkdbus.so.2 (0x00007fce01952000)
        libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007fce0193b000)
        libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007fce017fa000)
        libXi.so.6 => /lib/x86_64-linux-gnu/libXi.so.6 (0x00007fce017e8000)
        libxcb-util.so.0 => /lib/x86_64-linux-gnu/libxcb-util.so.0 (0x00007fce017de000)
        libstartup-notification-1.so.0 => /lib/x86_64-linux-gnu/libstartup-notification-1.so.0 (0x00007fce017d2000)
        libQt5MultimediaWidgets.so.5 => /lib/x86_64-linux-gnu/libQt5MultimediaWidgets.so.5 (0x00007fce017b2000)
        libpulse-mainloop-glib.so.0 => /lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0 (0x00007fce017aa000)
        libpulse.so.0 => /lib/x86_64-linux-gnu/libpulse.so.0 (0x00007fce01756000)
        libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007fce01637000)
        libQt5Multimedia.so.5 => /lib/x86_64-linux-gnu/libQt5Multimedia.so.5 (0x00007fce0151b000)
        libQt5X11Extras.so.5 => /lib/x86_64-linux-gnu/libQt5X11Extras.so.5 (0x00007fce01514000)
        libQt5Xml.so.5 => /lib/x86_64-linux-gnu/libQt5Xml.so.5 (0x00007fce014d5000)
        libQt5Network.so.5 => /lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007fce01332000)
        libQt5Concurrent.so.5 => /lib/x86_64-linux-gnu/libQt5Concurrent.so.5 (0x00007fce01329000)
        libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007fce01295000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fce01274000)
        libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007fce011d3000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fce011cc000)
        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007fce01179000)
        libdtkcore.so.2 => /lib/x86_64-linux-gnu/libdtkcore.so.2 (0x00007fce010ad000)
        libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007fce010a8000)
        libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fce010a0000)
        libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007fce01065000)
        libharfbuzz.so.0 => /lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007fce00f62000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fce00f45000)
        libicui18n.so.63 => /lib/x86_64-linux-gnu/libicui18n.so.63 (0x00007fce00c6a000)
        libicuuc.so.63 => /lib/x86_64-linux-gnu/libicuuc.so.63 (0x00007fce00a9b000)
        libpcre2-16.so.0 => /lib/x86_64-linux-gnu/libpcre2-16.so.0 (0x00007fce00a20000)
        libdouble-conversion.so.1 => /lib/x86_64-linux-gnu/libdouble-conversion.so.1 (0x00007fce00a07000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fce043f7000)
        libpangocairo-1.0.so.0 => /lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007fce009f7000)
        libpangoft2-1.0.so.0 => /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007fce009de000)
        libpango-1.0.so.0 => /lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007fce00993000)
        libfontconfig.so.1 => /lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007fce0094d000)
        libcroco-0.6.so.3 => /lib/x86_64-linux-gnu/libcroco-0.6.so.3 (0x00007fce0090d000)
        libxml2.so.2 => /lib/x86_64-linux-gnu/libxml2.so.2 (0x00007fce00762000)
        libgmodule-2.0.so.0 => /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007fce0075c000)
        libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007fce006fd000)
        libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007fce006d2000)
        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fce006b8000)
        libffi.so.6 => /lib/x86_64-linux-gnu/libffi.so.6 (0x00007fce006ac000)
        libpixman-1.so.0 => /lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007fce00605000)
        libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fce00549000)
        libxcb-shm.so.0 => /lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007fce00544000)
        libxcb-render.so.0 => /lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007fce00535000)
        libXrender.so.1 => /lib/x86_64-linux-gnu/libXrender.so.1 (0x00007fce00526000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fce0051c000)
        libX11-xcb.so.1 => /lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007fce00517000)
        libQt5OpenGL.so.5 => /lib/x86_64-linux-gnu/libQt5OpenGL.so.5 (0x00007fce004bd000)
        libpulsecommon-12.2.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-12.2.so (0x00007fce00437000)
        libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007fce0042f000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fce003b9000)
        libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007fce00385000)
        libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007fce002c8000)
        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fce002a0000)
        liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007fce00281000)
        libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007fce00161000)
        libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fce00147000)
        libgraphite2.so.3 => /lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007fce0011a000)
        libicudata.so.63 => /lib/x86_64-linux-gnu/libicudata.so.63 (0x00007fcdfe72a000)
        libthai.so.0 => /lib/x86_64-linux-gnu/libthai.so.0 (0x00007fcdfe71f000)
        libfribidi.so.0 => /lib/x86_64-linux-gnu/libfribidi.so.0 (0x00007fcdfe700000)
        libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fcdfe6c3000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fcdfe6ba000)
        libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007fcdfe665000)
        libICE.so.6 => /lib/x86_64-linux-gnu/libICE.so.6 (0x00007fcdfe646000)
        libSM.so.6 => /lib/x86_64-linux-gnu/libSM.so.6 (0x00007fcdfe639000)
        libXtst.so.6 => /lib/x86_64-linux-gnu/libXtst.so.6 (0x00007fcdfe631000)
        libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007fcdfe625000)
        libsndfile.so.1 => /lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007fcdfe5a9000)
        libasyncns.so.0 => /lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007fcdfe5a1000)
        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007fcdfe57c000)
        libdatrie.so.1 => /lib/x86_64-linux-gnu/libdatrie.so.1 (0x00007fcdfe572000)
        libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007fcdfe559000)
        libFLAC.so.8 => /lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007fcdfe4f0000)
        libogg.so.0 => /lib/x86_64-linux-gnu/libogg.so.0 (0x00007fcdfe4e6000)
        libvorbis.so.0 => /lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007fcdfe4b6000)
        libvorbisenc.so.2 => /lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007fcdfe40b000)

dde-dock 启动不了!截图也上传不了
Reply View the author
hangyubin
deepin
2020-06-26 18:18
#29
hangbin@hangbin-PC:~/.local/lib/dde-dock/plugins$ dde-dock
lock memory result: -1
2020-06-26, 10:14:07.192 [Debug  ] [                                                         0]

dde-dock startup
2020-06-26, 10:14:07.224 [Debug  ] [                                                         0] void DockSettings::updateForbidPostions()
2020-06-26, 10:14:07.240 [Warning] [                                                         0] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
2020-06-26, 10:14:07.267 [Debug  ] [                                                         0] using dock local plugins dir: "/home/hangbin/.local/lib/dde-dock/plugins/"
2020-06-26, 10:14:07.267 [Debug  ] [                                                         0] using dock plugins dir: "/usr/lib/dde-dock/plugins"
2020-06-26, 10:14:07.308 [Debug  ] [                                                         0] "DockPlugin" init plugin:  "dde_istate_menus"
2020-06-26, 10:14:07.337 [Debug  ] [                                                         0] load plugins item:  "dde_istate_netspeed" "dde_istate_netspeed" DDENetspeedTextWidget(0xcc4f10)
2020-06-26, 10:14:07.342 [Debug  ] [                                                         0] load plugins item:  "dde-istate-datetime" "dde-istate-datetime" DatetimeWidget(0xf19670)
2020-06-26, 10:14:07.343 [Debug  ] [                                                         0] load plugins item:  "dde-istate-cpu" "dde-istate-cpu" DDECpuItemWidget(0x1279e90)
2020-06-26, 10:14:07.343 [Debug  ] [                                                         0] load plugins item:  "dde-istate-ram" "dde-istate-ram" DDERamItemWidget(0x12fd940)
2020-06-26, 10:14:07.343 [Debug  ] [                                                         0] load plugins item:  "dde-istate-sensor" "dde-istate-sensor" DDESensorItemWidget(0x130ce40)
2020-06-26, 10:14:07.343 [Debug  ] [                                                         0] "DockPlugin" init plugin finished:  "dde_istate_menus"
2020-06-26, 10:14:07.343 [Debug  ] [                                                         0] "DockPlugin" init plugin:  "datetime"
2020-06-26, 10:14:07.343 [Debug  ] [                                                         0] load plugins item:  "datetime" "datetime" DatetimeWidget(0x1322000)
Found Haswell Processor type
        0 (0), 1 (0),
        Detected 2 cores in 1 packages

rdmsrpen: 没有那个文件或目录
Trying to open /dev/cpu/0/msr
段错误
Reply View the author
septemberhx
deepin
2020-06-26 18:34
#30
https://bbs.deepin.org/post/195858
hangbin@hangbin-PC:~/.local/lib/dde-dock/plugins$ dde-dock
lock memory result: -1
2020-06-26, 10:14: ...

emm 我知道原因了,应该是没有 /dev/cpu/0/msr 这个文件吧,先退回2.0吧,我再改改bug
Reply View the author
风吹过的绿洲
deepin
2020-06-27 01:06
#31
漂亮,网络剪头能对齐吗
Reply View the author
septemberhx
deepin
2020-06-27 06:11
#32
https://bbs.deepin.org/post/195858
漂亮,网络剪头能对齐吗

可以,后面可以改掉
Reply View the author
GBwater
deepin
2020-07-10 07:23
#33
gbwater@gbwater-PC:~$ ldd '/home/gbwater/.local/lib/dde-top-panel/plugins/libdde_istate_menus.so'
        linux-vdso.so.1 (0x00007ffcbdd09000)
        libdtkwidget.so.5 => /lib/x86_64-linux-gnu/libdtkwidget.so.5 (0x00007f4e5b200000)
        libdtkcore.so.5 => /lib/x86_64-linux-gnu/libdtkcore.so.5 (0x00007f4e5b10f000)
        libdtkgui.so.5 => /lib/x86_64-linux-gnu/libdtkgui.so.5 (0x00007f4e5b093000)
        libpcap.so.0.8 => /lib/x86_64-linux-gnu/libpcap.so.0.8 (0x00007f4e5b04f000)
        libprocps.so.7 => /lib/x86_64-linux-gnu/libprocps.so.7 (0x00007f4e5b026000)
        libsensors.so.5 => /lib/x86_64-linux-gnu/libsensors.so.5 (0x00007f4e5b015000)
        libQt5DBus.so.5 => /lib/x86_64-linux-gnu/libQt5DBus.so.5 (0x00007f4e5af7c000)
        libdtkwm.so.2 => /lib/x86_64-linux-gnu/libdtkwm.so.2 (0x00007f4e5af6e000)
        libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f4e5af44000)
        libQt5Charts.so.5 => not found
        libQt5Widgets.so.5 => /lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f4e5a8ec000)
        libQt5Gui.so.5 => /lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f4e5a361000)
        libQt5Core.so.5 => /lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f4e59e64000)
        libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f4e59ce0000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4e59b5d000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f4e59b43000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4e59982000)
        libgsettings-qt.so.1 => /lib/x86_64-linux-gnu/libgsettings-qt.so.1 (0x00007f4e59974000)
        librsvg-2.so.2 => /lib/x86_64-linux-gnu/librsvg-2.so.2 (0x00007f4e5940a000)
        libgio-2.0.so.0 => /lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f4e5924c000)
        libgdk_pixbuf-2.0.so.0 => /lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007f4e59226000)
        libgobject-2.0.so.0 => /lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f4e591d1000)
        libcairo.so.2 => /lib/x86_64-linux-gnu/libcairo.so.2 (0x00007f4e590b1000)
        libdframeworkdbus.so.2 => /lib/x86_64-linux-gnu/libdframeworkdbus.so.2 (0x00007f4e58d2d000)
        libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007f4e58d16000)
        libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f4e58bd5000)
        libXi.so.6 => /lib/x86_64-linux-gnu/libXi.so.6 (0x00007f4e58bc3000)
        libxcb-util.so.0 => /lib/x86_64-linux-gnu/libxcb-util.so.0 (0x00007f4e58bb9000)
        libstartup-notification-1.so.0 => /lib/x86_64-linux-gnu/libstartup-notification-1.so.0 (0x00007f4e58bad000)
        libQt5MultimediaWidgets.so.5 => /lib/x86_64-linux-gnu/libQt5MultimediaWidgets.so.5 (0x00007f4e58b8d000)
        libpulse-mainloop-glib.so.0 => /lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0 (0x00007f4e58b85000)
        libpulse.so.0 => /lib/x86_64-linux-gnu/libpulse.so.0 (0x00007f4e58b31000)
        libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f4e58a12000)
        libQt5Multimedia.so.5 => /lib/x86_64-linux-gnu/libQt5Multimedia.so.5 (0x00007f4e588f6000)
        libQt5X11Extras.so.5 => /lib/x86_64-linux-gnu/libQt5X11Extras.so.5 (0x00007f4e588ef000)
        libQt5Xml.so.5 => /lib/x86_64-linux-gnu/libQt5Xml.so.5 (0x00007f4e588b0000)
        libQt5Network.so.5 => /lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f4e5870d000)
        libQt5Concurrent.so.5 => /lib/x86_64-linux-gnu/libQt5Concurrent.so.5 (0x00007f4e58704000)
        libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007f4e58670000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4e5864f000)
        libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f4e585ae000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f4e585a7000)
        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f4e58554000)
        libdtkcore.so.2 => /lib/x86_64-linux-gnu/libdtkcore.so.2 (0x00007f4e58488000)
        libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f4e58483000)
        libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f4e5847b000)
        libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f4e58440000)
        libharfbuzz.so.0 => /lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f4e5833d000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f4e58320000)
        libicui18n.so.63 => /lib/x86_64-linux-gnu/libicui18n.so.63 (0x00007f4e58045000)
        libicuuc.so.63 => /lib/x86_64-linux-gnu/libicuuc.so.63 (0x00007f4e57e76000)
        libpcre2-16.so.0 => /lib/x86_64-linux-gnu/libpcre2-16.so.0 (0x00007f4e57dfb000)
        libdouble-conversion.so.1 => /lib/x86_64-linux-gnu/libdouble-conversion.so.1 (0x00007f4e57de2000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f4e5b621000)
        libpangocairo-1.0.so.0 => /lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007f4e57dd2000)
        libpangoft2-1.0.so.0 => /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007f4e57db9000)
        libpango-1.0.so.0 => /lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007f4e57d6e000)
        libfontconfig.so.1 => /lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f4e57d28000)
        libcroco-0.6.so.3 => /lib/x86_64-linux-gnu/libcroco-0.6.so.3 (0x00007f4e57ce8000)
        libxml2.so.2 => /lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f4e57b3d000)
        libgmodule-2.0.so.0 => /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f4e57b37000)
        libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007f4e57ad8000)
        libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f4e57aad000)
        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f4e57a93000)
        libffi.so.6 => /lib/x86_64-linux-gnu/libffi.so.6 (0x00007f4e57a87000)
        libpixman-1.so.0 => /lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007f4e579e0000)
        libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f4e57924000)
        libxcb-shm.so.0 => /lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f4e5791f000)
        libxcb-render.so.0 => /lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007f4e57910000)
        libXrender.so.1 => /lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f4e57901000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f4e578f7000)
        libX11-xcb.so.1 => /lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f4e578f2000)
        libQt5OpenGL.so.5 => /lib/x86_64-linux-gnu/libQt5OpenGL.so.5 (0x00007f4e57898000)
        libpulsecommon-12.2.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-12.2.so (0x00007f4e57812000)
        libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f4e5780a000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f4e57794000)
        libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f4e57760000)
        libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f4e576a3000)
        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f4e5767b000)
        liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f4e5765c000)
        libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f4e5753c000)
        libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f4e57522000)
        libgraphite2.so.3 => /lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f4e574f5000)
        libicudata.so.63 => /lib/x86_64-linux-gnu/libicudata.so.63 (0x00007f4e55b05000)
        libthai.so.0 => /lib/x86_64-linux-gnu/libthai.so.0 (0x00007f4e55afa000)
        libfribidi.so.0 => /lib/x86_64-linux-gnu/libfribidi.so.0 (0x00007f4e55adb000)
        libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f4e55a9e000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f4e55a95000)
        libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f4e55a40000)
        libICE.so.6 => /lib/x86_64-linux-gnu/libICE.so.6 (0x00007f4e55a21000)
        libSM.so.6 => /lib/x86_64-linux-gnu/libSM.so.6 (0x00007f4e55a14000)
        libXtst.so.6 => /lib/x86_64-linux-gnu/libXtst.so.6 (0x00007f4e55a0c000)
        libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f4e55a00000)
        libsndfile.so.1 => /lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007f4e55984000)
        libasyncns.so.0 => /lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007f4e5597c000)
        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f4e55957000)
        libdatrie.so.1 => /lib/x86_64-linux-gnu/libdatrie.so.1 (0x00007f4e5594d000)
        libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f4e55934000)
        libFLAC.so.8 => /lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f4e558cb000)
        libogg.so.0 => /lib/x86_64-linux-gnu/libogg.so.0 (0x00007f4e558c1000)
        libvorbis.so.0 => /lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f4e55891000)
        libvorbisenc.so.2 => /lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f4e557e6000)
Reply View the author
GBwater
deepin
2020-07-10 07:28
#34
https://bbs.deepin.org/post/195858
gbwater@gbwater-PC:~$ ldd '/home/gbwater/.local/lib/dde-top-panel/plugins/libdde_istate_menus.so'
         ...

抱歉,我没看到有依赖
Reply View the author
GBwater
deepin
2020-07-10 07:31
#35
但为何top-bar会自动退出?
Reply View the author
Sun
deepin
2020-07-10 16:40
#36
大佬, AMD 没牌面阿..不光是温度问题,直接提示没有 "/dev/cpu/0/msr" 这个文件夹,退出了直接

sensors output:

Reply View the author
septemberhx
deepin
2020-07-10 17:57
#37
https://bbs.deepin.org/post/195858
大佬, AMD 没牌面阿..不光是温度问题,直接提示没有 "/dev/cpu/0/msr" 这个文件夹,退出了直接

sensors outp ...

因为我只有 intel 的设备,所以是用 msr 做的,但是貌似 AMD 没有这个文件。

可以先用 0.2 版本,或者手动编译 master 分支,我已经做了一点修改,最起码不会因为 msr 不存在而退出了(但是不能正确显示功耗)
Reply View the author
septemberhx
deepin
2020-07-10 17:59
#38
https://bbs.deepin.org/post/195858
但为何top-bar会自动退出?

应该是 sensors 功能没做好,Linux上没有统一的接口,导致只能使用一些硬件相关的方法,导致了兼容性问题。
请暂时回退到 0.2 版本。。
Reply View the author
Sun
deepin
2020-07-10 18:00
#39
https://bbs.deepin.org/post/195858
因为我只有 intel 的设备,所以是用 msr 做的,但是貌似 AMD 没有这个文件。

可以先用 0.2 版本,或者手 ...

我编译一下master 试试..
Reply View the author
柚子
deepin
2020-08-09 01:46
#40
1 % ldd ~/.local/lib/dde-dock/plugins/libdde_istate_menus.so
        linux-vdso.so.1 (0x00007ffd2adcc000)
        libdtkwidget.so.5 => /lib/x86_64-linux-gnu/libdtkwidget.so.5 (0x00007f97f28ef000)
        libdtkcore.so.5 => /lib/x86_64-linux-gnu/libdtkcore.so.5 (0x00007f97f27fc000)
        libdtkgui.so.5 => /lib/x86_64-linux-gnu/libdtkgui.so.5 (0x00007f97f2780000)
        libpcap.so.0.8 => /lib/x86_64-linux-gnu/libpcap.so.0.8 (0x00007f97f273c000)
        libprocps.so.7 => /lib/x86_64-linux-gnu/libprocps.so.7 (0x00007f97f2713000)
        libsensors.so.5 => /lib/x86_64-linux-gnu/libsensors.so.5 (0x00007f97f2702000)
        libQt5DBus.so.5 => /lib/x86_64-linux-gnu/libQt5DBus.so.5 (0x00007f97f2669000)
        libdtkwm.so.2 => /lib/x86_64-linux-gnu/libdtkwm.so.2 (0x00007f97f265b000)
        libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f97f2631000)
        libQt5Charts.so.5 => /lib/x86_64-linux-gnu/libQt5Charts.so.5 (0x00007f97f247f000)
        libQt5Widgets.so.5 => /lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f97f1e27000)
        libQt5Gui.so.5 => /lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f97f189c000)
        libQt5Core.so.5 => /lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f97f139f000)
        libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f97f121b000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f97f1098000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f97f107e000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f97f0ebd000)
        libgsettings-qt.so.1 => /lib/x86_64-linux-gnu/libgsettings-qt.so.1 (0x00007f97f0eaf000)
        librsvg-2.so.2 => /lib/x86_64-linux-gnu/librsvg-2.so.2 (0x00007f97f0945000)
        libgio-2.0.so.0 => /lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f97f0787000)
        libgdk_pixbuf-2.0.so.0 => /lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007f97f0761000)
        libgobject-2.0.so.0 => /lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f97f070c000)
        libcairo.so.2 => /lib/x86_64-linux-gnu/libcairo.so.2 (0x00007f97f05ec000)
        libdframeworkdbus.so.2 => /lib/x86_64-linux-gnu/libdframeworkdbus.so.2 (0x00007f97f025f000)
        libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007f97f0248000)
        libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f97f0107000)
        libXi.so.6 => /lib/x86_64-linux-gnu/libXi.so.6 (0x00007f97f00f5000)
        libxcb-util.so.0 => /lib/x86_64-linux-gnu/libxcb-util.so.0 (0x00007f97f00eb000)
        libstartup-notification-1.so.0 => /lib/x86_64-linux-gnu/libstartup-notification-1.so.0 (0x00007f97f00df000)
        libQt5MultimediaWidgets.so.5 => /lib/x86_64-linux-gnu/libQt5MultimediaWidgets.so.5 (0x00007f97f00bf000)
        libpulse-mainloop-glib.so.0 => /lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0 (0x00007f97f00b7000)
        libpulse.so.0 => /lib/x86_64-linux-gnu/libpulse.so.0 (0x00007f97f0063000)
        libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f97eff44000)
        libQt5Multimedia.so.5 => /lib/x86_64-linux-gnu/libQt5Multimedia.so.5 (0x00007f97efe28000)
        libQt5X11Extras.so.5 => /lib/x86_64-linux-gnu/libQt5X11Extras.so.5 (0x00007f97efe21000)
        libQt5Xml.so.5 => /lib/x86_64-linux-gnu/libQt5Xml.so.5 (0x00007f97efde2000)
        libQt5Network.so.5 => /lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f97efc3f000)
        libQt5Concurrent.so.5 => /lib/x86_64-linux-gnu/libQt5Concurrent.so.5 (0x00007f97efc36000)
        libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007f97efba2000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f97efb81000)
        libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f97efae0000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f97efad9000)
        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f97efa86000)
        libdtkcore.so.2 => /lib/x86_64-linux-gnu/libdtkcore.so.2 (0x00007f97ef9ba000)
        libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f97ef9b5000)
        libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f97ef9ad000)
        libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f97ef972000)
        libharfbuzz.so.0 => /lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f97ef86f000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f97ef852000)
        libicui18n.so.63 => /lib/x86_64-linux-gnu/libicui18n.so.63 (0x00007f97ef584000)
        libicuuc.so.63 => /lib/x86_64-linux-gnu/libicuuc.so.63 (0x00007f97ef3b9000)
        libpcre2-16.so.0 => /lib/x86_64-linux-gnu/libpcre2-16.so.0 (0x00007f97ef33e000)
        libdouble-conversion.so.1 => /lib/x86_64-linux-gnu/libdouble-conversion.so.1 (0x00007f97ef325000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f97f2d0f000)
        libpangocairo-1.0.so.0 => /lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007f97ef315000)
        libpangoft2-1.0.so.0 => /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007f97ef2fc000)
        libpango-1.0.so.0 => /lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007f97ef2b1000)
        libfontconfig.so.1 => /lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f97ef26b000)
        libcroco-0.6.so.3 => /lib/x86_64-linux-gnu/libcroco-0.6.so.3 (0x00007f97ef22b000)
        libxml2.so.2 => /lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f97ef080000)
        libgmodule-2.0.so.0 => /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f97ef07a000)
        libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007f97ef01b000)
        libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f97eeff0000)
        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f97eefd6000)
        libffi.so.6 => /lib/x86_64-linux-gnu/libffi.so.6 (0x00007f97eefca000)
        libpixman-1.so.0 => /lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007f97eef23000)
        libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f97eee67000)
        libxcb-shm.so.0 => /lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f97eee62000)
        libxcb-render.so.0 => /lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007f97eee53000)
        libXrender.so.1 => /lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f97eee44000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f97eee3a000)
        libX11-xcb.so.1 => /lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f97eee35000)
        libQt5OpenGL.so.5 => /lib/x86_64-linux-gnu/libQt5OpenGL.so.5 (0x00007f97eeddb000)
        libpulsecommon-12.2.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-12.2.so (0x00007f97eed55000)
        libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f97eed4d000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f97eecd7000)
        libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f97eeca3000)
        libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f97eebe6000)
        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f97eebbe000)
        liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f97eeb9f000)
        libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f97eea7f000)
        libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f97eea65000)
        libgraphite2.so.3 => /lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f97eea38000)
        libicudata.so.63 => /lib/x86_64-linux-gnu/libicudata.so.63 (0x00007f97ed048000)
        libthai.so.0 => /lib/x86_64-linux-gnu/libthai.so.0 (0x00007f97ed03d000)
        libfribidi.so.0 => /lib/x86_64-linux-gnu/libfribidi.so.0 (0x00007f97ed01e000)
        libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f97ecfe1000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f97ecfd8000)
        libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f97ecf83000)
        libICE.so.6 => /lib/x86_64-linux-gnu/libICE.so.6 (0x00007f97ecf64000)
        libSM.so.6 => /lib/x86_64-linux-gnu/libSM.so.6 (0x00007f97ecf57000)
        libXtst.so.6 => /lib/x86_64-linux-gnu/libXtst.so.6 (0x00007f97ecf4f000)
        libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f97ecf43000)
        libsndfile.so.1 => /lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007f97ecec7000)
        libasyncns.so.0 => /lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007f97ecebf000)
        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f97ece9a000)
        libdatrie.so.1 => /lib/x86_64-linux-gnu/libdatrie.so.1 (0x00007f97ece90000)
        libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f97ece77000)
        libFLAC.so.8 => /lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f97ece0e000)
        libogg.so.0 => /lib/x86_64-linux-gnu/libogg.so.0 (0x00007f97ece04000)
        libvorbis.so.0 => /lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f97ecdd4000)
        libvorbisenc.so.2 => /lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f97ecd29000)

提示不兼容
Reply View the author
2 / 6
To page