Re: Post your .conkyrc files w/ screenshots
anyone using version 1.4.7 with rss functionality built in? I have added the following to my .conkyrc file:
Code:
${color lightgrey}${rss http://sports.espn.go.com/espn/rss/news 5 feed_title 5}
and the output when starting conky is:
any ideas?? ](*,)
Re: Post your .conkyrc files w/ screenshots
which feed are you trying to pull?
Re: Post your .conkyrc files w/ screenshots
The Top Stories. That' s the URL that it gives above...
1 Attachment(s)
Re: Post your .conkyrc files w/ screenshots
Here's a semi-interesting effect I haven't seen before (probably because I haven't looked hard enough) but it's new to me anyway:)
By using black text color and a gray shade color Conky looks like it's engraved in the desktop.
PHP Code:
# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
# set to yes if you want Conky to be forked in the background
background no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-40-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Set conky on the bottom of all other applications
own_window_hints below
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=9
# Text alpha when using Xft
xftalpha 0.8
# Print everything to stdout?
# out_to_console no
# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell
# Print everything to console?
# out_to_console no
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 1.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
# Use pseudo transparency with own_window?
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# If own_window_transparent is set to no, you can set the background colour here
#own_window_colour #000000
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 100 5
maximum_width 200
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 3
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color black
default_shade_color gray
default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
gap_y 35
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# mldonkey_password Mldonkey password, default none
# boinc (seti) dir
# seti_dir /opt/seti
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
${color #ffffff}$nodename $sysname
${color #000000}$kernel on $machine
${color #000000}UpTime: ${uptime}
${color #000000}CPU ${color steel blue}${hr 2}
${color #000000}Core2Quad @ ${freq} MHz ${alignr}
${color #000000}Total Usage: ${color #000000}$cpu %
${color #000000}Core 1: ${color #000000}${cpu cpu1}%
${color #000000}${cpubar cpu1}
${color #000000}Core 2: ${color #000000}${cpu cpu2}%
${color #000000}${cpubar cpu2}
${color #000000}Core 3: ${color #000000}${cpu cpu3}%
${color #000000}${cpubar cpu3}
${color #000000}Core 4: ${color #000000}${cpu cpu4}%
${color #000000}${cpubar cpu4}
${color #000000}Memory ${color steel blue}${hr 2}
${color #000000}Ram: ${color #000000}$memperc% $mem / $memmax
${color #000000}${membar}
${color #000000}Swap: ${color #000000}$swapperc% $swap / $swapmax
${color #000000}${swapbar}
${color #000000}Processes ${color steel blue}${hr 2}
${color #000000}Total: $processes Running: $running_processes
${color #000000}Name ${color #000000} CPU% MEM%
${color #000000} ${top name 1} ${top cpu 1}${top mem 1}
${color #000000} ${top name 2} ${top cpu 2}${top mem 2}
${color #000000} ${top name 3} ${top cpu 3}${top mem 3}
${color #000000}Hard Drive ${color steel blue}${hr 2}
${color #000000}Disk I/O: ${color #000000}${diskio}
${color #000000}${diskiograph 10,198 ff0000 ff0000}
${color #000000}Root: ${color #000000} ${fs_size /} - ${fs_free_perc /}% free
${color #000000}${fs_bar /}
${color #000000}Home: ${color #000000}${fs_size /home} - ${fs_free_perc /home}% free
${color #000000}${fs_bar /home}
${color #000000}Temperatures ${color steel blue}${hr 2}
${color #000000}NVIDIA 7600GS GPU: ${execi 30 nvidia-settings -q gpucoretemp |grep Attribute |cut -c 43-44 ;} C
${color #000000}HDD Feisty Temp: ${execi 300 nc localhost 7634 | cut -c31-32 ;} C
${color #000000}HDD Vista Temp: ${execi 300 nc localhost 7634 | cut -c58-59 ;} C
${color #000000}Ethernet ${color steel blue}${hr 2}
${color #000000}Down: ${downspeed eth0}kB/s
${color #000000}Total: ${totaldown eth0}
${color #000000}${downspeedgraph eth0 25,198 00ff00 00ff00}
${color #000000}Up: ${upspeed eth0}kB/s
${color #000000}Total: ${totalup eth0}${alignr}
${color #000000}${upspeedgraph eth0 25,198 ff0000 ff0000} ${alignr}
${color #000000}Rhythmbox ${color steel blue}${hr 2}
${color #000000}Artist: ${exec rhythmbox-client --no-start --print-playing-format %aa}
${color #000000}Album: ${exec rhythmbox-client --no-start --print-playing-format %at}
${color #000000}Track: ${exec rhythmbox-client --no-start --print-playing-format %tt}
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
SD-Plissken
Add the line below to your conky file to garner local IP, As well as public ip, and change the colors to fit your needs.
Code:
Local IP ${color #5C9CD9}${addr eth1}${color #FFFFDD} Public IP ${color #5C9CD9}${execi 60 wget -O - http://whatismyip.org/ | tail}${color #FFFFDD}
This works great but after a few seconds it gets Error: 2 requests received and increases as we go along. I guess it doesn't let us keep updating it. Any ideas?
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
Nessa
This works great but after a few seconds it gets Error: 2 requests received and increases as we go along. I guess it doesn't let us keep updating it. Any ideas?
I solved this by raising the time for updating the external IP substantially. I noticed this problem when I keept starting and restarting conky during some tuning. whatismyip.org doesn't like to get flooded. As my IP doesn't change every 60 seconds (for me it's more like once every month or so and never when the system is up and running) I decided to set the wget interval to 3600 (i.e. once every hour) like this:
Code:
${offset 840}${color slate grey}IP: ${color }${execi 3600 wget -O - http://whatismyip.org/ | tail}
Haven't had any problems since and I always have the IP showing.
/mojoman
Re: Post your .conkyrc files w/ screenshots
1 Attachment(s)
Re: Post your .conkyrc files w/ screenshots
Here's my conkyrc file. I also posted this on Sept. desktop thread.
own_window no
own_window_type normal
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager
double_buffer yes
use_xft yes
update_interval 0.5
draw_shades no
draw_borders no
xftfont bauhaus:pixelsize=11.6
minimum_size 1280 0
border_margin 1
default_color 0095CD
alignment bottom_left
gap_x 13
gap_y 12
TEXT
$color${time %b %d } ${time %H:%M}$color Ubuntu Kernel: ${color 0095CD}${kernel}$color | Uptime: ${color 0095CD}${uptime}$color | CPU: ${cpugraph cpu0 8,50 0095CD 0095CD} ${cpugraph cpu1 8,50 0095CD 0095CD} | Processes: ${color 0095CD}$running_processes Running; $processes Total${color} | HDD: ${color 0095CD}${fs_free_perc} % free
3 Attachment(s)
Re: Post your .conkyrc files w/ screenshots
I quite like mine, although I'm not completely done coloring the bottom-right instance... For some reason though when the bottom-right one starts up, it starts "too wide" for some reason (see 1.png). After a few seconds it updates itself and becomes the proper width, but the background is messed up (see 2.png). Finally, after the second update, everything's normal like in the main screenshot. Anyone know how to fix this?
Code:
background yes
use_xft yes
xftfont Bitstream Vera Sans Mono:size=8
xftalpha 0.8
update_interval 3.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
double_buffer yes
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
stippled_borders 8
border_margin 4
border_width 1
default_color white
default_shade_color black
default_outline_color black
alignment bottom_right
gap_x 12
gap_y 12
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer no
TEXT
${color #ddaa00}$nodename - $sysname $kernel on $machine
${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
${color lightgrey}CPU Usage:
1:$color ${cpu cpu1}% ${goto 100}${cpubar cpu1}
2:$color ${cpu cpu2}% ${goto 100}${cpubar cpu2}
Average:$color ${cpu}% ${goto 100}${cpubar}
${color lightgrey}RAM Usage:$color $memperc% ${goto 100}${membar}
${color lightgrey}Processes:$color $processes ${color grey}Running:$color $running_processes
Hungriest processes by CPU and MEM:
${color}Name PID CPU% MEM%
${color} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey}File systems:
root $color${fs_used /}/${fs_size /} ${goto 155}${fs_bar /}
disk $color${fs_used /media/disk}/${fs_size /media/disk} ${goto 155}${fs_bar /media/disk}
${color lightgrey}Networking (Wired/Wireless):
Down:${color #8844ee} ${downspeed eth0} k/s${color lightgrey} ${goto 142}Up:${color #22ccff} ${upspeed eth0} k/s${color lightgrey}
${downspeedgraph eth0 25,126 8844ee 8844ee 130} ${upspeedgraph eth0 25,126 22ccff 22ccff 65}
Down:${color #8844ee} ${downspeed eth1} k/s${color lightgrey} ${goto 142}Up:${color #22ccff} ${upspeed eth1} k/s${color lightgrey}
${downspeedgraph eth1 25,126 8844ee 8844ee 130} ${upspeedgraph eth1 25,126 22ccff 22ccff 65}
The media player instance of conky uses .conkyrc-mpd, shown below:
Code:
alignment top_left
gap_x 490
gap_y 50
TEXT
${color #55aaff}${if_running mpd}${if_empty $mpd_artist}${else}$mpd_artist - ${endif}$mpd_album
${color #88dddd}${alignc}${if_empty $mpd_track}${else}(${mpd_track}) ${endif}$mpd_title
$mpd_bar
${alignc}$mpd_status ${mpd_elapsed}/${mpd_length}
${color #55aaff}${alignc}Random:${mpd_random} Repeat:${mpd_repeat}
${else}${alignc}(music daemon not running)${endif}
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
nuzzy
anyone using version 1.4.7 with rss functionality built in? I have added the following to my .conkyrc file:
Code:
${color lightgrey}${rss http://sports.espn.go.com/espn/rss/news 5 feed_title 5}
and the output when starting conky is:
any ideas?? ](*,)
That web feed address is wrong.
For a start, there are never spaces in a web feed address.
It should just be: http://sports.espn.go.com/espn/rss/news