Re: The New Monster Conky Thread

Dodge ram wrote:

No No No ackernan. I want to get rid of (high = +76.0 C, crit = +100.0 C) where my Core Temps are.
http://s16.postimage.org/g6rmvouhd/temps.jpg
I guess I am going to have to poke around and read up on hwmon. I have always linked to the sensors. Yes I do have "override_utf8_locale yes"  in the conky.

Use the commands: sensors, grep, and cut to get the characters you want to display in the conky (example in screenshot). The characters you cut (the -c16-22 part) will vary.

If you have more than one temp1 (temp2, Core0 etc ...) then you'll need to use sed or awk to parse out the data you want.

http://ompldr.org/tYzFjdg

"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Re: The New Monster Conky Thread

Dodge ram wrote:

No No No ackernan. I want to get rid of (high = +76.0 C, crit = +100.0 C) where my Core Temps are.
http://s16.postimage.org/g6rmvouhd/temps.jpg
I guess I am going to have to poke around and read up on hwmon. I have always linked to the sensors. Yes I do have "override_utf8_locale yes"  in the conky.


OK, lets do this!  Create a test conky: tempsconky <<--- nice name

and we'll work with this:

Core 1:      +37.0 C  (high = +76.0 C, crit = +100.0 C)

tempsconky

# killall conky && conky -c ~/conky/tempsconky &

background no
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_title conky
double_buffer yes
use_spacer left
override_utf8_locale yes
use_xft yes
xftfont monospace:size=10
xftalpha 2.5
uppercase no  # set to yes if you want all text to be in uppercase
stippled_borders 0
# border_inner_margin 0
# border_outer_margin 0
border_width 0
default_outline_color black
default_shade_color black
draw_borders no
draw_outline yes  # amplifies text if yes
draw_shades no  # shadecolor black

default_color DCDCDC #Gainsboro
color0 7FFFD4 #Aquamarine
color1 CD5C5C #IndianRed
color2 FF8C00 #Darkorange
color3 7FFF00 #Chartreuse
color4 778899 #LightSlateGrey
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 48D1CC #MediumTurquoise
color8 FFFF00 #Yellow
color9 FF0000 #Red

alignment tl  # Aligned position on screen: tl, tr, tm, bl, br, bm, ml, mr
gap_x 10
gap_y 10
text_buffer_size 512 # use 1024 for the forecast
no_buffers yes  # Subtract file system buffers from used memory?
short_units yes
pad_percents 2
maximum_width 280
minimum_size 280 280
update_interval 1.0

TEXT
${execpi 8 sensors | grep 'Core 1:' | cut --characters 1-60}

The results should show EVERYTHING on that line.

now start increasing 1-60 a few at a time 5-60, 10-60, 15 - that should be 1 too many:

14-60

if you see:

37.0 C  (high = +76.0 C, crit = +100.0 C)

the next step is easy:

14-15 - if you see:

3

14-16 = 37

so the line will be:

TEXT
${execpi 8 sensors | grep 'Core 1:' | cut --characters 14-16}°

add the  °  symbol (past it from here)

More info: Using Sensors

EDIT:
Here's my sensors (again):

  14:33:47 ~
         $ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +30.0°C  (crit = +110.0°C)

k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +38.5°C  (high = +70.0°C)

f71862fg-isa-0a00
Adapter: ISA adapter
+3.3V:        +3.47 V  
in1:          +1.33 V  
in2:          +1.51 V  
in3:          +0.86 V  
in4:          +0.00 V  
in5:          +0.00 V  
in6:          +0.00 V  
3VSB:         +3.41 V  
Vbat:         +2.94 V  
fan1:        1590 RPM
fan2:           0 RPM  ALARM
fan3:           0 RPM  ALARM
temp1:        +36.0°C  (high = +85.0°C, hyst = +81.0°C)
                       (crit = +255.0°C, hyst = +251.0°C)  sensor = transistor
temp2:        +36.0°C  (high = +85.0°C, hyst = +81.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)  sensor = thermistor
temp3:       +127.0°C  (high = +70.0°C, hyst = +68.0°C)  ALARM (CRIT)
                       (crit = +85.0°C, hyst = +83.0°C)  sensor = transistor
  14:33:53 ~
         $ 

