Git Product home page Git Product logo

dde-dock-cmud's People

Contributors

sonichy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dde-dock-cmud's Issues

大佬 网速单位固定KB/s?

本人宽带下载50M/s 上下 插件数值显示不够直接 现在网速是越来越快了 能否考虑动态单位 比如越界百分之多少就换算单位

试用过后几个问题

1)如果我想把CPU占用率显示在dock上面怎么办?可以选择CPU,网速,硬盘,内存任意一个在dock上面吗?
2)不知道作者用没用过gnome的插件system monitor
https://extensions.gnome.org/extension/120/system-monitor/
这款插件以动画的形式显示CPU,网速,硬盘,内存的情况,而且可以自己配置哪一项或者多项显示在面板上 ,所以这款插件的各项数值可以改成动画形式显示吗,动画显示第一更直观,第二会显示历史数值。

小小的bug

1.不小心点了插件,右下角会出现一个绿框里面写着“8秒”,有时候左上角还会出现托盘程序
2.内存使用率不准,网速一直是0
谢谢大佬

最新版网速显示为0

_ _20180507003120

Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
enp2s0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
    lo:   21360     328    0    0    0     0          0         0    21360     328    0    0    0     0       0          0
wlp3s0: 1575093943 1316089    0    0    0     0          0         0 54843800  535694    0    0    0     0       0          0

内存占用bug

BUG:显示的内存占用正好是实际的两倍,是算错了么?
建议:加一个底色吧,否则很多界面都是白色的,完全看不见的

提交 rename 在 cmdu.pro 中去掉 svg 依赖导致编译失败

如题,更改在此行:6190153#diff-ef98f9b28566299d3dadc8d8091f5a73R1。编译报错找不到 QSvgRenderer

┬─[chenjunyu19@chenjunyu19-Linux:/tmp/CMDU_DDE_DOCK]─[09时34分14秒]
╰─>$ qmake .
Info: creating stash file /tmp/CMDU_DDE_DOCK/.qmake.stash
┬─[chenjunyu19@chenjunyu19-Linux:/tmp/CMDU_DDE_DOCK]─[09时34分36秒]
╰─>$ make
g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/qt/mkspecs/linux-g++ -o cmduplugin.o cmduplugin.cpp
g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/qt/mkspecs/linux-g++ -o cmduwidget.o cmduwidget.cpp
cmduwidget.cpp:6:10: 致命错误:QSvgRenderer:没有那个文件或目录
 #include <QSvgRenderer>
          ^~~~~~~~~~~~~~
编译中断。
make: *** [Makefile:557:cmduwidget.o] 错误 1

cmdu.pro 中补回 svg 后,编译正常。QT += widgets svg

猜测:您的编译环境可能不干净。实测在编译成功后不清理,再去掉 svg 依赖仍能够编译。

Wrong network speed.

Hey the speed monitor is displaying wrong network speed. Steam for example would be downloading at max speed of 10mbps and the system monitor displays it correctly but the CMDU dock would display it around 400KB/s

新版插件占用的宽度过长

考虑到大部分时间网络都不会有峰值占用(下载除外),在网速较小时整个插件显得相当长,感觉不太协调
image

与系统不兼容

大佬您好,我下载安装后,错误提示是与系统不兼容,具体情况如下:

不兼容
深度截图_选择区域_20190602002153

安装docker后网速显示为0

网卡部分信息如下
ft@TF:~$ ifconfig
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
ether xx:xx:xx:xx:xx txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.99.10 netmask 255.255.255.0 broadcast 192.168.99.255
inet6 xx:xx:xx:xx:xx prefixlen 64 scopeid 0x20
ether xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet)
RX packets 26 bytes 3788 (3.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 70 bytes 9698 (9.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xf2500000-f2520000

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlp3s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Internet speed stuck on 0KB/s

obraz

marcin@marcin-PC:~$ cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo: 305987401 4267934    0    0    0     0          0         0 305987401 4267934    0    0    0     0       0          0
  eno1: 1592199395 1430465    0    0    0     0          0       768 185469407 1209207    0    0    0     0       0          0
marcin@marcin-PC:~$ 

大佬您好,安装完以后, 有问题

任务栏右键->插件, 启用或者关闭 电源或者网络这两个选项,任务栏就重启, 卸载了以后问题也在,有什么办法变回原来正常的状态呢?

貌似解决了网速全是0的问题

才发现原来作者预留了设置网速所在行的设置端口,哈哈,我还费力气找了好久源码LOL

操作系统:Deepin 15.10.2
首先下载后的原始so文件无法使用,系统显示插件版本不对。
在QtCreator中打开工程,下载dde-dock库后,能够进行正常编译。
编译后,插件能够正常加载,其余功能都正常,但是网速显示为0。
在cmduplugin.cpp中,定位到287~288行,可以看出程序从"/proc/net/dev"中读取网速信息。
单步调试发现,解析后的文本list中,网速应该对应的是list的第2和第10个元素,程序中原来写的是第1和第9个,那两个值是字符串,tolong方法返回值为0。
因此把这两行中的数字1和9改成2和10后,问题就解决了。
个人猜测是系统版本升级后,"/proc/net/dev"文件的格式发生了细微的变化,导致这一Bug。

Can you please write in the readme.md how to compile to make the .so file.

A little change is done by forking your project. But i am new to qmake projects and dont know how to compile them from source. I know a simple google may be effective, but it will be helpful if you write the commands here, or in the readme.md file so I can compile the project. Thank you in advance.

希望能将网速单位统一用KB

希望能将网速单位统一用KB。
因为由于习惯,右下角闪动经常让我认为是有消息。但是实际上仅仅是网速在0.00B-1k之间变动,对于这么小的网速变动,私以为统一显示成0KB或者<1KB这样的效果会更恰当些,不会因为一丁点的网速变动导致右下角闪动。
单位统一用KB,小数位后面两位可以省略以节省空间,对于大于1M的数值,显示成4位KB,可以达到喵一眼数值长度就大概了解当前网速的效果。

感觉那个cpu和内存使用率的显示不太好看

两个绿条显示在两边十分难看,希望至少提供改变颜色的方式。
我也做了一些简单的思考:
1.最简单的改变,改成白条,并排显示在左侧,大概会好看一点
2.可以参考腾讯电脑管家在mac上的显示,我觉得很好看,采用环形显示,或者可以分内环和外环分别显示内存和cpu,当然颜色最好还是白色,和deepin的背景比较搭配
image

Deepin v20正式版 显示BUG

Deepin v20 正式版 任务栏如果在左面会显示错乱,是不是要加个判断,在下面的时候是正常的

image

下面的时候有白色的边,应该是大小没有自适应的问题

image

能不能恢复网速单位配置?

#5
小于1kb的网速显示的确没必要,但是大于1024KB的还显为KB也没必要啊,我经常就超过1024KB然后显示那么长一串数字。能不能改成可配置的?或者在网速大于1kb的时候如果发生单位跃迁就变换显示单位?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.