lightful / xfce-hkmon Goto Github PK
View Code? Open in Web Editor NEWHacker's Monitor for XFCE
License: GNU General Public License v2.0
Hacker's Monitor for XFCE
License: GNU General Public License v2.0
I love this, it's even better than the applet for cinnamon, but i would prefer it if it could display in Bps instead of bps.
Like, instead of saying it's 8 Mbps, it displays 1 MBps, and so on with Kbps.
I followed your instruction, but got stuck when add a new XFCE Generic Monitor Applet. I don't clearly know where it is... Can you give me some clues?
What happens if the vars that stores the Core.user, Core.nice, Core.system etc overflow ? The values are larger than int64 ? I guess you could get some large values on a long running system.
When doing the diff between new_CPU and old_CPU you'll get funny results...
Or even when computing CPU total in Core::cpuTotal().
Or am I missing something ?
g++ -v
Es werden eingebaute Spezifikationen verwendet.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/lto-wrapper
Ziel: x86_64-unknown-linux-gnu
Konfiguriert mit: /build/gcc-multilib/src/gcc-5.2.0/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --with-default-libstdcxx-abi=gcc4-compatible
Thread-Modell: posix
gcc-Version 5.2.0 (GCC)
make
g++ -c -o xfce-hkmon.o xfce-hkmon.cpp -std=c++0x -O3 -Wall -Wextra -pedantic -march=native
xfce-hkmon.cpp: In Instanziierung von »bool fromString(const string&, T&) [mit T = short int; std::string = std::basic_string<char>]«:
xfce-hkmon.cpp:168:81: von hier erfordert
xfce-hkmon.cpp:107:108: Fehler: »std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}« kann nicht nach »bool« in Rückgabe umgewandelt werden
template <typename T> bool fromString(const std::string& from, T& to) { return std::istringstream(from) >> to; }
^
Makefile:11: die Regel für Ziel „xfce-hkmon.o“ scheiterte
This applet is amazing. It would be great if you could give another option to see netspeed as MiB/s. Thank You.
It will make packaging more convenient since you do not need a git pull. Example:
tag=v1.03
git tag $tag -m "$tag"
git push --tags
As a quick fix, I removed all setw
, but I believe it can be done better.
Hi,
as I'm quite often switching between WiFi and Ethernet it would be neat to have a choice for selecting the default network interface between total download (like now) and the overall traffic since last update. I just hacked this part for me and it works for me. Should this be an option or is this something only I need?
If this should be an option, should this be done via and extra option "-b" or something like an extra value "NETBW"?
Would be good to have options for horizontal or vertical layouts. I find it works really well when added to a blank panel using vertical layout, but would be good to have it added to a horizontal panel that's small (like 32 pixels tall)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.