Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Conky [Part 1]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4 ... 29, 30, 31  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
brenden
l33t
l33t


Joined: 09 Mar 2004
Posts: 710
Location: Calgary, AB

PostPosted: Fri Jul 01, 2005 8:22 pm    Post subject: Reply with quote

Lord Vader wrote:
How do i enable all those stuffs you asked me to enable?8O

EDIT: I emerged conky not download the source and make the files by hand..

Conky 1.1 will be out very soon, which fixes this. The double buffering code is still there, but there is an error in the configure script for 1.0.
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Fri Jul 01, 2005 9:20 pm    Post subject: Reply with quote

I have a feature request.

I have a centrino laptop, and I was wondering if there was a way to add the cpu speed to conky, I am currently using gkrellm, as it has a lot of features I like, mainly the following:

Battry life
A cool weather plugin (not that I really use it that much)
CPU Usage
A wireless link strength plugin.

Is there any of that for conky?
The thing that I want the most is CPU Speed/temp/usage and RAM usage/free
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
brenden
l33t
l33t


Joined: 09 Mar 2004
Posts: 710
Location: Calgary, AB

PostPosted: Fri Jul 01, 2005 10:07 pm    Post subject: Reply with quote

beatryder wrote:
I have a feature request.

I have a centrino laptop, and I was wondering if there was a way to add the cpu speed to conky, I am currently using gkrellm, as it has a lot of features I like, mainly the following:

Battry life
A cool weather plugin (not that I really use it that much)
CPU Usage
A wireless link strength plugin.

Is there any of that for conky?
The thing that I want the most is CPU Speed/temp/usage and RAM usage/free

Battery and CPU usage are in Conky already. There are many scripts available in this thread for adding weather stuff (I will not include this in the main tree at this time, perhaps later). As for wireless strength, that is definitely a possibility, however I have no way to test this since I don't have a machine with Linux and a wireless card (that works).
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Fri Jul 01, 2005 10:15 pm    Post subject: Reply with quote

And one for CPU speed? I like to know how fast my machine is running at a glance, is this possible with out having conky run scripts at intervals?
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Fri Jul 01, 2005 10:58 pm    Post subject: Reply with quote

beatryder wrote:
And one for CPU speed? I like to know how fast my machine is running at a glance, is this possible with out having conky run scripts at intervals?


well you could exec a cat, but you would probably have to execute something.

a function like $read instead of exec would possibly be usefull, I can imagine exec cat is used quite a lot.
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Fri Jul 01, 2005 11:55 pm    Post subject: Reply with quote

another feature that could be neat is a "second" text box.

I monitor my server and my desktop computer (server using snmp), and it'd be nice to have two seperate windows for em without running two torsmo instances.
Back to top
View user's profile Send private message
Filedil
n00b
n00b


Joined: 29 Jun 2005
Posts: 4

PostPosted: Sat Jul 02, 2005 12:09 am    Post subject: Reply with quote

Apparently my dirty hack is in the newest snapshot, but this was just an example of how formulas work. It will work only on A7V600-X mainboard (which I have), and will break things terribly where formulas aren't needed (if there are such sensors). That's why I described the X,Y,Z thing. :)

And now for something completely different. Do the mail checkers work properly? I have mail_spool set to an spool mbox, but after reading the mails, when they are deleted from there, and the file has zero size, conky still thinks some mail is there. Is it conky's problem, or do I have something set wrong in the system?
Back to top
View user's profile Send private message
brenden
l33t
l33t


Joined: 09 Mar 2004
Posts: 710
Location: Calgary, AB

PostPosted: Sat Jul 02, 2005 12:21 am    Post subject: Reply with quote

beatryder wrote:
And one for CPU speed? I like to know how fast my machine is running at a glance, is this possible with out having conky run scripts at intervals?

Conky can do all this. Take a look at $exec, $execi, $execbar, and $freq.
Back to top
View user's profile Send private message
brenden
l33t
l33t


Joined: 09 Mar 2004
Posts: 710
Location: Calgary, AB

PostPosted: Sat Jul 02, 2005 12:22 am    Post subject: Reply with quote

Filedil wrote:
Apparently my dirty hack is in the newest snapshot, but this was just an example of how formulas work. It will work only on A7V600-X mainboard (which I have), and will break things terribly where formulas aren't needed (if there are such sensors). That's why I described the X,Y,Z thing. :)

And now for something completely different. Do the mail checkers work properly? I have mail_spool set to an spool mbox, but after reading the mails, when they are deleted from there, and the file has zero size, conky still thinks some mail is there. Is it conky's problem, or do I have something set wrong in the system?

