There isn't one in the home folder by default, you have to create one. Find something you like on here, it shouldn't be that hard to find one you like. After all there is 1500+ pages to chooses from.
Open up a text editor, paste the code, and save as .conkyrc (don't forget the dot). Then in a terminal typeand voila. Your very own conky.Code:conky
Time to sit back and enjoy.
if you havnt figured it out already... i think the problem is with the default vnstat output...
for year is does '11 ... ans quote marks are always a pain to deal with
best way if to edit the vnstat.conf file and change how it displays the year
it should be in /etc
this is how my section looks
so my monthly data is preceeded by Jan2011Code:# date output formats for -d, -m, -t and -w # see 'man date' for control codes DayFormat "%x" MonthFormat "%b%Y" TopFormat "%x"
hello guys, i have this bash script and i was wondering if it would be possible to implement this into my conky, i am all new with this coding so could someone point me in the right direction?
I would like to have an indication in the conky when the vpn is stopped...how would i do this?Code:#!/bin/bash # Replace openvpn with the name of your script # from /etc/init.d/ INITSCRIPT="openvpn" gksudo /etc/init.d/$INITSCRIPT status if [ $? -eq 0 ]; then echo Stopping $INITSCRIPT.. sudo /etc/init.d/$INITSCRIPT stop notify-send "$INITSCRIPT stopped" else echo Starting $INITSCRIPT.. sudo /etc/init.d/$INITSCRIPT start notify-send "$INITSCRIPT started" fi;
Oh and does someone have an example of a vertical calendar for conky?
Last edited by blegblath; January 10th, 2011 at 12:23 AM.
@mrpeachy. The VNSTAT ring script is comical. I'm over my monthly limit a couple days early, and I noticed something. Your script doesn't break when you exceed your monthly limit. It draws the ring bigger than the limits you set. It literally shows you how much you're over. Just thought I'd share that with ya. It's kinda cool if you think about it!
indeed...
as in the script you are dividing the usage by 25, *100 to get the percentage, so if usage is greater than 25gb then you get a over 100%... so the ring will just keep going.
you could put in
if usage >= 25 then usage=25 end
you could put other stuff in the if to change the color of the ring, or display a "Monthly Limit Exceeded"
although how can you go over 25 if there is a limit in the first place? or is it more a case of fines and such?
you could have the script calculate how much you owe
Last edited by mrpeachy; January 10th, 2011 at 02:31 AM.
It's actually, in my case, if you go over you pay more per GB. Would be nice to change the colour based on how much it went over, or perhaps draw a small line at the end of the defined area so you can physically see it go over. But, honestly? I like it this way. I might tweak the transparency to achieve this, I don't know. I do know it's pretty sweet the way it shows a near complete circle because of the numbers. (For $2.50 overage per GB, it's not a huge deal.)
is there a way to do a yearly vnstat total of up and down.
I'm a super power user
I cannot believe that this thread is still going! Time for me to jump back in conk-ify my Ubuntu install running on my CR-48 I suppose.
~~Runs off to steal some of Bruce's conky scripts
hippyrandall.com | This is the first age that's paid much attention to the future, which is alittle ironic since we may not have one. -- Arthur Clarke
Bookmarks