and the process of getting that info into a conky:

-cut -c 1-60 is the same as: -cut -characters 1-60

Starting with 1-60 (thumbs for first and last only):
1. http://thumbnails52.imagebam.com/16784/11f651167834263.jpg
2. http://www.imagebam.com/image/d846a2167834271
3. http://www.imagebam.com/image/333933167834281
4. http://www.imagebam.com/image/f1ef5b167834286
5. http://www.imagebam.com/image/2c16bd167834294
6. http://thumbnails43.imagebam.com/16784/ee2dbc167834302.jpg <<-- all done!

I left that 36.0°C like that on purpose. trimming the 16-22 back to 16-17 would have fixed that.

And I can probably use hwmon for all that as well!
LINUX = CHOICES!

Last edited by Sector11 (2012-01-03 17:51:13)

Re: The New Monster Conky Thread

Dodge ram wrote:

No No No ackernan. I want to get rid of (high = +76.0 C, crit = +100.0 C) where my Core Temps are.
http://s16.postimage.org/g6rmvouhd/temps.jpg
I guess I am going to have to poke around and read up on hwmon. I have always linked to the sensors. Yes I do have "override_utf8_locale yes"  in the conky.

hwmon in conky doesn't show that info, you're using sensors for the info.

Look at the conky I posted here, http://crunchbanglinux.org/forums/post/175801/#p175801 it's using hwmon from conky to get my core temps.

Last edited by ackernan (2012-01-03 17:31:31)

Re: The New Monster Conky Thread

I'm still working on this..


http://th00.deviantart.net/fs70/150/i/2012/004/6/e/back_to_conky_and_lua_by_falldown_aka_chris-d4la9sg.png

I'm pretty sure that zombies really do exist...
MrPeachy's v9000      Sector11's Conky PitStop      My Gallery

Re: The New Monster Conky Thread

falldown wrote:

I'm still working on this..


http://th00.deviantart.net/fs70/150/i/2012/004/6/e/back_to_conky_and_lua_by_falldown_aka_chris-d4la9sg.png

Looks good.  I like the clean look of it.

Re: The New Monster Conky Thread

falldown wrote:

I'm still working on this..


http://th00.deviantart.net/fs70/150/i/2012/004/6/e/back_to_conky_and_lua_by_falldown_aka_chris-d4la9sg.png

Sweet - LUA?

Re: The New Monster Conky Thread

^ Thank you. I still have some more tweaking to do. and yes sir.. It's a modified Lua rings based on wlourf's code.

@ackernan.. Thank you. I'm going to do away with Cairo-dock and modify my tint2 similar to that of Vastone's.

I'm pretty sure that zombies really do exist...
MrPeachy's v9000      Sector11's Conky PitStop      My Gallery

Re: The New Monster Conky Thread

^ Looks and sounds good falldown, if you need anything let me know...

Re: The New Monster Conky Thread

@VastOne.. Thank you and thanks to your great how-to it was a breeze!!

Here it is with the modified Tint2..
http://th05.deviantart.net/fs71/150/i/2012/004/3/9/back_to_conky_and_lua_by_falldown_aka_chris-d4la9sg.png

Now I just need to find or create some icons to match the set-up!!

I'm pretty sure that zombies really do exist...
MrPeachy's v9000      Sector11's Conky PitStop      My Gallery

Re: The New Monster Conky Thread

^ Great to hear..  There are some new options with Tint2 if you are interested.. I may add the new items and How to get them on that How To, or start another one.. not sure which way to go

Edit - If you like any of my icons I can post them for you...

Last edited by VastOne (2012-01-04 23:49:54)

Re: The New Monster Conky Thread

@ falldown, I did create a new How To regarding the latest Tint2 code and three new items ..

How To - Latest Tint2 Code and New Tint2 Additions

Re: The New Monster Conky Thread

@VastOne Thanks for the Link! I think that I might create a new icon theme (something that I have been wanting to do). Anyway I think that I have pulled us off topic big_smile

