mik30s / cysboard Goto Github PK
View Code? Open in Web Editor NEWA lightweight system monitor similar to conky with html and css for themes
License: GNU General Public License v3.0
A lightweight system monitor similar to conky with html and css for themes
License: GNU General Public License v3.0
I've seen the last modification was about 4 years ago, please go on! The community needs something like this instead of conky
When using a custom theme, Cysboard fails to start, displaying the following error:
$ ./Cysboard
Cysboard: /home/andrei/Downloads/Cysboard/includes/sciter/aux-asset.h:79: virtual aux::asset::~asset(): Assertion `_ref_cntr == 0' failed.
Aborted
This occurs with your theme example, as well as any simple tag, for instance trying to only display the uptime, etc.
This occurs in Ubuntu 16.10 64bit.
it fails because of "asm" on cppuid.h . what I need to set here instead of asm volatile on rpi3?
I'm not quite sure if this is a problem, but I expected that it can connect to the internet.
I happened to see this project and I thought it could be used to display webpages, such as Google Tasks. So I tried to use the <iframe> tag, however, nothing appeared but a dark block.
Also, it seems that this project hasn't been changed for a long time. Hope such a good project can keep developing.
Each "exec" line output is displayed twice in the Cysboard widget. Here's an example:
<div .section #externalProgram>
<p><span id="exec_0" cmd="lsb_release -cs"></span></p>
</div>
Results in "Yakkety" being displayed twice (at the bottom of the widget): http://i.imgur.com/Qj0hW5M.png
There are no other "exec" lines in the main.html file. Tested in Ubuntu 16.10 64bit.
There it is all in the title.
I'm testing it on an archlinux system with openbox & no compositor & no desktop manager.
i tried playing with the values for
html {
background: none;
background: transparent;
background: rgba (0,0,0,0.0);
}
to no avail.
i don't see any relevant terminal output.
If conky can do it, so can cysboard?
Very nice project!
I was like "hell yes, i'm gonna try this immediately" when i heard about it yesterday.
Unfortunately quite CPU intensive compared to conky...
Hi!
And thanks for this work !
The best alternative to Conky for me. ๐
I have one question: Javascript work on Cysboard ?
I try to use js to draw graphs and calculate percentage of RAM usage.
My js script work in browser.
My script :
//Mem percentage & graph
function percentage(used,total){
return (used/total)*100;
}
function setmem(){
var used = document.getElementById('mem_used').innerHTML;
var total = document.getElementById('mem_total').innerHTML;
var mem = Math.round(percentage(used,total));
document.getElementById('mem_usage').innerHTML = mem;
}
function getmem(){
var mem = document.getElementById('mem_usage').innerHTML;
return mem;
}
function getcpu(){
var cpu = document.getElementById('cpu_usage').innerHTML;
return cpu;
}
function setgraph(target,value){
document.getElementById(target).style.height = value+'%';
}
window.setInterval(function(){
var cpuvalue = getcpu();
setgraph('cpugraph',cpuvalue);
setmem();
var memvalue = getmem();
setgraph('memgraph',memvalue);
}, 1000);
A firt result of my creation with your tool. :D
Thanks again !
I compiled Cysboard and, when I try to execute it, I get:
/home/mike/.config/cysboard/get_ip.sh: not found
In the documentation, you say that:
If a 'main.html' file does not exist in the config directory cysboard will start with a default theme.
That is not happening
Hi
I have compiled Cysboard in Ubuntu 16.10 and the cysboard executable is generated in the folder ~/Cysboard/build
I am trying to execute it like below.
$ cd /Cysboard/build/Cysboard/build# ls -l
$ root@ubuntu:
total 19228
-rwxr-xr-x 1 root root 535168 May 3 14:09 Cysboard
-rw-r--r-- 1 root root 19165304 May 3 13:58 libsciter-gtk-64.so
$ ./Cysboard
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
Shall i install unity8-desktop-session-mir ?
Regards
Why isn't there a compiled package ?
If "exec" is used in the ~/.config/cysboard/main.html file, saving the file while Cysboard is running makes it crash. Saving the file while Cysboard is running, when exec is not used, doesn't make Cysboard crash. Here's the error:
$ ./Cysboard
Cysboard: /home/andrei/Downloads/Cysboard/includes/sciter/sciter-x-dom.hpp:682: void sciter::dom::element::set_text(const WCHAR*, size_t): Assertion `r == SCDOM_OK' failed.
Aborted
Tested in Ubuntu 16.10 64bit.
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.