Code Monkey home page Code Monkey logo

lfxspeed's Introduction

lfxSpeed


English | 简体中文 | 繁體中文


A lightweight and fast Internet speed plugin. (Recommended refactored version: NetSpeed

lfxSpeed



上架 App Store


Contents.


Background

I think DDE environment desktop is beautiful, Deepin lover, and also one of the developers, see used to have a taskbar net speed plugin on other systems, but not on this Deepin v20 / UOS v20, so I have this project. This works on DDE desktop environment for Linux distributions such as Deepin / UOS.

Compile

Using the cmake build, after entering the source directory, execute the following.

mkdir build && cd build
cmake ..
make -j16
sudo make install

Or just use IDE to click the build button (not the run button) and copy the shared libraries manually: sudo cp liblfxSpeed.so /usr/lib/dde-dock/plugins.


Note: If it doesn't take effect, you can execute killall dde-dock to restart the taskbar and it will take effect

Development Documentation: ifmet.cn or link


Uninstall

Execute the following in any path.

sudo rm -rf /usr/lib/dde-dock/plugins/liblfxSpeed.so

Author

偕臧


Other

This project is no longer maintained; but based on its ideas and new implementation goals, the source code will be redesigned to achieve a more powerful network speed plug-in, will also provide the corresponding library to facilitate the secondary development of later, the new project in NetSpeed, Wuhu ~


License

MIT

This project is distributed and used based on the MIT protocol. For more information, see LICENSE .

lfxspeed's People

Contributors

alvarosamudio avatar xmuli avatar zinface 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

Watchers

 avatar  avatar

lfxspeed's Issues

网速计算不准确

找了很久终于找到这么一个插件,很是喜欢~
不过在使用过程中发现实时网速显示的不是很准确,在研究作者的源码后发现一处疑点
SpeedInfo::netRate方法中
image

取的分别是下标为2和10的值,在我本地这两个值分别代表的是下载和上传的包数,而不是字节数。

image

所以我猜测正确的取法应该是
down = list.at(1).toLong();
upload = list.at(9).toLong();

因为不是做c开发的,本地没有环境,所以提了这个Issue来向作者求解。

系统如下:
image

关于任务栏显示的关闭建议

从目前的文档看,关闭的话,就是直接卸载。
有没有什么命令是可以控制是否在任务栏显示的?后续会增加这个功能的开发吗?
或者其实有,只是我不知道,我是linux小白,如果是简单的问题,不要喷我。

最后感谢作者提供的软件,很喜欢。

主题及默认配置

浅色主题下,显示的字体颜色是浅蓝色,而且比较难看的清楚,是否有希望看到另一个颜色?
我在配置里把内存及CPU显示关闭,但重启系统后,它们又出现了,我该怎么做呢

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.