I'm pretty sure that zombies really do exist...
MrPeachy's v9000      Sector11's Conky PitStop      My Gallery

Re: The New Monster Conky Thread

VastOne wrote:

@ falldown, I did create a new How To regarding the latest Tint2 code and three new items ..

How To - Latest Tint2 Code and New Tint2 Additions

Oh Great Kahless of #!, does one need to carry a bat'leth while reading that thread?

Re: The New Monster Conky Thread

^ A Klingon warrior never leave home without his bat'leth  big_smile cool

Re: The New Monster Conky Thread

Hi community,

There are two config-files: /etc/conky/conky.conf and /home/user/.conkyrc

Which one is relevant or dominant?

Just installed background wallpaper. Unfortunately I am not able to change text colour.

What to do?

Thank you for your attention,

best regards,

hans1967

Re: The New Monster Conky Thread

Welcome to #! hans1967, enjoy the baklava!

/home/user/.conkyrc is the conky config file needed for anything, but you can use multiple conky configurations

To create a second config file, you could name it .conkyhansrc and then load it

conky -c .conkyhansrc

-c is telling conky to use a configuration file

Last edited by VastOne (2012-01-05 23:02:36)

Re: The New Monster Conky Thread

Welcome hans1967!  Enjoy the Berliners.

To answer your question, I think that when you run `conky` without specifying a particular config file, it first looks for ~/.conkyrc; if it doesn't find that, it looks for /etc/conky/conky.conf.  If it doesn't find either of those, I'm sure Conky has its own native default config.

while ( ! ( succeed = try() ) );

Re: The New Monster Conky Thread

@ VastOne, @ pvsage,

Thank you for your prompt answers.

My problem concerning configuring text color persists nevertheless.

I just installed a photo background wallpaper. Unfortunately I am not able to change text colour. I have already experimented a lot.

What to do?

Thank you for your attention,

best regards,

hans1967

Re: The New Monster Conky Thread

Do you have compositor enabled?

Are you using Openbox?


To change the font color, change this line

default_color 656667

default_color 8EB4C7  would make it blue

default_color ffffff would make it white

default_color 000000 would make it black

default_color #11FF00 is green

default_color FDFF00 is Yellow

default_color BA00FF is purple

What color would you like it to be?

When you are editing  .conkyrc and save it, the changes should reflect immediately on the conky on your desktop .. So change the color and then save it.. and you should see the change

Re: The New Monster Conky Thread

@ hans1967 - welcome to #! - enjoy thew bratwurst mit brochen.  big_smile

When conky (the program) is installed it places a default conky in /etc/conky/conky.conf that will run if you type

conky

in a terminal if ~/.conkyrc does not exist.

The file ~/.conkyrc must be created by the user, it is not installed automatically.  However, some distros, such as CrunchBang, create a default ~/.conkyrc for their specific distro.

So there you have it, a default conky that is (opinion) bad at /etc/conky/conky.conf and the CrunchBang created conky at ~/.conkyrc that you can start with

conkywonky

That will kill the conky and resoat it, another CrunchBang feature.

pvsage was right, conky has a default at /etc/conky/conky.conf

VastOne was almost right, the file /home/user/.conkyrc is the one created that conky will find with no help.
And as VastOne said you can use any file with the -c option...

conky -c ~/path/to/a_conky_file
conky -c ~/UncleBob/myuncle

will both work if: a_conky_file & myuncle are properly setup conky files.

To change the color of the "Crunchbang" conky open it with:

geany ~/.conkyrc

and change the default color here:

default_color 656667

Colours you can use:
You can use the Hex Code OR the HTML Name in the conky

default_color DC143C
default_color Crimson

The list:

Hex        Decimal        142 colours
code        code            HTML name

    Red colors
CD5C5C     205  92  92    IndianRed
F08080     240 128 128    LightCoral
FA8072     250 128 114    Salmon
E9967A     233 150 122    DarkSalmon
FFA07A     255 160 122    LightSalmon
DC143C     220  20  60    Crimson
FF0000     255   0   0    Red
B22222     178  34  34    FireBrick
8B0000     139   0   0    DarkRed

    Pink colors
