Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
mate84
Thanks for the reply, but it still can't show me any activity about my wireless networking, battery and CPU temperature!:(
Is it possible, that something missing and I have to install ti?
What can I do now?
Regarding the wireless the above info should have pointed you in direction you need,
As for your battery adding the below line should show batt info.
Code:
Batt:${alignr}$battery
Regarding cpu temp:
These are the lines from my conky used with lm-sensors. you will have to adjust the cut numbers eg: -c13-16 to fit your cpu's
Code:
Core0..:: ${freq_dyn_g cpu0}Ghz ::: Usage: ${cpu cpu0}% ${cpubar cpu0 8,50} ${execi 8 sensors | grep -A 1 'Core0' | cut -c13-16 | sed '/^$/d'}C
Code:
Core1..:: ${freq_dyn_g cpu1}Ghz ::: Usage: ${cpu cpu1}% ${cpubar cpu1 8,50} ${execi 8 sensors | grep -A 1 'Core1' | cut -c13-16 | sed '/^$/d'}C
to set up lmsensors read the thread below.
HOW TO: Install and configure lm-sensors
And should you want to monitor your hddtemp this might be of help.
HowTo: Conky hddtemp
Edit: here is my conky hddtemp config.
Code:
${execi 300 nc localhost 7634 | cut -c30-31 ;}C
You will have to edit the cut numbers to fit your drive.
Hope it helps.
Re: Post your .conkyrc files w/ screenshots
Thanks!!! The CPU temperature is working!:)
1 Attachment(s)
Re: Post your .conkyrc files w/ screenshots
Two days of tweaking and looking at existing conky scripts, and I got it to do what I want :-)
Code:
# .conkyrc configuration
# Tristam Green, 11-21-2007
# maintain spacing between certain elements
use_spacer yes
# set to yes if you want tormo to be forked in the background
#background yes
use_xft yes
# Xft font when Xft is enabled
xftfont Vera-6
#xftfont Andale Mono-9
#xftfont Clean-8
#xftfont cubicfive10:pixelsize=8
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=10
# Text alpha when using Xft
xftalpha 1
mail_spool $MAIL
# Update interval in seconds
update_interval 1.0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_hints below
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 200 5
maximum_width 250
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no # amplifies text
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 3
# border margins
border_margin 5
# border widt5
border_width 6
# Default colors and also border colors, grey90 == #e5e5e5
default_color grey90
default_shade_color black
default_outline_color DarkGrey
# 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 24
gap_y 24
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# *** RHYTHMBOX FORMAT SETTINGS ***
# ${rhythmbox-client --print-playing}
# Print the title and artist of the playing song
# ${rhythmbox-client --print-playing-format}
# Print formatted details of the song
# *** PARAMETERS ***
# %at Album title
# %aT Album title in lowercase
# %aa Album artist
# %aA Album artist in lowercase
# %ay Release year of album
# %an Album disc number
# %aN Album disc number with leading zero
# %ag Album genre
# %aG Album genre in lowercase
# %tt Track title
# %tT Track title in lowercase
# %ta Track artist
# %tA Track artist in lowercase
# %tn Track number
# %tN Track number with leading zero
# %td Track duration
# %te Elapsed time of track
# Variables can be combined using quotes. For example "%tn %aa %tt", will
# print the track number followed by the artist and the title of the
# track.
# stuff after 'TEXT' will be formatted on screen
TEXT
${color white}${font OpenLogos:size=14}T u ${font}${font Vera:size=8}$alignr ${time %a } ${time %e %B %G} | ${time %I:%M %P}${font}
${color #5da5d3}User ${hr 1}
${color #e5e5e5}${execi 30 whoami} @ $nodename $alignr $sysname $machine $kernel
${color #e5e5e5}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${color #CCCCCC}$alignr${freq_g} GHz
${color #e5e5e5}uptime $alignr $uptime_short
${color #5da5d3}System ${hr 1}
${color #e5e5e5}cpu usage $color $alignr $cpu%
${color #e5e5e5}load $alignr $loadavg
${color #5da5d3}Processes ${hr 1}
${color #e5e5e5}total $alignr $processes
${color #e5e5e5}running $alignr $running_processes
${color #5da5d3}Memory ${hr 1}
${color #e5e5e5}total $alignr ${memmax}
${color #e5e5e5}used $alignr $memperc% $mem
${color #5da5d3}Wireless (${color #ff9900}${addr eth1}${color #5da5d3}) ${hr 1}
${color e5e5e5}ssid ${wireless_essid eth1} $alignr ${wireless_ap eth1}
${color e5e5e5}mode ${wireless_mode eth1} $alignr Bitrate: ${wireless_bitrate eth1}
${color e5e5e5}down ${color #ff9900}${downspeedf eth1} ${color e5e5e5}k/s ${alignr}${color e5e5e5}up ${color #0000ff}${upspeedf eth1} ${color e5e5e5}k/s
${color e5e5e5}total down: ${totaldown eth1} $alignr total up: ${totalup eth1}
${color #5da5d3}Wired (${color #ff9900}${addr eth0}${color #5da5d3}) ${hr 1}
${color e5e5e5}down ${color #ff9900}${downspeedf eth0} ${color e5e5e5}k/s ${alignr}${color e5e5e5}up ${color #0000ff}${upspeedf eth0} ${color e5e5e5}k/s
${color e5e5e5}total down: ${totaldown eth0} $alignr total up: ${totalup eth0}
${color #5da5d3}File Systems ${hr 1}
${color #e5e5e5}root ${color white}${fs_free /} (${fs_free_perc /}%) ${color #e5e5e5}free of ${fs_size /}
${fs_bar /}
${color #e5e5e5}vista ${color white}${fs_free /media/sda3} (${fs_free_perc /media/sda3}%) ${color #e5e5e5}free of ${fs_size /media/sda3}
${fs_bar /media/sda3}
${if_mounted /media/SCOTT4GB} ${color #e5e5e5}usb ${color white}${fs_free /media/SCOTT4GB} (${fs_free_perc /media/SCOTT4GB}%) ${color #e5e5e5}free of ${fs_size /media/SCOTT4GB}
${fs_bar /media/SCOTT4GB}${else} usb not mounted${endif}
${color #5da5d3}Music ${hr 1}
${color #e5e5e5}title ${exec rhythmbox-client --print-playing-format "%aA - %tT"}
${color #e5e5e5}album ${exec rhythmbox-client --print-playing-format "%aT (%ay)"} $alignr track ${exec rhythmbox-client --print-playing-format "%tn"}
${color #e5e5e5}time ${exec rhythmbox-client --print-playing-format "%te / %td"}
Explanation of segments:
Segment 1 - User Information
Segment 2 - System Info
Segment 3 - Process Info
Segment 4 - Memory Info
Segment 5 - Wireless Info
- Displays IP info, essid, mode, wireless AP MAC and dn/up
Segment 6 - Wired Info
- Displays IP info and dn/up
Segment 7 - File Systems
- Displays sizes and graphs for root and vista partitions
- Displays information about my USB drive when it is mounted. When not mounted, "usb not mounted" appears.
Segment 8 - Music
- Integrates with Rhythmbox to display artist, title, album, album year, track #, and elapsed time / total time of currently playing track.
Be brutal, it's my first go-round. I got the basic layout from one of the users on (I think) page 94, and as soon as I find his name I'll credit the layout in the config file.
-Tristam
Re: Post your .conkyrc files w/ screenshots
^^ It looks good - just a couple of points
1) Network up looks like it's hard to read in that colour.
2) The gnome foot & ubuntu icons - how did you include them?
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
Scruffynerf
^^ It looks good - just a couple of points
1) Network up looks like it's hard to read in that colour.
2) The gnome foot & ubuntu icons - how did you include them?
You're talking about that orange? I'm thinking about changing that to something a little more appropriate. I figured blue and orange were complements of each other, so it sounded better on paper.
The gnome foot and ubuntu icons are part of the OpenLogos font, letters "T" and "u", as listed in the code.
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
Tristam Green
You're talking about that orange? I'm thinking about changing that to something a little more appropriate. I figured blue and orange were complements of each other, so it sounded better on paper.
The gnome foot and ubuntu icons are part of the OpenLogos font, letters "T" and "u", as listed in the code.
Cheers for the font.
Er, it must have been hard to read in the screenshot - I was referring to the blue!
Re: Post your .conkyrc files w/ screenshots
Ah, I see what you mean. The blue in the User and System Areas are a bit hard to read.
Any recommendations on color shifts? I just don't want to end up with light grey/white. \\:D/
2 Attachment(s)
Re: Post your .conkyrc files w/ screenshots
Updated mine with some information and help from the community here.....
(nb: 2 shots - one on black, one on my current background)
Code:
background yes
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
use_spacer yes
use_xft yes
xftfont URW Chancery L:size=10
xftalpha 0.5
update_interval 5.0
draw_shades yes
draw_outline no # amplifies text if yes
draw_borders no
uppercase no # set to yes if you want all text to be in uppercase
stippled_borders 3
border_margin 4
border_width 1
default_color green
own_window_colour brown
own_window_transparent yes
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
gap_x 10
gap_y 10
TEXT
${font URW Chancery L:size=10} ${color white}SYSTEM: ${font OpenLogos:size=10} u T ${hr 1}$color
${font URW Chancery L:size=10} ${color slate grey}Node: ${color grey}$nodename $alignr${color slate grey}Uptime: ${color grey}$uptime
${color slate grey}$sysname ${color grey}$kernel
${color white}CPU ${hr 1}$color
${color slate grey}Load: ${color grey}${loadavg} $alignr${color slate grey}Temp: ${color grey}${acpitempf}C ${color slate grey}
${color slate grey}Processes: ${color grey}$processes $alignr${color slate grey}Running: ${color grey}$running_processes
${color slate grey}CPU Freq: ${color grey} ${freq} MHz $alignr${color slate grey}CPU Load: ${color grey}${cpu}%
${cpugraph 00ff00 ffffff}
${color white}NAME $alignr PID CPU% MEM%${color grey}
${color yellow}${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top mem 1}${color grey}
${top name 2} $alignr ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} $alignr ${top pid 4} ${top cpu 4} ${top mem 4}
${top name 5} $alignr ${top pid 5} ${top cpu 5} ${top mem 5}
${color white}VIDEO: ${hr 1}$color
${color slate grey}Model: ${color grey}${execi 30 nvclock -i | grep 'Card:' | cut -c9-27} $alignr${color slate grey}Temp: ${color grey}${execi 30 nvclock -T | grep temperature | cut -c21-23}
${color slate grey}GPU: ${color grey}${execi 30 nvclock -i | grep 'Architecture:' | cut -c16-22}$alignr${execi 30 nvclock -i | grep 'GPU clock:' | cut -c13-23}
${color slate grey}Mem:${color grey}${execi 30 nvclock -i | grep 'Amount:' | cut -c10-15} ${execi 30 nvclock -i | grep 'Type:' | cut -c16-18} $alignr ${execi 30 nvclock -i | grep 'Clock:' | cut -c10-21}
${color white}MEMORY:${hr 1}$color
${color slate grey}RAM : ${color grey}$memperc% ${color slate grey}(${color grey}${mem} / ${memmax}${color slate grey})
${color slate grey}Swap: ${color grey}$swapperc% ${color slate grey}(${color grey}${swap} / ${swapmax}${color slate grey})
${color slate grey}DiskIO:${color grey}${diskio}
${diskiograph 00ff00 ffffff}
${color white}DRIVES:${hr 1}$color
${color slate grey}Root: ${color grey}${fs_free_perc /}% Free${alignr}${color slate grey}(${color grey}${fs_used /} / ${fs_size /}${color slate grey})
${color slate grey}${fs_bar /}
${color slate grey}Home: ${color grey}${fs_free_perc /home}% Free${alignr}${color slate grey}(${color grey}${fs_used /home} / ${fs_size /home}${color slate grey})
${color slate grey}${fs_bar /home}
${color slate grey}XP: ${color grey}${fs_free_perc /media/XP}% Free${alignr} ${color slate grey}(${color grey}${fs_used /media/XP} / ${fs_size /media/XP}${color slate grey})
${color slate grey}${fs_bar /media/XP}
${color slate grey}XP Storage: ${color grey}${fs_free_perc /media/XP Store}% Free${alignr}${color slate grey}(${color grey}${fs_used /media/XP Store} / ${fs_size /media/XP Store}${color slate grey})
${color slate grey}${fs_bar /media/XP Store}
${color white}NETWORK (${addr eth0}) ${hr 1}${color}
${color slate grey}Down: ${color grey}${downspeed eth0}k/s ${alignr}${color slate grey}Up: ${color grey}${upspeed eth0}k/s
${downspeedgraph eth0 25,140 ff0000 00ff00} ${alignr}${upspeedgraph eth0
25,140 00ff00 ff0000}
${color slate grey}Total: ${color grey}${totaldown eth0} ${alignr}${color slate grey}Total: ${color grey}${totalup eth0}
${color slate grey}Inbound: ${color grey}${tcp_portmon 1 32767 count} ${color slate grey}Outbound: ${color grey}${tcp_portmon 32768
61000 count}${alignr}${color slate grey}Total: ${color grey}${tcp_portmon 1 65535 count}
${color slate grey}Connections ${color grey}${tcp_portmon 32768 61000 count}
${color slate grey}Public IP: ${color grey}${execi 7200 wget -O - http://whatismyip.org/ | tail}
Re: Post your .conkyrc files w/ screenshots
Looks great :D
I like the use of public IP address in there, don't think I'd seen that in anyone's yet.
Re: Post your .conkyrc files w/ screenshots
Is was in someone's here originally. Thought that it was a great idea. Apologies, however I cannot remember who's it was.