KevinTsui1234 / tint2

Automatically exported from code.google.com/p/tint2
GNU General Public License v2.0
1 stars 0 forks source link

CPU and network icons #174

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Dear all:
Tint2 is very good!
Would you add CPU and NETWORK monitoring graphics (like icewm or
gnome-panel), please?
Thanks a lot~

Original issue reported on code.google.com by winlin0...@gmail.com on 2 Dec 2009 at 10:25

GoogleCodeExporter commented 8 years ago
From my viewpoint i would say no, because there exist already panels which do 
what
you need... So what's the reason for cloning something that already exists?
Another reason is, that you could use conky for this, just adapt your tint2rc 
that it
only takes 80% of your monitor and in the remaining space put a conky graph 
which
monitors cpu and network.
But maybe Thierry thinks this is a good idea, and he'll implement it.

Original comment by Andreas.Fink85 on 2 Dec 2009 at 11:43

GoogleCodeExporter commented 8 years ago
we can't keep tint2 light and include everything.

the middle path look like
1) leave tint2 with a small set of fonctionnality
2) allow tint2 extension for people who want more

tint2 extension could (perhaps) come from Xembed integration...
but it's just speculation for now.

Original comment by thilo...@gmail.com on 2 Dec 2009 at 2:07

GoogleCodeExporter commented 8 years ago
yeah "plugin api/system" would be good

Original comment by scippi...@gmail.com on 14 Jan 2010 at 6:19

GoogleCodeExporter commented 8 years ago
For network monitoring graphics you might want to use networkled, that can be 
found here:

https://github.com/alishuja/networkled

It integrates perfectly into tint2. I did not find a CPU monitoring graphics 
yet. Maybe someone else?

Original comment by Jonathan...@gmail.com on 26 Dec 2010 at 4:52

GoogleCodeExporter commented 8 years ago
I've made a patch for tint2 svn to add cpu/memory/network graphs (I'll probably 
add a disk activity graph too). I used the tint2+conky approach before, but it 
had several disadvantages:

- conky had to be on one side of the screen (I want the graphs in the middle, 
between tasks and tray).
- it was absurd having two programs running when tint2 could handle the graphs 
without problems.
- conky moved to the middle of the screen when switching the screen resolution.
- it looked like utter shit.

The patch adds ~630 lines of code. The number and order of the graphs (if 
enabled), width, colors, monitored network interface and left-right click 
commands (I use them to launch htop, for example) are configurable.

Attached is a screen capture.

If you are interested in adding this functionality to tint2, I'll send the 
patch (I'd have to clean it to remove some useless pieces of code and add more 
configurability and sanity checks for systems other than mine). 

Fran

Original comment by fran...@gmail.com on 12 Aug 2011 at 11:03

Attachments:

GoogleCodeExporter commented 8 years ago
Hi, Fran:
I am eager to try the patch. Could you upload it later? 
Thanks very much.

Original comment by winlin0...@gmail.com on 19 Aug 2011 at 12:38

GoogleCodeExporter commented 8 years ago
Here it is. My config in tint2rc is:

# Graphs
graphs_items = CMN
graphs_use_bars = 0
graphs_graph_width = 50
graphs_netiface = eth0
graphs_color0 = #FF3333 100
graphs_color1 = #FF3333  60
graphs_color2 = #7777FF 100
graphs_color3 = #7777FF  60
graphs_color4 = #00FF00 100
graphs_color5 = #00FF00  60
graphs_padding = 10 2 6
graphs_background_id = 2
graphs_lclick_command = urxvt -geometry 140x59 -e htop

Also, add a 'G' somewhere in your panel_items.

Cheers.

Original comment by fjvazquezaraujo on 22 Aug 2011 at 12:58

Attachments:

GoogleCodeExporter commented 8 years ago
Hi, Fran:
I tried your patch! It's so good! Thank you very much!!!

Original comment by winlin0...@gmail.com on 3 Sep 2011 at 3:08

Attachments:

GoogleCodeExporter commented 8 years ago
Hi, Fran, your patch is great.

I've been using your patch with tint svn 639 for about two weeks now.
No problem found so far.

Is it possible to add max speed in the network graph?

Original comment by arzanul...@gmail.com on 4 Sep 2011 at 12:30

GoogleCodeExporter commented 8 years ago
It'd be very easy to add a max network speed. Right now the patch uses the 
maximum attained network speed as the maximum, but it's easy to use another 
maximum if given in the config file. Will upload an updated patch.

Fran

Original comment by fjvazquezaraujo on 7 Sep 2011 at 7:17

GoogleCodeExporter commented 8 years ago
Patch updated to configure a max net speed (up and down). Put something like 
this in tint2rc:

graphs_netmaxdown = 400000
graphs_netmaxup = 40000

(in bytes/s). If not configured, it will use the maximum attained net speed (as 
before).

Fran

Original comment by fjvazquezaraujo on 19 Sep 2011 at 12:02

Attachments:

GoogleCodeExporter commented 8 years ago
Thx Fran. The max net speed works here.

is "graphs_netmaxup = 40000" for max upload?
If yes, what should i do to enable it?

Original comment by arzanul...@gmail.com on 19 Sep 2011 at 10:40

GoogleCodeExporter commented 8 years ago
Please release next tint2 with the patch included.

Original comment by mimoohowy on 30 May 2012 at 10:54

GoogleCodeExporter commented 8 years ago
Please include this patch into svn, and if it is possible add diskio graph 

Original comment by evasive....@gmail.com on 1 Jul 2012 at 2:29

GoogleCodeExporter commented 8 years ago
Love this patch, thanks a lot :D
Any possibility of adding small percentage labels to each graph?

Original comment by damian.s...@gmail.com on 15 Nov 2012 at 10:23

GoogleCodeExporter commented 8 years ago
Hi all, I have came across this patch. I've been reading archwiki on patching 
packages but I'm confused and not sure how to approach in applying patch.
please help and thanks.  

Original comment by longhuyn...@gmail.com on 2 Jun 2013 at 5:38

GoogleCodeExporter commented 8 years ago
> I'm confused and not sure how to approach in applying patch.

yaourt -S tint2-graph

Original comment by baver...@gmail.com on 18 Aug 2013 at 2:41

GoogleCodeExporter commented 8 years ago

Original comment by mrovi9...@gmail.com on 1 Feb 2015 at 10:41

GoogleCodeExporter commented 8 years ago

Original comment by mrovi9...@gmail.com on 2 Feb 2015 at 12:20

GoogleCodeExporter commented 8 years ago

Original comment by mrovi9...@gmail.com on 2 Feb 2015 at 12:53

GoogleCodeExporter commented 8 years ago
Project moved to GitLab.

You can find this issue at: https://gitlab.com/o9000/tint2/issues/174

Original comment by mrovi9...@gmail.com on 25 Apr 2015 at 11:21