FFC0CB     255 192 203    Pink
FFB6C1     255 182 193    LightPink
FF69B4     255 105 180    HotPink
FF1493     255  20 147    DeepPink
C71585     199  21 133    MediumVioletRed
DB7093     219 112 147    PaleVioletRed

    Orange colors
FFA07A     255 160 122    LightSalmon
FF7F50     255 127  80    Coral
FF6347     255  99  71    Tomato
FF4500     255  69   0    OrangeRed
FF8C00     255 140   0    DarkOrange
FFA500     255 165   0    Orange

    Yellow colors
FFD700     255 215   0    Gold
FFFF00     255 255   0    Yellow
FFFFE0     255 255 224    LightYellow
FFFACD     255 250 205    LemonChiffon
FAFAD2     250 250 210    LightGoldenrodYellow
FFEFD5     255 239 213    PapayaWhip
FFE4B5     255 228 181    Moccasin
FFDAB9     255 218 185    PeachPuff
EEE8AA     238 232 170    PaleGoldenrod
F0E68C     240 230 140    Khaki
BDB76B     189 183 107    DarkKhaki

    Purple colors
E6E6FA     230 230 250    Lavender
D8BFD8     216 191 216    Thistle
DDA0DD     221 160 221    Plum
EE82EE     238 130 238    Violet
DA70D6     218 112 214    Orchid
FF00FF     255   0 255    Fuchsia
FF00FF     255   0 255    Magenta
BA55D3     186  85 211    MediumOrchid
9370DB     147 112 219    MediumPurple
8A2BE2     138  43 226    BlueViolet
9400D3     148   0 211    DarkViolet
9932CC     153  50 204    DarkOrchid
8B008B     139   0 139    DarkMagenta
800080     128   0 128    Purple
4B0082      75   0 130    Indigo
6A5ACD     106  90 205    SlateBlue
483D8B      72  61 139    DarkSlateBlue
7B68EE     123 104 238    MediumSlateBlue

    Green colors
ADFF2F     173 255  47    GreenYellow
7FFF00     127 255   0    Chartreuse
7CFC00     124 252   0    LawnGreen
00FF00       0 255   0    Lime
32CD32      50 205  50    LimeGreen
98FB98     152 251 152    PaleGreen
90EE90     144 238 144    LightGreen
00FA9A       0 250 154    MediumSpringGreen
00FF7F       0 255 127    SpringGreen
3CB371     60 179 113    MediumSeaGreen
2E8B57      46 139  87    SeaGreen
228B22      34 139  34    ForestGreen
008000       0 128   0    Green
006400       0 100   0    DarkGreen
9ACD32     154 205  50    YellowGreen
6B8E23     107 142  35    OliveDrab
808000     128 128   0    Olive
556B2F      85 107  47    DarkOliveGreen
66CDAA     102 205 170    MediumAquamarine
8FBC8F     143 188 143    DarkSeaGreen
20B2AA      32 178 170    LightSeaGreen
008B8B       0 139 139    DarkCyan
008080       0 128 128    Teal

    Blue/Cyan colors
00FFFF       0 255 255    Aqua
00FFFF       0 255 255    Cyan
E0FFFF     224 255 255    LightCyan
AFEEEE     175 238 238    PaleTurquoise
7FFFD4     127 255 212    Aquamarine
40E0D0      64 224 208    Turquoise
48D1CC      72 209 204    MediumTurquoise
00CED1       0 206 209    DarkTurquoise
5F9EA0      95 158 160    CadetBlue
4682B4      70 130 180    SteelBlue
B0C4DE     176 196 222    LightSteelBlue
B0E0E6     176 224 230    PowderBlue
ADD8E6     173 216 230    LightBlue
87CEEB     135 206 235    SkyBlue
87CEFA     135 206 250    LightSkyBlue
00BFFF       0 191 255    DeepSkyBlue
1E90FF      30 144 255    DodgerBlue
6495ED     100 149 237    CornflowerBlue
7B68EE     123 104 238    MediumSlateBlue
4169E1      65 105 225    RoyalBlue
0000FF       0   0 255    Blue
0000CD       0   0 205    MediumBlue
00008B       0   0 139    DarkBlue
000080       0   0 128    Navy
191970      25  25 112    MidnightBlue

    Brown colors
