SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-12-31 23:57:41

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

Conky v1.9 Thread

[url=http://link.to.your.fullsized.image][img]http://link.to.your.thumbnail.image[/img][/url]

Last edited by pvsage (2012-01-10 06:02:41)

Offline

Be excellent to each other!

#2 2012-01-01 11:32:39

ackernan
#! Junkie
Registered: 2011-01-10
Posts: 403

Re: Conky v1.9 Thread

Yeah! I'm the first (second?) post of the New Year!

@pvsavsage - Did you take this over from sector11 ?

I have a simple problem, it's more annoying then anything.  My if_existing statements are kinda working.  They show properly in conky but in a terminal I get an error about them. 

These are for removeable/external drives.  My thought is the lines would be skipped if they are not mounted.

${goto 60}${if_existing /media/Linux}Linux:  ${fs_size /media/Linux} ${alignr 5}${fs_free /media/Linux} free${else}Linux:  Not Mounted${endif}
${goto 60}${if_existing /media/Stuff}Stuff:  ${fs_size /media/Stuff} ${alignr 5}${fs_free /media/Stuff} free${else}Stuff:   Not mounted${endif}

In a terminal I get..

Conky: statfs '/media/Stuff': No such file or directory
Conky: statfs '/media/Linux': No such file or directory

Last edited by ackernan (2012-01-01 11:56:11)

Offline

#3 2012-01-01 14:45:46

Dodge ram
#! CrunchBanger
Registered: 2011-04-26
Posts: 140

Re: Conky v1.9 Thread

Last edited by Dodge ram (2012-01-01 16:51:09)

Offline

#4 2012-01-01 15:33:14

Dodge ram
#! CrunchBanger
Registered: 2011-04-26
Posts: 140

Re: Conky v1.9 Thread

${font Sans:size=8:weight=bold}${color4}TEMPS ${hr 2}$color
${font}${color2}${exec sensors | grep "Core 0:"}
${exec sensors | grep "Core 1:"}
${exec sensors | grep "fan1:" | sed 's/fan1/CPU Fan/'}
${exec sensors | grep "fan2:" | sed 's/fan2/Case Fan/'}
Drive Temp: ${execi 10 hddtemp /dev/sda1 |cut -c36-40}

Offline

#5 2012-01-01 16:22:38

ackernan
#! Junkie
Registered: 2011-01-10
Posts: 403

Re: Conky v1.9 Thread

${font Sans:size=8:weight=bold}${color4}TEMPS ${hr 2}$color
${font}${color2}${exec sensors | grep "Core 0:"}
${exec sensors | grep "Core 1:"}
${exec sensors | grep "fan1:" | sed 's/fan1/CPU Fan/'}
${exec sensors | grep "fan2:" | sed 's/fan2/Case Fan/'}
Drive Temp: ${execi 10 hddtemp /dev/sda1 |cut -c36-40}

Last edited by ackernan (2012-01-01 16:29:11)

Offline

#6 2012-01-01 16:54:24

Dodge ram
#! CrunchBanger
Registered: 2011-04-26
Posts: 140

Re: Conky v1.9 Thread

Ok, thanks and thanks. I'll try that in a little while.
The conky is a modified version from mrpeachy from VinDSL. Once I get done with it I am going to post my code. Thanks mrpeachy.

Offline

#7 2012-01-01 20:23:04

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

Re: Conky v1.9 Thread

Offline

#8 2012-01-01 21:06:03

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

xftfont woodbadge:size=160
TEXT
${color 6A471D}${alignc}happy


${alignc}everyone${color}

Offline

#9 2012-01-01 22:43:59

Dodge ram
#! CrunchBanger
Registered: 2011-04-26
Posts: 140

Re: Conky v1.9 Thread

Good job! Happy New Year to you

Offline

#10 2012-01-01 23:13:27

Dodge ram
#! CrunchBanger
Registered: 2011-04-26
Posts: 140

Re: Conky v1.9 Thread

Sector11, I am soon going to get the weather conky going. I would like to still use the one that you gave me. Is that possible with the new weather feed? If it is what way is it best to do it. I have seen there are 3 different ways to access it. Thanks

Offline

#11 2012-01-01 23:45:51

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

Last edited by Sector11 (2012-04-24 17:39:38)

Offline

#12 2012-01-02 03:15:51

ackernan
#! Junkie
Registered: 2011-01-10
Posts: 403

Re: Conky v1.9 Thread

${goto 60}${if_existing /media/Linux}Linux:  ${fs_size /media/Linux} ${alignr 5}${fs_free /media/Linux} free${else}Linux:  Not Mounted${endif}
${goto 60}${if_existing /media/Stuff}Stuff:  ${fs_size /media/Stuff} ${alignr 5}${fs_free /media/Stuff} free${else}Stuff:   Not mounted${endif}

Offline

#13 2012-01-02 03:35:22

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

Re: Conky v1.9 Thread

I know this doesn't help much (at all?), but I had a similar issue when I was insanely obsessed with the temperatures on my desktop PC.  ($if_existing errored out if the wrong hardware sensor was detected first at boot and a particular virtual file didn't exist.)  In my case, the error killed my Conky rather than just throwing errors.