No idea if the mail stuff works. As for the i2c thing, it works just fine here (with or without your code), so I'm not sure what you're getting at.
Back to top
View user's profile Send private message
brenden
l33t
l33t


Joined: 09 Mar 2004
Posts: 710
Location: Calgary, AB

PostPosted: Sat Jul 02, 2005 12:24 am    Post subject: Reply with quote

neuron wrote:
another feature that could be neat is a "second" text box.

I monitor my server and my desktop computer (server using snmp), and it'd be nice to have two seperate windows for em without running two torsmo instances.

Are you suggesting multiple windows?

That could be something for 1.2.
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Sat Jul 02, 2005 12:31 am    Post subject: Reply with quote

brenden wrote:
beatryder wrote:
And one for CPU speed? I like to know how fast my machine is running at a glance, is this possible with out having conky run scripts at intervals?

Conky can do all this. Take a look at $exec, $execi, $execbar, and $freq.


OMG PERFECT!!!!


You may also want to edit the mandocs, as they all reverence torsmo
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
Filedil
n00b
n00b


Joined: 29 Jun 2005
Posts: 4

PostPosted: Sat Jul 02, 2005 12:45 am    Post subject: Reply with quote

brenden:

The (-15.096+1.4893*@) formula is for A7V8X-X mainboard only. For example, for A7V600 it should be (@+128)/3 (@ is value in tempx_input). And there are many more different formulas for different sensors and mainboards. So it shouldn't be hardcoded, like it is now. I don't know why it works for you, my guess is you don't use temp1_input, or you use exec or something like that.
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Sat Jul 02, 2005 2:21 am    Post subject: Reply with quote

How would I use the same temp readings as gkrellm?? I dont have support for i2c.

[edit]
Nevermind

I just RTFM'd
[/edit]
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>


Last edited by beatryder on Sat Jul 02, 2005 2:42 am; edited 1 time in total
Back to top
View user's profile Send private message
brenden
l33t
l33t


Joined: 09 Mar 2004
Posts: 710
Location: Calgary, AB

PostPosted: Sat Jul 02, 2005 2:24 am    Post subject: Reply with quote

beatryder wrote:
OMG PERFECT!!!!


You may also want to edit the mandocs, as they all reverence torsmo

I will get around to it for 1.1.
Back to top
View user's profile Send private message
brenden
l33t
l33t


Joined: 09 Mar 2004
Posts: 710
Location: Calgary, AB

PostPosted: Sat Jul 02, 2005 10:13 am    Post subject: Reply with quote

I'm getting ready to release 1.1 as the new stable build. The sooner people can test it and report back as to any problems (or hopefully lack thereof) the sooner I can release it.

Download the snapshot from http://conky.rty.ca/conky-1.1.tar.bz2

Please take a look at the changelog to see what is new.

Thanks in advance.
Back to top
View user's profile Send private message
tchak
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2003
Posts: 124
Location: France/Russia

PostPosted: Sat Jul 02, 2005 3:25 pm    Post subject: Reply with quote

pleas how could I have some utf8 text in conky?
I supose I have to define a font with utf8 suport but could not figured it out.

Othe isue, then I change my desktop background (and I like to change it offen) it switch to the new bg then conky disapear, then it come back and the old bg came back, then I click or move a window the new bg come back and all work well. It is juste that this transition is a litel anoying. Is ther something to do?
_________________
maybe this world is another planet's hell...
Athlon64 | ATI Mobility Radeon 9700 | Netgear (Prism54) + ASUS (USB2 ZD1211)
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Sat Jul 02, 2005 4:10 pm    Post subject: Reply with quote

Do I have to replace anything with that? It doesn't work if I just insert it at the bottom.

One suggestion for your program is to have a close button it. I like when its drawn to the desktop, but if I want it gone I have to kill the process.
Back to top
View user's profile Send private message
brenden
l33t
l33t


Joined: 09 Mar 2004
Posts: 710
Location: Calgary, AB

PostPosted: Sat Jul 02, 2005 4:59 pm    Post subject: Reply with quote

avieth wrote:
Do I have to replace anything with that? It doesn't work if I just insert it at the bottom.

One suggestion for your program is to have a close button it. I like when its drawn to the desktop, but if I want it gone I have to kill the process.

Take a look at the sample config. It will be at /usr/share/doc/conky-1.0/conkyrc.sample.gz if you emerged 1.0. As for a close button, thats probably not going to happen any time soon.
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Sat Jul 02, 2005 5:23 pm    Post subject: Reply with quote