FFF8DC     255 248 220    Cornsilk
FFEBCD     255 235 205    BlanchedAlmond
FFE4C4     255 228 196    Bisque
FFDEAD     255 222 173    NavajoWhite
F5DEB3     245 222 179    Wheat
DEB887     222 184 135    BurlyWood
D2B48C     210 180 140    Tan
BC8F8F     188 143 143    RosyBrown
F4A460     244 164  96    SandyBrown
DAA520     218 165  32    Goldenrod
B8860B     184 134  11    DarkGoldenrod
CD853F     205 133  63    Peru
D2691E     210 105  30    Chocolate
8B4513     139  69  19    SaddleBrown
A0522D     160  82  45    Sienna
A52A2A     165  42  42    Brown
800000     128   0   0    Maroon

    White colors
FFFFFF     255 255 255    White
FFFAFA     255 250 250    Snow
F0FFF0     240 255 240    Honeydew
F5FFFA     245 255 250    MintCream
F0FFFF     240 255 255    Azure
F0F8FF     240 248 255    AliceBlue
F8F8FF     248 248 255    GhostWhite
F5F5F5     245 245 245    WhiteSmoke
FFF5EE     255 245 238    Seashell
F5F5DC     245 245 220    Beige
FDF5E6     253 245 230    OldLace
FFFAF0     255 250 240    FloralWhite
FFFFF0     255 255 240    Ivory
FAEBD7     250 235 215    AntiqueWhite
FAF0E6     250 240 230    Linen
FFF0F5     255 240 245    LavenderBlush
FFE4E1     255 228 225    MistyRose

    Gray colors
DCDCDC     220 220 220    Gainsboro
D3D3D3     211 211 211    LightGrey
C0C0C0     192 192 192    Silver
A9A9A9     169 169 169    DarkGray
808080     128 128 128    Gray
696969     105 105 105    DimGray
778899     119 136 153    LightSlateGray
708090     112 128 144    SlateGray
2F4F4F      47  79  79    DarkSlateGray
000000       0   0   0    Black

Hope that helps.

I see VastOne answered another question while I was here - I'm a slooooooow typist.
Also check out Conky PitStop in my signature.

Last edited by Sector11 (2012-01-06 00:21:38)

Re: The New Monster Conky Thread

@ hans1967

There are two config-files: /etc/conky/conky.conf and /home/user/.conkyrc

Can we assume you already have a .conkyrc file in your /home/yourusername directory?

Re: The New Monster Conky Thread

Hi community,

Thank you all very much for your prompt help. Therefore my problem with conky is solved now.

Next problem. Can you tell me how to change text color of gsimplecal?

Thank you for your attention.

best regards,

hans1967

Re: The New Monster Conky Thread

hans1967 wrote:

Hi community,

Thank you all very much for your prompt help. Therefore my problem with conky is solved now.

Next problem. Can you tell me how to change text color of gsimplecal?

Thank you for your attention.

best regards,

hans1967

Hi again hans1967

That would be a different thread.
Since I don't use it I'm sorry but I cannot help you.


Start a NEW thread: Change text color of gsimplecal

S11

Re: The New Monster Conky Thread

Hello everyone!... I am just added a new conky just to show me the time. I want it to be always visible over the title bars of the other windows... is it possible??... it should be since we can make it with a normal window (setting the type of my conky to normal didn't solve it because it has its own title bar). Thanks!

EDIT: I found a solution: using the window type as dock and editing rc.xml to make dock floating and giving coordinates. Now: I need to find out what's the code of the color of my windows' borders... do you know how to?

Last edited by #!Francisco (2012-01-06 03:23:30)

Re: The New Monster Conky Thread

^ Maybe change "below" to "above" in own_window_hints for this Conky?

while ( ! ( succeed = try() ) );