Offline

#14 2012-01-02 03:54:47

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

Conky: statfs '/media/Stuff': No such file or directory
Conky: statfs '/media/Linux': No such file or directory

Last edited by Sector11 (2012-01-02 03:55:39)

Offline

#15 2012-01-02 06:05:25

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: Conky v1.9 Thread

Offline

#16 2012-01-02 11:40:30

ackernan
#! Junkie
Registered: 2011-01-10
Posts: 403

Re: Conky v1.9 Thread

if_mounted
     (mountpoint)
     if MOUNTPOINT is mounted, display everything between $if_mounted and the matching $endif

Last edited by ackernan (2012-01-02 11:41:41)

Offline

#17 2012-01-02 13:19:13

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

if_mounted

Last edited by Sector11 (2012-01-02 13:22:57)

Offline

#18 2012-01-02 14:32:28

Dodge ram
#! CrunchBanger
Registered: 2011-04-26
Posts: 140

Re: Conky v1.9 Thread

Last edited by Dodge ram (2012-01-02 15:22:27)

Offline

#19 2012-01-02 16:26:35

ackernan
#! Junkie
Registered: 2011-01-10
Posts: 403

Re: Conky v1.9 Thread

${goto 60}Disk temp: ${color 88ECE0}${execpi 300 hddtemp -u f /dev/sda | cut -c 35-40}${color}

Last edited by ackernan (2012-01-02 16:48:50)

Offline

#20 2012-01-02 17:55:29

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: Conky v1.9 Thread

@ackernan.. Thanks.  You have become a master conky manipulator in a short period of time, of course learning from the Legend S11 helps..

S11 - Working on testing tint2 now with new variables made available.. If the they ever come through with making Launchers behave the same as Tasks it would be so much easier..  Specifically iconify/deiconify .... Getting there slowly.. Thanks!

Offline

#21 2012-01-02 19:13:58

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

${execpi 15 hddtemp -n /dev/sda1}°

Offline

#22 2012-01-02 19:18:53

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

Offline

#23 2012-01-02 21:15:48

ackernan
#! Junkie
Registered: 2011-01-10
Posts: 403

Re: Conky v1.9 Thread

${execpi 15 hddtemp -n /dev/sda1}°

Offline

#24 2012-01-02 21:19:50

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: Conky v1.9 Thread

@ackernan hddtemp -n works perfectly for me..  I use it on every machine and on each it does as Sector12 says...

I use it this way:

${execi 5 hddtemp -n /dev/sda}°

Last edited by VastOne (2012-01-02 21:21:18)

Offline

Be excellent to each other!

#25 2012-01-02 21:30:25

ackernan
#! Junkie
Registered: 2011-01-10
Posts: 403

Re: Conky v1.9 Thread

${execi 5 hddtemp -n /dev/sda}°

Last edited by ackernan (2012-01-02 22:15:06)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo