Last edited by crownedzero; July 19th, 2009 at 10:56 PM.
I totally can't tell if you're kidding...! My ironic radar gets totally killed on t'interweb
Here's the current screenie thread: http://ubuntuforums.org/showthread.php?t=1201267
It's in Community Cafe, usually sticky, and there's a new one every month.
Have you really not been on it yet?
- Samsung R519 Silver - Dual-Boot Windows 7/Ubuntu 9.10 -
- The Official Conky Blog - Follow conkynews on Twitter -
- My Launchpad PPA -
- My blog: My Little Desktop -
Oops! OK, once a long long time ago I posted in there, but since I have so many screenshots here there and everywhere I stopped looking at those a long long time ago in a land far far away.
But since you did come through, here's my "1946 Buck Rogers U-235 Atomic Pistol" Goodbye old friend.
Have a GREAT day and thanks.
Bruce
A few questions:
1- I have a percantage of cpu used followed by a bar that shows cpu usage graphically. The problem is that when the cpu usage goes beyond 1 digit it (the percentage) pushes my cpubar over by a few pixels. This wouldn't be a problem except that I have other bars and I am trying to keep them all aligned. Is there a way to position my cpu bar on the same row as the percentage, but keep it's position independent of the percentages movements?
2- How would I go about displaying my cpu temperature? I have 2 cores.
3- How do I show my GPU temp (NVIDIA)
That's right, only the background size - and an unseen "horizontal" move of your conky
That's why line two has a ${voffset -85}
voffset - positive number moves stuff up
voffset - negative number moves stuff down
So a normal conky that starts:
And has the semi-transparent font added:Code:TEXT ${goto 10}${color2}${font woodbadge:size=40}IP:${font}${color}
needs that ${voffset -xx} to compensate for the voffsets in the script:Code:TEXT ${execpi 7200 ~/Conky/scripts/invisible_main.sh} ${voffset -85}${goto 10}${color2}${font wood
If you look near the bottom below: ### DO NOT EDIT BELOW THIS LINE
you'll see:
Taaa daaa!Code:while [ $g -lt $Layers ]; do Line="${Line}${Part}" let g=g+1 done echo "\${voffset -2}$Prefix$Line" done
Does that get you closer?echo "\${voffset -2}$Prefix$Line"
Have a nice day.
Bruce
Please show your conky file.
1. Above TEXT
2. Install lm-sensorsCode:short_units yes pad_percents 2
3. Do you have the nvidia drivers added? And nvclock?
You may need to play with the cut values.Code:GPU: ${execpi 8 sh -c "DISPLAY=:0.0 nvclock -T | grep GPU | cut -c21-22"}
You'll need something like:
Code:${goto 10}${voffset -10}${font woodbadge:size=15}${color2}Temperatures:${color}${font} ${goto 10}${font DejaVu Sans Mono:bold:size=9}${color3}CPU: ${color5}${execpi 8 sensors | grep 'CPU Temp' | cut --characters 15-16}°${color}${goto 75}${color3}Core: ${execpi 8 sensors | grep 'Core0' | cut --characters 15-16}°${color}${goto 145}${color3}M/B: ${execpi 8 sensors | grep 'M/B Temp' | cut --characters 15-16}°${color}${goto 210}${color3}GPU: ${execpi 8 sh -c "DISPLAY=:0.0 nvclock -T | grep GPU | cut -c21-22"}°${font}
Have a nice day.
Bruce
Last edited by Bruce M.; July 20th, 2009 at 12:49 AM.
I don't know that we're on the same page, even with a ${voffset} I can't seem to get it to move to the right side. I'm not sure how to make the "unseen" horizontal move. If I edit the .conkyrc to align on the upper left everything works wonderfully.However; I'd like to keep it on the right side. It took me a minute to figre out why it split my screen, my weather and hdd info on one and processes etc on the right. I have a lot of objects right justified which I think is part of the reason for the split.
Last edited by crownedzero; July 20th, 2009 at 12:59 AM.
1. Didn't work
2. Looking into it
3. My Nvidia driver 185.18.14 can already sense the temperature, do I need additional software? Haven't done it yet, but here's a screenshot and my .conkyrc
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_hints undecorated,below,skip_taskbar
background yes
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer left
use_xft yes
# Update interval in seconds
update_interval 3.0
# Minimum size of text area
minimum_size 0
# Draw shades?
draw_shades no
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
uppercase yes # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors, grey90 == #e5e5e5
default_color black
default_shade_color white
default_outline_color black
own_window_colour blue
own_window_transparent yes
# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
gap_x 0
gap_y 100
# stuff after 'TEXT' will be formatted on screen
override_utf8_locale no
xftfont Terminus:size=8
xftalpha 0.8
short_units yes
pad_percents 2
TEXT
${color #A7CC5C}TIME ${hr 2}$color
${time %a, }${time %e %B %G}
${time %Z, }${time %H:%M:%S}
${color #A7CC5C}SYSTEM ${hr 2}$color
${alignc} $nodename $sysname $kernel
${alignc}on $machine
${alignc}Uptime $uptime
${color #A7CC5C}CPU ${hr 2}$color
CPU 1: 2.26 GHZ
${cpu cpu1}% ${cpubar cpu1 6,150}
CPU 2: 2.26 GHZ
${cpu cpu2}% ${cpubar cpu2 6,150}
Highest CPU:
${color #ddaa00}${top name 1}${top cpu 1}$color
${top name 2}${top cpu 2}
${top name 3}${top cpu 3}
${top name 4}${top cpu 4}
${color #A7CC5C}MEMORY ${hr 2}$color
MEM: $memperc% $mem/$memmax
${membar 6,150}
HIGHEST MEMORY:
${color #ddaa00}${top_mem name 1}${top_mem mem 1}$color
${top_mem name 2}${top_mem mem 2}
${top_mem name 3}${top_mem mem 3}
${top_mem name 4}${top_mem mem 4}
${color #A7CC5C}DISK ${hr 2}$color
SWAP: $swapperc% $swap/$swapmax
${swapbar 6,150}
ROOT: ${fs_free /}/${fs_size /}
${fs_bar 6,150 /}
HOME: ${fs_free /home}/${fs_size /home}
${fs_bar 6,150 /home}
${color #A7CC5C}NET ${hr 2}
${color}Up: ${color }${upspeed wlan0} k/s
${upspeedgraph wlan0 20,130 000000 ffffff}
${color}Down: ${color }${downspeed wlan0}k/s${color}
${downspeedgraph wlan0 20,130 000000 ffffff}
Last edited by Crunchy the Headcrab; July 20th, 2009 at 01:52 AM.
Registered Ubuntu User #29430
Bookmarks