New Posts  All Forums:Forum Nav:

Conkey help

post #1 of 16
Thread Starter 
Ok, as I dive deeper and deeper into Linux I find myself both enjoying the learning experience but also getting frustrated at all I don't know. LOL

Anyway, I NEED a temperature monitoring program and I found Conkey which sounded great but it is NOT a drop in basic temp monitor like I wanted, so, first, does anyone have an EASIER way to monitor CPU temps on Ubuntu 11.04?

Second, if the answer to #1 is "no", then I need some help configuring Conkey. I got it downloaded and installed, then I added a configuration skin that I found online here;

http://www.techdrivein.com/2010/07/c...mong-most.html

I started it on a fluke by just right clicking on the program file in my home directoy, it is running on the bottom of my screen however, it shows nothing for the network monitor (not a BIG deal since I really care about temps, but if it HAS the ability, why not use it) and it only reads the temp for my hard drive, the CPU temp is blank. Before installing Conkey I installed the lm-sensors and the X11-dev library.

The system is a Core 2 Quad Q9650 on a Foxconn Black ops board.
post #2 of 16
http://www.overclock.net/linux-unix/...l#post14287423

http://conky.sourceforge.net/config_settings.html

My network snippet is a good basic setup, the code part of the post has the cpu code removed so it should run on a single core. Add the same cpu code but increase cpu1/2/3 for cores 2/3/4. I'm using grep plus sensors to get the temperature so it's more accurate. Conky does have it's hmon temp but I like the .5 that senors/grep gets me. I'm doing that by invoking an external program and sending the output back to conky, so you can find any CLI sensor program and use it's output in conky. That makes it way nice, you can add any sort of temps then. =) GL
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #3 of 16
you'll have to find your temp monitoring locations, and have to edit the config file yourself. Check your package manager for temperature monitoring programs (so it actually reads the temps) and then check under /proc/ and you should see some interfaces. I know that sounds like a lot, but once you get used to linux, you'll find this stuff to become second nature.
Drawer Computing
(16 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500k Asus P8P67-m GTS 450 G.SKILL 4GB (2 x 2GB) 240-Pin DDR3 SDRAM DDR3 1... 
Hard DriveCoolingOSMonitor
Crucial C300 Corsair H50 Windows 7/Gentoo 25" Hannspree 
MonitorKeyboardPowerCase
25" Hannspree Das Professional Model S OCZ 550W Modular Custom 
MouseAudio
Razer Naga Logitech 2.1 
  hide details  
Reply
Drawer Computing
(16 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500k Asus P8P67-m GTS 450 G.SKILL 4GB (2 x 2GB) 240-Pin DDR3 SDRAM DDR3 1... 
Hard DriveCoolingOSMonitor
Crucial C300 Corsair H50 Windows 7/Gentoo 25" Hannspree 
MonitorKeyboardPowerCase
25" Hannspree Das Professional Model S OCZ 550W Modular Custom 
MouseAudio
Razer Naga Logitech 2.1 
  hide details  
Reply
post #4 of 16
Personally I didn't need to search for these. I just used this:
Quote:
${color green}Temprature: Core 1:$color ${execi 10 sensors | grep 'Core 0' |awk '{print $3}'} ${color green}| Core 2:$color ${execi 10 sensors | grep 'Core 1' |awk '{print $3}'}
What I'm doing is running the lm_sensors, taking the output and displaying only the temperature from the output using grep.
execi 10 is used to run sensors every 10 seconds. Change it to what you want.
Lala
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7-750 @ 3.00GHz Intel DP55WB Sapphire HD 5870 @ 950/1200 1.212V Kingston 2x2GB DDR3 1333.3 
Hard DriveOSMonitorPower
1TB WD Black, 1TB WD Green Win 7 Ultimate 64 bit Samsung P2370H Thermaltake ToughPower 750W 
Case
Thermaltake M9 Black 
  hide details  
Reply
Lala
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7-750 @ 3.00GHz Intel DP55WB Sapphire HD 5870 @ 950/1200 1.212V Kingston 2x2GB DDR3 1333.3 
Hard DriveOSMonitorPower
1TB WD Black, 1TB WD Green Win 7 Ultimate 64 bit Samsung P2370H Thermaltake ToughPower 750W 
Case
Thermaltake M9 Black 
  hide details  
Reply
post #5 of 16
Quote:
Originally Posted by mushroomboy View Post
http://www.overclock.net/linux-unix/...l#post14287423

http://conky.sourceforge.net/config_settings.html

My network snippet is a good basic setup, the code part of the post has the cpu code removed so it should run on a single core. Add the same cpu code but increase cpu1/2/3 for cores 2/3/4. I'm using grep plus sensors to get the temperature so it's more accurate. Conky does have it's hmon temp but I like the .5 that senors/grep gets me. I'm doing that by invoking an external program and sending the output back to conky, so you can find any CLI sensor program and use it's output in conky. That makes it way nice, you can add any sort of temps then. =) GL
If the Q9650 is anything like my Q9550 then sensors does not show the temperatures of all the cores but rather a generic "CPU Temperature"

If that's the case and you're still okay with it OP, you can use/edit my config if you want. It seems to get the job done.
Code:
# Generated with Conky Wizard
# Copyright (C) 2010 José David Abad GarcÃ*a
# GPL Version 3
# 
# WARNING! All changes made in this file will be lost if the program runs again!
background

# Default Fonts
use_xft yes
xftfont DejaVu Sans:size=10
override_utf8_locale yes

# Performance Settings
update_interval 1
total_run_times 0
double_buffer yes
no_buffers yes
net_avg_samples 2
text_buffer_size 1024

# Window Settings
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_argb_visual yes
#own_window_argb_value 80


# Window border
draw_borders no
draw_shades no

# Default Color
#default_color E0DFDE
default_color FFFFFF
#own_window_colour 333434

# Color Title.
color0 FFFFFF

# Size and position
minimum_size 210 1080
gap_x 0
gap_y 0
alignment top_right

TEXT
#${image ~/.ConkyWizardTheme/pix/background.png -p 0,0 -s 210x1050}

${GOTO 8}${font DejaVu Sans:bold:size=12}${color0}CPU${font}${color}  ${freq}MHz
${GOTO 8}Usage: ${cpu cpu1}% ${cpu cpu2}% ${cpu cpu3}% ${cpu cpu4}%
${GOTO 8}${cpugraph cpu1 40,190}
${GOTO 8}Temp: ${execi 2 sensors | grep "CPU T" | cut -c22-25}°C
${GOTO 8}RAM: ${mem}/${memmax} ${memperc}%
${GOTO 8}${membar 10,190} 
${GOTO 8}Uptime: ${uptime}

${GOTO 8}${font DejaVu Sans:bold:size=12}${color0}GPU${font}${color}
${GOTO 8}Core: ${nvidia gpufreq}MHz Mem:${nvidia memfreq}MHz
${GOTO 8}GPU Temp: ${nvidia temp}°C
${GOTO 8}${font DejaVu Sans:bold:size=12}${color0}Disks${font}${color}
${GOTO 8}Root:
${GOTO 8}Used: ${fs_used /} Free: ${fs_free /}
${GOTO 8}${fs_bar 10,190 /}
${GOTO 8}C:
${GOTO 8}Used: ${fs_used /media/C} Free: ${fs_free /media/C}
${GOTO 8}${fs_bar 10,190 /media/C}
${GOTO 8}D:
${GOTO 8}Used: ${fs_used /media/D} Free: ${fs_free /media/D}
${GOTO 8}${fs_bar 10,190 /media/D}
${GOTO 8}F:
${GOTO 8}Used: ${fs_used /media/F} Free: ${fs_free /media/F}
${GOTO 8}${fs_bar 10,190 /media/F}

${GOTO 8}${font DejaVu Sans:bold:size=12}${color0}LAN1${font}${color}
${GOTO 8}↑${upspeedgraph eth0 30,178 B7B2AD B7B2AD} 
${GOTO 8}↓${downspeedgraph eth0 30,178 B7B2AD B7B2AD}
${GOTO 8}↑${upspeed eth0} ↓${downspeed eth0}
${GOTO 8}⇈${totalup eth0} ⇊${totaldown eth0}
${GOTO 8}IP: ${addr eth0}

${GOTO 8}${font DejaVu Sans:bold:size=12}${color0}LAN2${font}${color}
${GOTO 8}↑${upspeedgraph eth1 30,178 B7B2AD B7B2AD} 
${GOTO 8}↓${downspeedgraph eth1 30,178 B7B2AD B7B2AD}
${GOTO 8}↑${upspeed eth1} ↓${downspeed eth1}
${GOTO 8}⇈${GOTO 24}${totalup eth1} ⇊${totaldown eth1}
${GOTO 8}IP: ${addr eth1}


${GOTO 8}${time %H:%M}  ${time %d/%m/%Y}
${GOTO 8}${time %A}, ${time %d} ${time %B} ${time %Y}
I used a conky wizard to make a config as a base and to show me how it works, and then I edited it to my liking, got rid of the image, fixed what the wizard couldn't do properly, etc.

EDIT: I got sensors to show all my core temperatures after I recompiled my kernel, there must have been some setting I enabled because sensors now shows 4 sensors called coretemp-isa-000x where x is the core number.
For anyone that is looking for it, in my config above change:
Code:
${GOTO 8}Temp: ${execi 2 sensors | grep "CPU T" | cut -c22-25}°C
to:
Code:
${GOTO 8}${execi 2 sensors | grep "Core 0" | cut -c15-18}°C ${execi 2 sensors | grep "Core 1" | cut -c15-18}°C ${execi 2 sensors | grep "Core 2" | cut -c15-18}°C ${execi 2 sensors | grep "Core 3" | cut -c15-18}°C

Edited by biltong - 7/27/11 at 1:07pm
It plays TF2
(18 items)
 
LG Nexus 5
(12 items)
 
Acer 5745PG
(6 items)
 
CPUMotherboardGraphicsRAM
4790k ASRock Z97 Extreme6 Asus GTX980 Strix 4GB Kingston HyperX Fury Black 2x8GB 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vector 128GB Seagate 2TB  Seagate 500GB 7200.12 Some LG that works properly 
CoolingOSMonitorKeyboard
Corsair H105 Windows 8 Pro 64bit Samsung B2330h MS Digital Media Keyboard 
PowerCaseMouseMouse Pad
CoolerMaster Silent Pro M600 Coolermaster CM690II Advanced Logitech G500s CyberSnipa Something 
AudioAudio
JVC RX700 Creative X-Fi Titanium 
CPUMotherboardGraphicsRAM
Quad-core 2.3 GHz Krait 400 LG Something + Qualcomm MSM8974 Snapdragon 800 Adreno 330 2 GB 
Hard DriveOptical DriveCoolingOS
32 GB internal storage 8MP AutoAwesomeHDRFace + 1MP SelfieMachine Air Android 4.4.2 
MonitorPowerCaseMouse
True HD IPS+ 1080 x 1920 pixels, 4.95 inches Non-removable Li-Po 2300 mAh battery LG Sexybox Capacitive touchscreen 
CPUGraphicsRAMHard Drive
i5 480m @ 2.66GHz GT420M 1GB 4GB DDR3 WD 750GB 
OSMonitor
Windows 7 Professional 64 bit 15" 1366x768 + two point touchscreen 
  hide details  
Reply
It plays TF2
(18 items)
 
LG Nexus 5
(12 items)
 
Acer 5745PG
(6 items)
 
CPUMotherboardGraphicsRAM
4790k ASRock Z97 Extreme6 Asus GTX980 Strix 4GB Kingston HyperX Fury Black 2x8GB 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vector 128GB Seagate 2TB  Seagate 500GB 7200.12 Some LG that works properly 
CoolingOSMonitorKeyboard
Corsair H105 Windows 8 Pro 64bit Samsung B2330h MS Digital Media Keyboard 
PowerCaseMouseMouse Pad
CoolerMaster Silent Pro M600 Coolermaster CM690II Advanced Logitech G500s CyberSnipa Something 
AudioAudio
JVC RX700 Creative X-Fi Titanium 
CPUMotherboardGraphicsRAM
Quad-core 2.3 GHz Krait 400 LG Something + Qualcomm MSM8974 Snapdragon 800 Adreno 330 2 GB 
Hard DriveOptical DriveCoolingOS
32 GB internal storage 8MP AutoAwesomeHDRFace + 1MP SelfieMachine Air Android 4.4.2 
MonitorPowerCaseMouse
True HD IPS+ 1080 x 1920 pixels, 4.95 inches Non-removable Li-Po 2300 mAh battery LG Sexybox Capacitive touchscreen 
CPUGraphicsRAMHard Drive
i5 480m @ 2.66GHz GT420M 1GB 4GB DDR3 WD 750GB 
OSMonitor
Windows 7 Professional 64 bit 15" 1366x768 + two point touchscreen 
  hide details  
Reply
post #6 of 16
Thread Starter 
Ok, well, this is beyond my current scope of abilities it appears.

biltong I tried your configuration by pasting it into the .conkeytheme folder in my home directory, when i try to run it, it does nothing. I am not sure where else to put it. When I try to run the main conky file from my /usr/bin folder, it starts, but is just a default black window on the top left with only usage info. The "theme" I had doesn't even appear anymore.

The configuration files look like Greek to me and I would have no idea how to even attempt to figure it out. The list of variables is also great, but again, no idea how to use them.

I just wanted to be able to monitor my temps so I could fold on this machine, but I guess it will have to wait until I have learned more.
post #7 of 16
Quote:
Originally Posted by biltong View Post
If the Q9650 is anything like my Q9550 then sensors does not show the temperatures of all the cores but rather a generic "CPU Temperature"

If that's the case and you're still okay with it OP, you can use/edit my config if you want. It seems to get the job done.

[edited: not needed]
Mine doesn't show cores either, unlocked X4. So I only get 1CPU temp with my code, that's all I ever get unless I go back to an X2. I'm not going back, that's just crazy talk.

Quote:
Originally Posted by Thumper View Post
Ok, well, this is beyond my current scope of abilities it appears.

biltong I tried your configuration by pasting it into the .conkeytheme folder in my home directory, when i try to run it, it does nothing. I am not sure where else to put it. When I try to run the main conky file from my /usr/bin folder, it starts, but is just a default black window on the top left with only usage info. The "theme" I had doesn't even appear anymore.

The configuration files look like Greek to me and I would have no idea how to even attempt to figure it out. The list of variables is also great, but again, no idea how to use them.

I just wanted to be able to monitor my temps so I could fold on this machine, but I guess it will have to wait until I have learned more.
conky configs are edited as plain text and saved as a plain text file:

~/.conkyrc

That is what you need, that is the only config file that conky uses. Yes, it's a per-account config file too. You need to be able to view hidden folders, then create the file .conkyrc in your main home folder (~/ = /home/username). Paste the code I pasted or the code bitlong pasted into that file, exit, restart conky, enjoy new config. The site I posted has all the variables and a brief expression of what they mean, some are vague so you have to mess around a bit.

[edit] ~/ works in console as a real location, it's a programmed shortcut.
Edited by mushroomboy - 7/27/11 at 5:56pm
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #8 of 16
Thread Starter 
Quote:
Originally Posted by mushroomboy View Post

conky configs are edited as plain text and saved as a plain text file:
Yeah, I know it's in plain text, but it is STILL code. Not something I could create on my own, but I will be happy to experiment with others setups.

Quote:
Originally Posted by mushroomboy View Post
~/.conkyrc

That is what you need, that is the only config file that conky uses. Yes, it's a per-account config file too. You need to be able to view hidden folders, then create the file .conkyrc in your main home folder (~/ = /home/username).
Did that when I set the "theme" from before, somehow the file got renamed to "conky" instead of ".conkey" when I copied bitlong's file. Changed it back and now it runs, but it still does not show ANYTHING for the CPU temp. GAH LOL

Edited by Thumper - 7/27/11 at 6:17pm
post #9 of 16
Quote:
Originally Posted by Thumper View Post
Yeah, I know it's in plain text, but it is STILL code. Not something I could create on my own, but I will be happy to experiment with others setups.



Did that when I set the "theme" from before, somehow the file got renamed to "conky" instead of ".conkey" when I copied bitlong's file. Changed it back and now it runs, but it still does not show ANYTHING for the CPU temp. GAH LOL
he's using a grep output like me, so you might have to set up other sensors stuff. =P I'd ask him how he set up sensors....

Open a terminal and type "sensors" and tell us the output. You might have to set up sensors itself, unsure (I have had to every time). So you run "sudo sensors-detect" and it'll give you a long list of questions. I use defaults for everything until it asks me if it wants me to edit file X or allow it to edit file X. Default is no (making you do it), I let it edit it and go yes. Then you have to restart. I believe after that you should get "sensors" to work no problem if it isn't already working. After we see your output can we tell you what to do with grep. Basically we can find out how to get the temps to work.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #10 of 16
Thread Starter 
Quote:
Originally Posted by mushroomboy View Post
he's using a grep output like me, so you might have to set up other sensors stuff. =P I'd ask him how he set up sensors....
yeah, using his code, it did change from showing 1 to showing 4 CPUs...they are all blank, but there are four of them LOL

Quote:
Originally Posted by mushroomboy View Post
Open a terminal and type "sensors" and tell us the output.
This is what it says;

Quote:
acpitz-virtual-0
Adapter: Virtual device
temp1: +40.0°C (crit = +1112.2°C)

Quote:
Originally Posted by mushroomboy View Post
You might have to set up sensors itself, unsure (I have had to every time). So you run "sudo sensors-detect" and it'll give you a long list of questions. I use defaults for everything until it asks me if it wants me to edit file X or allow it to edit file X. Default is no (making you do it), I let it edit it and go yes. Then you have to restart.
I did that twice already Exept I think I went with NO for edit, I think that was default.

Quote:
Originally Posted by mushroomboy View Post
Basically we can find out how to get the temps to work.
I hope so, LOL
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix