This worked well in Ubuntu forums, seems like a good one for us heathens here![]()
This is a simple one I edited from one copied at Ubuntu forums (made it my own):
Contents of .conkyrc:
Code:background yes use_xft yes xftfont Segoe UI:size=9 xftalpha 0.5 update_interval 1.0 total_run_times 0 own_window no own_window_type override own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes minimum_size 300 5 maximum_width 300 draw_shades no draw_outline no draw_borders no draw_graph_borders no default_color black default_shade_color red default_outline_color green alignment top_right gap_x 12 gap_y 48 no_buffers yes uppercase no cpu_avg_samples 2 override_utf8_locale no TEXT $sysname $kernel on $machine ${time %A}$alignr${time %F} Uptime $alignr $uptime $nodename $sysname $kernel on $machine CPU0: ${freq}MHz $cpu% $cpubar CPU1: ${freq}MHz $cpu% $cpubar RAM ($memmax): $memperc% ${membar 6}$color Swap ($swapmax): $swapperc% ${swapbar 6}$color Hostname $alignr $nodename wlan0 $alignr ${addr wlan0} Download $alignr ${downspeed wlan0} kb/s ${downspeedgraph wlan0} Upload $alignr ${upspeed wlan0} kb/s ${upspeedgraph wlan0}
-
That looks nice!
-
Just one word of advice, could we upload them to sites instead of as attachments. Ubuntu forum's post really pissed me off, had to register to see the screenshots
-
What's a good share site for that? Wait, no biggie to register though....
-
FusiveResonance Notebook Evangelist
you simply need to upload the pic to an image hosting site. something like http://www.tinypic.com/
once the image is being hosted by tinypic, copy the link and use the img tag.
I agree with him btw...hosting an image then using the image tag is the best option. Attachments are lame -
How can we use that file to create that kind of widget? Where do we place it? What program do we need to run it?
-
The .conkyrc file needs to be created by the user in your home folder. A sample is in the conky directory to cut and paste, or try mine. Here is what I did to make Conky transparent in Kubuntu KDE....notice the last line of .conkyrc, and you need to install a program from synaptic called "feh". Also for transparency, feh creates a file called .fehbg in your home folder....make sure permissions are set for that for 'anyone' to read and write and make sure it points to a wallpaper in /user/share/wallpapers to work (same wallpaper on your desktop, I had to move mine there for it to work, i.e. to /usr/share/wallpapers). Notice the last 'feh' line in .conkyrc...my wallpaper is set to scale in Desktop config, therefore that word there, Centered, then use center there.....check the feh options file in your home folder for more on this. here is the new .conkyrc and desktop image:
Code:background 1 use_xft yes xftfont Segoe UI:size=9 xftalpha 0.5 update_interval 1.0 total_run_times 0 own_window 1 own_window_type override own_window_transparent 1 own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes minimum_size 300 5 maximum_width 300 draw_shades no draw_outline no draw_borders no draw_graph_borders no default_color white default_shade_color red default_outline_color green alignment top_right gap_x 12 gap_y 48 no_buffers yes uppercase no cpu_avg_samples 2 override_utf8_locale no TEXT $sysname $kernel on $machine ${time %A}$alignr${time %F} Uptime $alignr $uptime $nodename $sysname $kernel on $machine CPU0: ${freq}MHz $cpu% $cpubar CPU1: ${freq}MHz $cpu% $cpubar RAM ($memmax): $memperc% ${membar 6}$color Swap ($swapmax): $swapperc% ${swapbar 6}$color Hostname $alignr $nodename wlan0 $alignr ${addr wlan0} Download $alignr ${downspeed wlan0} kb/s ${downspeedgraph wlan0} Upload $alignr ${upspeed wlan0} kb/s ${upspeedgraph wlan0} ${exec feh --bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`}
Attached Files:
-
-
:
http://briancarper.net/2006/08/25/transparent-conky-in-kde-part-2/
http://ubuntuforums.org/showthread.php?t=228731&highlight=desktop+icons+disappear+conky
to get transparency, follow my lead above as I've conked my head against the wall for a few hours and now possess the 'secret'....LOL Once you get it right, it's pretty cool. -
This post has taken off like a lead balloon
, but here is a great list of conky options from sourceforge:
http://conky.sourceforge.net/docs.html -
http://img176.imageshack.us/img176/9299/foouj0.png
Code:# update interval update_interval 1 # sets alignment alignment top_right # sets distance from edge of window gap_y 35 gap_x 25 # color default_color white #default_shade_color white default_outline_color white # reduces flicker #double_buffer yes # create window to draw #own_window yes #own_window_type override #own_window_transparent yes #own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager # creates a dashed border stippled_borders 3 # border margins border_margin 4 # border width border_width 1 # force utf8 override_utf8_locale yes # stuff after 'TEXT' will be formatted on screen TEXT $nodename $sysname $kernel on $machine Uptime: ${uptime} Load: ${loadavg} $stippled_hr CPU Usage: $cpu % CPU: ${freq}mhz ${alignr}Temp: ${acpitemp} ${cpugraph cpu0 000000 C0C8CD} CPU0: ${cpu cpu1}% ${cpubar cpu1} CPU1: ${cpu cpu2}% ${cpubar cpu2} $stippled_hr Processes: $processes Running: $running_processes Name: PID CPU% MEM% ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} Memory usage: ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3} $stippled_hr RAM: $memperc% ${membar} Swap: $swapperc% ${swapbar} Root: ${fs_size /} - ${fs_free_perc /}% free ${fs_bar /} Home: ${fs_size /home} - ${fs_free_perc /home}% free ${fs_bar /home} Windows: ${fs_size /win} - ${fs_free_perc /win}% free ${fs_bar /win} $stippled_hr Networking: (${addr eth0}) Down: ${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s ${downspeedgraph eth0 50,125 C0C8CD 0000ff} ${alignr}${upspeedgraph eth0 50,125 C0C8CD ff0000}
-
thanks srunni.....I'm going to tweak mine out....I finally conquered the transparency on the desktop part....trying to narrow down what is useful to me and not just glitz....
-
If you find a way to make it properly display the external and/or internal IP address, please let me know - I'd really like to get that working.
-
Code:
Hostname $alignr $nodename wlan0 $alignr ${addr wlan0}
-
Hmm, that's not working for me, the first line is showing the name of my computer, while the second one is showing 0.0.0.0.
Do you know if there's a way to take the output from a shell script and have it show up in conky as a string? I'm working on a command to get the local IP address. So far I haveCode:hostname | nslookup | grep Address
Also, I need to remove the "Address: " part, using a substring, presumably. However, I don't know how to do this in bash, so any help would be great. -
Here's a simple one I just did in Xubuntu that I find useful:
Code:background 1 use_xft yes xftfont Segoe UI:size=7 xftalpha 0.5 update_interval 1.0 total_run_times 0 own_window 1 own_window_type override own_window_transparent 1 own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes minimum_size 300 5 maximum_width 240 draw_shades no draw_outline no draw_borders no draw_graph_borders no default_color white default_shade_color white default_outline_color white alignment middle_right gap_x 12 gap_y 48 no_buffers yes uppercase no cpu_avg_samples 2 override_utf8_locale no TEXT $sysname $kernel on $machine ${time %A}$alignr${time %F} RAM ($memmax): $memperc% ${membar 6}$color Swap ($swapmax): $swapperc% ${swapbar 6}$color CPU Usage: $cpu% ${cpubar 6}$color Hostname $alignr $nodename wlan0 $alignr ${addr wlan0} ${color}Upload: ${color }${upspeed wlan0} k/s ${upspeedgraph wlan0 30,240 000000 ffffff} ${color}Download: ${color }${downspeed wlan0}k/s${color} ${downspeedgraph wlan0 30,240 000000 ffffff}
Attached Files:
-
-
thought I might revive this old thread I started last year since I'm using conky again and I've seen others take to it since the thread died out (maybe it will take off this time
:
Here's my current .conkyrc file which was borrowed and modified from the CrunchBang LiveCD:
Code:# set to yes if you want Conky to be forked in the background background yes # Use Xft? use_xft yes # Xft font when Xft is enabled #xftfont Trebuchet MS:size=10 xftfont Sans:size=8 # Text alpha when using Xft xftalpha 1 # 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 own_window yes own_window_transparent yes own_window_type override #own_window_type desktop #own_window_type normal #use this if you want a nice shadow to appear around conky # If own_window is yes, these window manager hints may be used own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager # Use double buffering (reduces flicker, may not work for everyone) double_buffer yes # Minimum size of text area minimum_size 150 150 # Maximum width maximum_width 240 # Draw shades? draw_shades yes # Draw outlines? draw_outline no # Draw borders around text draw_borders no # Draw borders around graphs draw_graph_borders no # Stippled borders? # stippled_borders 8 # border margins # border_margin 2 # border width # border_width 1 # Default colors and also border colors default_color white default_shade_color black default_outline_color white # 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 96 # 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 # Force UTF8? note that UTF8 support required XFT override_utf8_locale no ############################################## ############################################## TEXT SYSTEM INFO: ${hr} Host:$alignr$nodename Uptime:$alignr$uptime RAM:$alignr$mem/$memmax Swap usage:$alignr$swap/$swapmax Disk usage:$alignr${fs_used /}/${fs_size /} Processor #1:$alignr${cpu cpu1}% Download $alignr ${downspeed wlan0} kb/s ${downspeedgraph wlan0} Upload $alignr ${upspeed wlan0} kb/s ${upspeedgraph wlan0}
Attached Files:
-
-
proxima_centauri Notebook Consultant
$alignr ${addr eth0}
* wlan0, eth0, eth1, where eth0 is located depending on what you're using. -
Maybe I should have just started a new thread....maybe I'm just too sentimental
Anyone got a killer .conkyrc file? -
proxima_centauri Notebook Consultant
Oh didn't even realize, thought it was a new thread or something :S
Here's mine
Code:# Use Xft? use_xft yes xftfont DejaVu Sans:size=8 xftalpha 0.8 text_buffer_size 2048 # Update interval in seconds update_interval 1 # 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_transparent yes own_window_type normal own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager # Use double buffering (reduces flicker, may not work for everyone) double_buffer yes # Minimum size of text area minimum_size 180 0 #maximum_width 180 # Draw shades? draw_shades no # Draw outlines? draw_outline no # Draw borders around text draw_borders no # Stippled borders? stippled_borders 0 # border margins border_margin 5 # border width border_width 1 # Default colors and also border colors default_color grey #default_shade_color black #default_outline_color grey own_window_colour grey # 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 # same thing as passing -x at command line gap_x 35 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 none TEXT SYSTEM ${hr 2} Host:$alignr$nodename ${voffset 2}${font openlogos:size=14}B${font} Kernel: ${alignr}${kernel} ${font StyleBats:size=16}A${font} CPU1: ${cpu cpu0}% ${alignr}${cpubar cpu0 8,60} ${font StyleBats:size=16}A${font} CPU2: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60} ${font StyleBats:size=16}g${font} RAM: $memperc% ${alignr}${membar 8,60} ${font Webdings:size=16}~${font} Battery: ${battery_percent BAT0}% ${alignr}${battery_bar 8,60 BAT0} ${font StyleBats:size=16}q${font} Uptime: ${alignr}${uptime} HD ${hr 2} ${voffset 4}${font Pie charts for maps:size=14}7${font} ${voffset -5}Root: ${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /} ${font Pie charts for maps:size=14}7${font} ${voffset -5}Home: ${voffset 4}${fs_used /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home} ${font Pie charts for maps:size=14}7${font} ${voffset -5}Windows: ${voffset 4}${fs_used /media/Preload}/${fs_size /media/Preload} ${alignr}${fs_bar 8,60 /media/Preload} NETWORK ${hr 2} ${if_existing /proc/net/route wlan0} ${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 BEBEBE BEBEBE} ${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 BEBEBE BEBEBE} ${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup wlan0} ${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown wlan0} ${voffset 4}${font PizzaDude Bullets:size=14}Z${font} Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0} ${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local Ip: ${alignr}${addr wlan0} ${else}${if_existing /proc/net/route eth0} ${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 789E2D A7CC5C} ${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 789E2D A7CC5C} ${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup eth0} ${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown eth0} ${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local Ip: ${alignr}${addr eth0} ${endif}${else}${if_existing /proc/net/route eth1} ${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 789E2D A7CC5C} ${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 789E2D A7CC5C} ${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup eth1} ${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown eth1} ${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local Ip: ${alignr}${addr eth1} ${endif}${else} ${font PizzaDude Bullets:size=14}4${font} Network Unavailable ${endif} PROCESSES ${hr 2} NAME $alignr PID CPU ${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top name 2} $alignr ${top pid 2} ${top cpu 2} ${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top name 4} $alignr ${top pid 4} ${top cpu 4} ${top name 5} $alignr ${top pid 5} ${top cpu 5} ${top name 6} $alignr ${top pid 6} ${top cpu 6} ${top name 7} $alignr ${top pid 7} ${top cpu 7} ${top name 8} $alignr ${top pid 8} ${top cpu 8}
-
Thanks...don't forget the screenshot
-
proxima_centauri Notebook Consultant
Too lazy, here's what it looks like from one of my desktop posts over at the Linux Mint forums.
http://forums.linuxmint.com/viewtopic.php?f=6&t=115&start=285#p125993 -
EDIT: where'd ya get that Mint start button and wallpaper? thx -
proxima_centauri Notebook Consultant
I posted a link to where I get all my great wallpapers later on in that Linux Mint thread.
I am running Arch x86_64 w/ Gnome. It is the regular gnome menu with an Arch icon instead of a gnome foot. -
Got it...I'm a forum member over there...I've never done arch, think I'll do that when I build my desktop.
EDIT: that's a goldmine wallpaper site...thx -
Here's mine for my VAIO SR-290:
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=10 # 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 #FFFFFF # Use double buffering (reduces flicker, may not work for everyone) double_buffer yes # Minimum size of text area minimum_size 100 5 maximum_width 225 # Draw shades? draw_shades no # 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 none # 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}${alignc}${time %A %b %d %Y} ${color #FFFFFF}${alignc}${font Bitstream Vera Sans Mono:size=14}${color #00ff00}${time %r}${font Bitstream Vera Sans Mono:size=10} ${color #FFFFFF}$kernel $machine ${color #FFFFFF}Intel Core2Duo @ ${color #00ff00}${freq} MHz ${color #FFFFFF}Total Usage: ${color #00ff00}$cpu % ${color #FFFFFF}Battery:${alignr}${color #00ff00}$battery ${color #ff0000}${battery_bar} ${color #FFFFFF}${voffset -17}${swapbar} ${color #FFFFFF}Core 1: ${color #00ff00}${cpu cpu1}% ${alignr}${color #FFFFFF}Temp: ${color #00ff00}${hwmon 1 temp 1}°C ${color #00ff00}${cpubar cpu1} ${color #FFFFFF}${voffset -17}${swapbar} ${color #FFFFFF}Core 2: ${color #00ff00}${cpu cpu2}% ${alignr}${color #FFFFFF}Temp: ${color #00ff00}${hwmon 2 temp 1}°C ${color #00ff00}${cpubar cpu2} ${color #FFFFFF}${voffset -17}${swapbar} ${color #FFFFFF}Ram: ${color #00ff00}$memperc%${alignr}$mem / $memmax ${color #00ff00}${membar} ${color #FFFFFF}${voffset -17}${swapbar} ${color #FFFFFF}Swap: ${color #00ff00}$swapperc%${alignr}$swap / $swapmax ${color #00ff00}${swapbar} ${color #FFFFFF}${voffset -17}${swapbar} ${color #FFFFFF}HD Temperature:${alignr}${color #00ff00}${execi 300 nc localhost 7634 | cut -c32-33 ;}°C ${color #FFFFFF}Disk I/O: ${color #00ff00}${diskio} ${color #FFFFFF}${diskiograph 10,224 ff0000 ff0000} ${color #FFFFFF}Processes ${color dark blue}${hr 2} ${color #FFFFFF}Total: ${color #00ff00}$processes Running: ${color #00ff00}$running_processes ${color #FFFFFF}Name ${color #FFFFFF} CPU% MEM% ${color #00ff00}${top name 1}${top cpu 1}${top mem 1} ${color #00ff00}${top name 2}${top cpu 2}${top mem 2} ${color #00ff00}${top name 3}${top cpu 3}${top mem 3} ${color #FFFFFF}Network ${color dark blue}${hr 2} ${color #FFFFFF}SSID:${alignr}${wireless_essid wlan0} ${color #FFFFFF}Bitrate:${alignr}${wireless_bitrate wlan0} ${color #FFFFFF}Signal Quality:${alignr}${wireless_link_qual_perc wlan0} ${color #ff0000}${wireless_link_bar wlan0} ${color #FFFFFF}${voffset -17}${swapbar} ${color #FFFFFF}Up:${color #00ff00}${upspeed wlan0}kB/s${alignr}${color #FFFFFF}Total:${color #00ff00}${totalup wlan0} ${color #FFFFFF}${upspeedgraph wlan0 25,224 ff0000 ff0000} ${color #FFFFFF}Down:${color #00ff00}${downspeed wlan0}kB/s${alignr}${color #FFFFFF}Total:${color #00ff00}${totaldown wlan0} ${color #FFFFFF}${downspeedgraph wlan0 25,224 00ff00 00ff00}
Attached Files:
-
-
thanks go ahead ed : I needed the Core 1 and Core 2 code !
-
Oooh, I love these threads! I'll post mine soonish. I'm having problems with my compiz standalone, so that's my priority. I plan on having a fairly in depth conky, as I won't have panels, so all the info I need will be in a conky script.
-
-
very nice ....thanks for giving this thread new life, I was about to myself
I'll post another with screenie soonish.
-
There's not really much to mine. I removed the RSS feed because it formatted so badly. At some point I hope to improve that... I think I got the calendar from someone in the Ubuntu forum.
Code:background yes use_xft yes xftfont URW Bookman L:size=8 xftalpha 1 update_interval 1.0 total_run_times 0 own_window no own_window_transparent yes own_window_type desktop own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes minimum_size 200 200 maximum_width 200 draw_shades no draw_outline no draw_borders no draw_graph_borders yes default_color FFFFFF default_shade_color grey default_outline_color white alignment top_right gap_x 12 gap_y 12 no_buffers yes uppercase yes cpu_avg_samples 2 override_utf8_locale no TEXT ${font URW Bookman L:style=Bold:size=18}T${font URW Bookman L:style=Bold:size=13}${color white}OP PROCESSES ${Voffset -14}${hr 2} ${color WHITE}${font URW Bookman L:normal:size=8}${top_mem name 1}${alignr}${top mem 1} % ${top_mem name 2}${alignr}${top mem 2} % $font${top_mem name 3}${alignr}${top mem 3} % CPU1: ${cpu cpu1}% ${cpubar cpu1} CPU2: ${cpu cpu2}% ${cpubar cpu2} ${font URW Bookman L:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc% $membar ${font URW Bookman L:normal:size=8}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}% ${fs_bar /} ${font Bitstream Vera Sans Mono:style=Bold:size=13} ${color lightgrey}${alignc}${execi 1 /home/gregory/rss/cal.sh first_part}${color #ddaa00}${execi 1 /home/gregory/rss/cal.sh today }${color }${execi 1 /home/gregory/rss/cal.sh second_part}
Attached Files:
-
-
guys does that affect gaming? For example i always have to disable desktop effects in Cedega or I will see the gnome bar in game. People have also reported seeing lower frame-rates when using desktop effects also. Does it affect gaming any?
-
-
Yeah, its very light weight...When I do some light gaming(Scorched3d-3D Update Of Scorched Earth, ArmagetronAD-Tron clone in 3D, extremetuxracer, and WoftET, all I have to turn off is compositing(not for performance but to avoid the random black boxes).
Gregory, have you tried running the calendar in another instance of conky? There wouldn't be an ugly space in your config file and it will make it easier to add stuff later. Here a how-to if you are considering it.
http://crunchbanglinux.org/wiki/howto/howto_setup_multiple_conky_sessions -
I added the space intentionally. I suppose I should remove it from the config when posting it
.
I did attempt creating a second instance of conky for an rss feed. I couldn't figure out a way to do it without setting "own_window" to "yes". Which I dislike as then I can't get my menu via right-click. Any ideas? -
Yeah, I have that problem. Not a big issue for me since I have adeskbar for my more frequent apps, know most of the keyboard shortcuts(open terminal and you have access to anything
), and I don't really click in that area( I am getting use to right clicking on the open space on the taskbar-the newer rev of tint2 allow that).
If you don't want to add another instance of conky, you could just mess with ${offset} & ${voffset} commands , so it looks clean but has the same function(and more when you play with horizontal configs like what I did for my clock)
http://conky.linux-hardcore.com/?page_id=144 -
here's one I'm currently using, set up for Gmail also:
Code:#avoid flicker double_buffer yes #own window to run simultanious 2 or more conkys own_window yes own_window_transparent yes own_window_type normal own_window_hints undecorate,sticky,skip_taskbar,skip_pager #borders draw_borders no border_margin 1 #shades draw_shades no #position gap_x 0 gap_y 42 alignment top_left #behaviour update_interval 1 #colour #default_color 9f907d default_color FFFFFF #color for text before white D7D3C5 #default_shade_color 000000 own_window_colour 3d352a #font use_xft yes xftfont Bitstream Vera Sans:pixelsize=10 #to prevent window from moving use_spacer no minimum_size 1440 0 TEXT ${alignc} Kernel: ${color FFFFFF}$kernel | ${color} Up: ${color FFFFFF}${uptime_short} | ${color}Processes: ${color FFFFFF}$processes ${color}Running: ${color FFFFFF}$running_processes | ${color}Cpu1: ${color FFFFFF}${cpu cpu1}% ${color}Cpu2: ${color FFFFFF}${cpu cpu2}% | ${color }Mem: ${color FFFFFF}$mem/$memmax - $memperc% ${color} ${membar 6,80}${color FFFFFF} | ${color }Net: ${color FFFFFF}${font}${downspeed wlan0} Kb/s ${color} ${downspeedgraph wlan0 10,80 AEA08E 9F907D} ${color FFFFFF} ${totaldown wlan0} down | ${color FFFFFF}${upspeed wlan0} Kb/s ${color} ${upspeedgraph wlan0 10,80 AEA08E 9F907D} ${color FFFFFF}${totalup wlan0} up ${alignc} ${color} Boot: ${color FFFFFF}${fs_free /boot} / ${fs_size /boot} - ${fs_free_perc /boot}% | ${color }Root: ${color FFFFFF}${font}${fs_free /} / ${fs_size /} - ${fs_free_perc /}% | ${color} Home: ${color FFFFFF}${fs_free /home} / ${fs_size /home} - ${fs_free_perc /home}% | ${color}Email: ${color FFFFFF}${execi 300 python ~/scripts/gmail.py} ${color FFFFFF}
Attached Files:
-
-
Fellas,
I have my conky setup (Ubuntu as a VM) and this is the part that annoys me:
The CPU 1 and CPU 2 percentages are OK, but the bar for both is the same. The graphic bars show the same usage. Following is the relevant conky code and the image.
Code:CPU 1 ${alignr}${cpu cpu0}% ${cpubar 4 cpu0} CPU 2 ${alignr}${cpu cpu1}% ${cpubar 4 cpu1}
How could I fix this? I have a T9600 (Core 2 Duo at 2.8)
Thanks! -
Have you tired cpu1 and cpu2 instead of 0 and 1?
-
Yes with no luck.
-
Conky variable page indicates that the arguments for Cpubar should look like this(see below), so try ${cpubar cpu1 4} and ${cpubar cpu2 4}
-
Thank's bro. That kinda did the trick.
I am using:
Code:CPU 1 ${alignr}${cpu cpu0}% ${cpubar cpu0 4} CPU 2 ${alignr}${cpu cpu1}% ${cpubar cpu1 4}
Cheers! -
Try changing them to cpu1 and cpu2 and see if it works better...cpu0 is supposedly the argument for avg/total usage.
I gave my input for your other question, but I am still a noob...I have only really played with Crunchbang(dark themed version of Ubuntu). That's where I learned about Conky(it is already installed in Crunchbang). See the NBR image gallery for pictures of how my conky setup. -
I know this is a pretty much dead thread =P but I thought it'd be better to post here than to make a new one since there isn't much love for linux on these boards.
Mine is fairly clunky (need to clean up the code a bit) but it works and I like how it looks as a package. This is my second conky config (the first was orange/black and can be seen in the show your linux desktop thread):
Code:###################### # - Conky settings - # ###################### update_interval 1 total_run_times 0 net_avg_samples 1 cpu_avg_samples 1 imlib_cache_size 0 double_buffer yes no_buffers yes ##################### # - Text settings - # ##################### use_xft yes xftfont Liberation Sans:size=8 override_utf8_locale yes text_buffer_size 2048 ############################# # - Window specifications - # ############################# own_window_class Conky own_window yes own_window_type override own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager alignment top_right gap_x 25 gap_y 40 minimum_size 182 0 maximum_width 195 default_bar_size 60 8 ######################### # - Graphics settings - # ######################### draw_shades no default_color 0AC92B color0 424242 color1 0AC92B color2 424242 TEXT ${font Liberation Sans:style=Bold:size=18}${color0}Cerberus $stippled_hr${color}${font} ############## # - SYSTEM - # ############## ${color0}${voffset 6}${font OpenLogos:size=19}z${font}${color}${goto 32}${voffset -14}${color0}${font Liberation Sans:style=Bold:size=8}Kernel:${color}${alignr}${color1}${kernel}${color} ${goto 32}${color0}Uptime:${color}${alignr}${color1}${uptime}${color}${font} # # #${font Arial Black:size=10}${mpd_artist}${font} #${font Arial Black:size=8}${mpd_title}${font} # #${execi 1 python ~/.conkycolors/bin/conkyLyrics.py} # # # |--CPU ${color0}${font Liberation Sans:style=Bold:size=8} {|||${color1}XFX RADEON 5850${color}${color0}|||} Core: ${color}${color1}1000MHz ${color}${color0}Memory:${color}${color1} 1150MHz ${color}${alignc}${font} ${color0}${font Liberation Sans:style=Bold:size=8} Core i5 750 @${color}${color1} 4.0GHz${color}${alignr}${font} ${offset 1}${color0}${font Poky:size=16}P${font}${offset -19}${voffset 9}${cpubar cpu0 4,18}${color}${voffset -16}${goto 32}${color0}${font Liberation Sans:style=Bold:size=8}CPU1:${color}${color1}${cpu cpu1}%${color}${alignr}${color2}${cpugraph cpu1 8,60 0AC92B 0AC92B}${color} ${goto 32}${color0}CPU2:${color}${font Liberation Sans:style=Bold:size=8}${color1}${cpu cpu2}%${color}${alignr}${color2}${cpugraph cpu2 8,60 0AC92B 0AC92B}${color} ${goto 32}${color0}CPU3:${color}${font Liberation Sans:style=Bold:size=8}${color1}${cpu cpu3}%${color}${alignr}${color2}${cpugraph cpu3 8,60 0AC92B 0AC92B}${color} ${goto 32}${color0}CPU4:${color}${font Liberation Sans:style=Bold:size=8}${color1}${cpu cpu4}%${color}${font} ${alignr}${color2}${cpugraph cpu4 8,60 0AC92B 0AC92B}${color} # |--MEM ${color0}${font Poky:size=16}M${font}${color}${goto 32}${voffset -7}${color0}${font Liberation Sans:style=Bold:size=8}RAM: ${color}${color1}$memperc%${color} ${offset 1}${voffset 2}${color0}${membar 4,18}${color}${goto 32}${voffset -2}${color1}FREE:${color}${color2}${memeasyfree}${color}${color1}USED:${color}${color2}${mem}${color}${font} ${font Liberation Sans:style=Bold:size=9}${color0}Now Playing in Audacious:${color}${font} ${font Liberation Sans:style=Bold:size=10}${exec audtool current-song}${font} ############# # - CLOCK - # ############# ${voffset 4}${font Liberation Sans:style=Bold:size=8}${color0}DATE $stippled_hr${color}${font} ${voffset -12}${goto 28}${font Arial Black:size=38}${color1}${time %I}${color}${font}${voffset -28}${font Liberation Sans:style=Bold:size=11}${color1}${time :%M}${time :%P}${color}${font} ${voffset -2}${goto 100}${font Liberation Sans:style=Bold:size=7}${color1}${time %S} ${goto 100}${time %H:%M %A}${color}${font} ################ # - CALENDAR - # ################ ${voffset -2}${color0}${font Poky:size=15}d${font}${color}${voffset -8}${color0}${font Liberation Mono:size=8}${execpi 10800 DJS=`date +%-d`; cal | sed 's/^/${goto 32} /' | sed '1d' | sed s/" $DJS "/" "'${color}${font Liberation Mono:style=bold:size=8}${color1}'"$DJS"'${color}${color0}${font}${font Liberation Mono:size=8}'" "/}${color}${font}${font}${voffset -12} ########## # - HDD TEMP - # ########## ${voffset 4}${font Liberation Sans:style=Bold:size=8}${color0}HDD TEMP $stippled_hr${color}${font} # |--HDTEMP1 ${voffset 4}${color0}${font Weather:size=15}y${font}${voffset -8}${goto 32}${font Liberation Sans:style=Bold:size=8}UBUNTU: ${color}${color1}${execi 120 hddtemp /dev/sda -n --unit=C}°C${color} # |--HDTEMP2 ${goto 32}${color0}WIN7X64: ${color}${color1}${execi 120 hddtemp /dev/sdb -n --unit=C}°C${color} # |--HDTEMP3 ${goto 32}${color0}STEAM: ${color}${color1}${execi 120 hddtemp /dev/sdc -n --unit=C}°C${color} # |--HDTEMP4 ${goto 32}${color0}ANIME: ${color}${color1}${execi 120 hddtemp /dev/sdd -n --unit=C}°C${color} ${color0}HDD usage ${stippled_hr}${color} ${color0} UBUNTU: ${color}${color1}${fs_free_perc /}% ${fs_bar 6 /}${color} ${color0} ANIME: ${color}${color1}${fs_free_perc /media/sdd2}% ${fs_bar 6 /media/sdd2}${color} ${color0} WIN7X64: ${color}${color1}${fs_free_perc /media/sdb1}% ${fs_bar 6 /media/sdb1}${color} ${color0} STEAM: ${color}${color1}${fs_free_perc /media/sdc2}% ${fs_bar 6 /media/sdc2}${color} ############### # - NETWORK - # ############### ${voffset 4}${font Liberation Sans:style=Bold:size=8}${color0}NETWORK $stippled_hr${color0}${font} # |--WLAN0 ${if_up wlan0} ${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 32}${voffset -6}${font Liberation Sans:style=Bold:size=8}${color1}Up: ${color}${color0}${upspeed wlan0}${color}${alignr}${color2}${upspeedgraph wlan0 8,60 0AC92B 0AC92B}${color} ${goto 32}${color1}Total: ${color}${color2}${totalup wlan0}${color}${font} ${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 32}${voffset -6}${font Liberation Sans:style=Bold:size=8}${color1}Down: ${color}${color0}${downspeed wlan0}${color}${alignr}${color2}${downspeedgraph wlan0 8,60 0AC92B 0AC92B}${color} ${goto 32}${color1}Total: ${color}${color2}${totaldown wlan0}${color} ${voffset -2}${color0}${font Poky:size=14}Y${font}${color}${goto 32} ${voffset -2}${color0}Signal: ${color}${font Liberation Sans:style=Bold:size=8}${color1}${wireless_link_qual wlan0}%${color}${font} ${alignr}${color1}${wireless_link_bar 8,60 wlan0}${color} ${voffset -4}${font Liberation Sans:style=Bold:size=8}${color0}Local IP: ${color}${color1}${addr wlan0}${color} ${voffset -4}${color0}Public IP: ${color}${color1}${execi 10800 ~/.conkycolors/bin/conkyIp}${color}${font} # |--ETH0 ${else}${if_up eth0} ${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 32}${voffset -6}${font Liberation Sans:style=Bold:size=8}${color1}Up: ${color}${color0}${upspeed eth0}${color}${alignr}${color2}${upspeedgraph eth0 8,60 0AC92B 0AC92B}${color} ${goto 32}${color1}Total: ${color}${color2}${totalup eth0}${color}${font} ${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 32}${voffset -6}${font Liberation Sans:style=Bold:size=8}${color1}Down: ${color}${color0}${downspeed eth0}${color}${alignr}${color2}${downspeedgraph eth0 8,60 0AC92B 0AC92B}${color} ${goto 32}${color1}Total: ${color}${color2}${totaldown eth0}${color}${font} ${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 32}${voffset -4}${font Liberation Sans:style=Bold:size=8}${color0}Local IP:${color}${alignr}${color1}${addr eth0}${color} ${goto 32}${color0}Public IP: ${color}${alignr}${color1}${execi 10800 ~/.conkycolors/bin/conkyIp}${color}${font} # |--PPP0 ${endif}${else}${if_up ppp0} ${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 32}${voffset -6}Up: ${font Liberation Sans:style=Bold:size=8}${color1}${upspeed ppp0}${color}${font} ${alignr}${color2}${upspeedgraph ppp0 8,60 FF6103 FF6103}${color} ${goto 32}Total: ${color2}${totalup ppp0}${color} ${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 32}${voffset -6}Down: ${font Liberation Sans:style=Bold:size=8}${color1}${downspeed ppp0}${color}${font} ${alignr}${color2}${downspeedgraph ppp0 8,60 FF6103 FF6103}${color} ${goto 32}Total: ${color2}${totaldown ppp0}${color} ${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 32}${voffset -4}Local IP: ${alignr}${color2}${addr ppp0}${color} ${endif}${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 32}Network Unavailable${endif}${endif} #${color1}${exec conkyDeluge} ############### # - WEATHER - # ############### ${voffset -8}${font Liberation Sans:style=Bold:size=8}${color0}WEATHER $stippled_hr${color}${font} # For a working weather script you NEED to define, in a user specific config file, a partner id and registration code for the weather.com xoap service. For this purpose copy .conkyForecast.config in ~/.conkycolors folder to your home and setup as required. ${font Liberation Sans:style=Bold:size=8}${color0}Curtis Current Conditions : ${color1}${execi 3600 conkyForecast --location=USWA0104 --datatype=HT}${color} ${font ConkyWeather:size=36}${color0}${execi 3600 conkyForecast --location=USWA0104 --datatype=WF}${color}${font} ${font Liberation Sans:style=Bold:size=8}${color0}Temp:${color}${color1}${execi 3600 conkyForecast --location=USWA0104 --datatype=HT}${color} ${alignr}${color0}Feels Like: ${color1}${execi 3600 conkyForecast --location=USWA0104 --datatype=HT}${color} ${color0}Humidity: ${color1}${execi 3600 conkyForecast --location=USWA0104 --datatype=HM}${color} ${alignr}${color0}Precip: ${color1}${execi 3600 conkyForecast --location=USWA0104 --datatype=PC}${color} ${color0}Sunrise: ${color1}${execi 3600 conkyForecast --location=USWA0104 --datatype=SR}${color} ${alignr}${color0}Sunset: ${color1}${execi 3600 conkyForecast --location=USWA0104 --datatype=SS -i}${color} ${color0}Wind Dir: ${color1}${execi 3600 conkyForecast --location=USWA0104 --datatype=WD -i}${color} ${alignr}${color0}Wind: ${color1}${execi 3600 conkyForecast --location=USWA0104 --datatype=WS}${color} ${color0}Pressure: ${color1}${execi 3600 conkyForecast --location=USWA0104 --datatype=BR}${color} ${alignr}${color0}Pressure: ${color1}${execi 3600 conkyForecast --location=USWA0104 --datatype=BD}${color} ${color0}Visibility: ${color1}${execi 3600 conkyForecast --location=USWA0104 --datatype=VI -i}${color} ${alignr}${color0}Wind Gusts: ${color1}${execi 3600 conkyForecast --location=USWA0104 --datatype=WG}${color}${font} # http://www.weather.com/services/xmloap.html # |--WLAN0 ${if_up wlan0} ${execpi 10800 ~/.conkycolors/bin/conkyForecast --location=USWA0104 -t ~/.conkycolors/templates/conkyForecast.template} # |--ETH0 ${else}${if_up eth0} ${execpi 10800 ~/.conkycolors/bin/conkyForecast --location=USWA0104 -t ~/.conkycolors/templates/conkyForecast.template} # |--PPP0 ${endif}${else}${if_up ppp0} ${execpi 10800 ~/.conkycolors/bin/conkyForecast --location=USWA0104 -t ~/.conkycolors/templates/conkyForecast.template} ${endif}${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 32}Weather Unavailable${endif}${endif}
Also, one question. Is it possible to add a similar system to the color system where I can just add a FONT1= xxxx DEFAULT_FONT= xxx and then in the actual script just use ${font1}textgoeshere${font}? Want to make it easier to change the whole script with just 1 change, and would rather not use replace xxx with xxx in gedit. -
-
those look great everyone. nice thread idea
-
-
thezoid
What are you using now?
Ref: "...I might go back to conky soon....thanks for resurrecting" -
Post your .conkyrc file here with screenshot
Discussion in 'Linux Compatibility and Software' started by theZoid, Apr 29, 2008.