is there a possibility of a stdin command to kill it

something like
Code:
# conky --stop

_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Sat Jul 02, 2005 5:24 pm    Post subject: Reply with quote

beatryder wrote:
is there a possibility of a stdin command to kill it

something like
Code:
# conky --stop


killall conky? ;)
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Sat Jul 02, 2005 6:53 pm    Post subject: Reply with quote

I just tried both the conky ebuild in portage and the 1.1 version on the site, and it won't compile, fails very early in the compile process, spitting out a bunch of errors, the last few of which are below;
Code:
x11.o(.text+0x95b): In function `init_window':
: undefined reference to `XdbeAllocateBackBufferName'
x11.o(.text+0x9f7): In function `init_window':
: undefined reference to `XChangeProperty'
x11.o(.text+0xa48): In function `init_window':
: undefined reference to `XChangeProperty'
x11.o(.text+0xa55): In function `init_window':
: undefined reference to `XFree'
x11.o(.text+0xaa4): In function `init_window':
: undefined reference to `XFree'
x11.o(.text+0xab0): In function `init_window':
: undefined reference to `XFree'
x11.o(.text+0xb15): In function `create_gc':
: undefined reference to `XCreateGC'
collect2: ld returned 1 exit status
make[1]: *** [conky] Error 1
make[1]: Leaving directory `/var/tmp/portage/conky-1.1/work/conky-1.1'
make: *** [all] Error 2

It looks like something basic is missing from my system, but I have no idea what that is. Does anyboy know what's wrong, or has anybody else experienced a similar problem?
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
brenden
l33t
l33t


Joined: 09 Mar 2004
Posts: 710
Location: Calgary, AB

PostPosted: Sat Jul 02, 2005 7:27 pm    Post subject: Reply with quote

Hopeless wrote:
I just tried both the conky ebuild in portage and the 1.1 version on the site, and it won't compile, fails very early in the compile process, spitting out a bunch of errors, the last few of which are below;
Code:
x11.o(.text+0x95b): In function `init_window':
: undefined reference to `XdbeAllocateBackBufferName'
x11.o(.text+0x9f7): In function `init_window':
: undefined reference to `XChangeProperty'
x11.o(.text+0xa48): In function `init_window':
: undefined reference to `XChangeProperty'
x11.o(.text+0xa55): In function `init_window':
: undefined reference to `XFree'
x11.o(.text+0xaa4): In function `init_window':
: undefined reference to `XFree'
x11.o(.text+0xab0): In function `init_window':
: undefined reference to `XFree'
x11.o(.text+0xb15): In function `create_gc':
: undefined reference to `XCreateGC'
collect2: ld returned 1 exit status
make[1]: *** [conky] Error 1
make[1]: Leaving directory `/var/tmp/portage/conky-1.1/work/conky-1.1'
make: *** [all] Error 2

It looks like something basic is missing from my system, but I have no idea what that is. Does anyboy know what's wrong, or has anybody else experienced a similar problem?

What version of Xorg are you using?

I have seen this before, however it was solved by using an ebuild instead of compiling manually.
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Sat Jul 02, 2005 7:36 pm    Post subject: Reply with quote

neuron wrote:
beatryder wrote:
is there a possibility of a stdin command to kill it

something like
Code:
# conky --stop


killall conky? ;)


Yes that works, however I felt that conky --stop would be a more elegant solution, and would also have a function to clean up after itself.

I dont know how conky works, but I do know that orphaned processes can use ram.
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Sun Jul 03, 2005 5:24 am    Post subject: Reply with quote

brenden wrote:
What version of Xorg are you using?

I have seen this before, however it was solved by using an ebuild instead of compiling manually.

I've only tried the ebuilds, (it's easier + I'm lazy).

I'm using the latest stable x86 xorg, heres the output from "emerge -pv xorg-x11". Could it be an issue with the use flags for that package?
Code:
[ebuild   R   ] x11-base/xorg-x11-6.8.2-r1  -3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc +font-server -hardened -insecure-drivers -ipv6 -minimal +mmx +nls +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv

Anyway, thanks for any help you can give.

Edit; damn typos
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
pussi
l33t
l33t


Joined: 08 May 2004
Posts: 727
Location: Finland

PostPosted: Sun Jul 03, 2005 5:08 pm    Post subject: Reply with quote

Just got idea for another good feature: integrated rss feed support. :)
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3, 4 ... 29, 30, 31  Next
Page 3 of 31

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum