Page 601 of 2348 FirstFirst ... 10150155159159960060160260361165170111011601 ... LastLast
Results 6,001 to 6,010 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #6001
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by alelinuxbsd View Post
    Now i add:
    override_utf8_locale yes
    but the result don't change.
    1) How do configure xft?

    2) I have another question:
    ${execi 1 sudo smartctl -a /dev/sda | grep 194 | cut -c88-90}

    How can obtain the same result (the temperature of my hdd) without sudo (possibly using smartctl)?

    I don't want execute a process always as root.
    Try using hddtemp instead for your harddrive temp. Start with post #5691 and read through for several posts to see how to set it up.

    http://ubuntuforums.org/showthread.p...dtemp&page=570

    Edit: oh, and it's 64 F here.
    Attached Images Attached Images
    Last edited by ddnev45; March 5th, 2009 at 01:49 AM.
    The mark of an honest man ... is that he means what he says and knows what he means.
    A.R.

  2. #6002
    Join Date
    Jul 2007
    Location
    Segura, Spain
    Beans
    235

    Re: Post your .conkyrc files w/ screenshots

    mujeres y hombres de esta tierra
    un otro mundo es posible
    otro mundo diferente
    justo si, y sin miedo de su gente

  3. #6003
    Join Date
    Nov 2008
    Location
    Wirral, UK
    Beans
    277
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by jjgomera View Post
    So cruel, Oh so cruel!
    I'll never drink water again....Fish poo in it!
    XP for iTunes Only : Ubuntu10.04 : Crunchbang : DSL
    I'm Pushing Narcoleptic Numbat for ubuntu11.04
    Proper Funny Stuff

  4. #6004
    Join Date
    Aug 2007
    Location
    Melburn
    Beans
    158
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Post your .conkyrc files w/ screenshots

    new laptop, new conky.
    planning to add conkyForecast & tweak the colours.
    still figuring out how to use if_empty to swap between wlan0 and eth0, and can't seem to find how to get my cup fan rpm.

    haven't touched my desktop conky in ages - forgot how addictive it is!

    Code:
    background yes
    use_xft yes
    xftfont Ubuntu-Title:size=9
    xftalpha 1
    update_interval 1.0
    total_run_times 0
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 150 5
    maximum_width 150
    draw_shades yes
    draw_outline no
    draw_borders no
    draw_graph_borders no
    #stippled_borders 8
    # border margins
    border_margin 10
    #border_width 5
    default_color white
    default_shade_color black
    default_outline_color white
    #alignment top_left
    alignment top_right
    #alignment bottom_left
    #alignment bottom_right
    #gap_x 450
    #gap_y 1
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    net_avg_samples 2
    override_utf8_locale yes
    use_spacer no
    TEXT
    ${font Kotak:size=43}${time %H%M}$font
    
    ${font ubuntu-title:size=12}⥁$font$alignr$uptime_short online
    ${font ubuntu-title:size=12}⚡$font$alignr${battery}
    ${font ubuntu-title:size=12}⊷ $font${cpu cpu0}%$alignr${freq_dyn_g cpu0}GHz
    ${voffset -6}${cpugraph cpu0 20,150 000000 ffffff}
    $alignr ${execpi 5 sensors coretemp-isa-0000 | grep "Core 0" | cut -c15-20}
    ${font ubuntu-title:size=12}⊶ $font${cpu cpu1}%$alignr${freq_dyn_g cpu1}GHz
    ${voffset -6}${cpugraph cpu1 20,150 000000 ffffff}
    $alignr ${execpi 5 sensors coretemp-isa-0001 | grep "Core 1" | cut -c15-20}
    $alignc$loadavg
    ${font ubuntu-title:size=6}$alignc$processes processes, $running_processes running$font
    
    ${font HVD Poster:size=10}ram$font
    ${membar 4,100}${font ubuntu-title:size=6}$alignr$memperc% used$font
    ${font HVD Poster:size=10}home$font
    ${fs_bar 4,100 /home}${font ubuntu-title:size=6}$alignr${fs_free_perc /home}% free$font
    ${font HVD Poster:size=10}audio$font
    ${fs_bar 4,100 /home}${font ubuntu-title:size=6}$alignr${fs_free_perc /home}% free$font
    ${font HVD Poster:size=10}backup$font${if_mounted /media/External}
    ${fs_bar 4,100 /media/External}${font ubuntu-title:size=6}$alignr${fs_free_perc /media/External}% free$else${font ubuntu-title:size=6}$alignr not mounted$font$endif
    
    ${if_up wlan0}${upspeedgraph wlan0 15,75 00ff00 000000}${downspeedgraph wlan0 15,75 000000 ff0000}
    ${voffset -20}${goto 32}${font ubuntu-title:size=20}${color 99ff00}⇡$color${goto 76}⊚${goto 120}${color ff3300}⇣$color$font
    ${color yellow}${font ubuntu-title:size=7}${upspeedf wlan0}k/s$alignr${downspeedf wlan0}k/s
    ${totalup wlan0}$alignr${totaldown wlan0}$endif
    ${exec nm-tool | grep '*' | grep -v Current | cut -c6-20}$alignr${exec iwconfig wlan0 | grep "Link Quality" | cut -c 24-25}%$color$font
    Attached Images Attached Images
    AMD Athlon 2100+ | 2GB | 300GB | 7600GS | Hardy
    HP DV5 1139TX | Core2Duo T9400 | 4GB | 400GB | 9600M GS | Ibex
    Registered Linux User #478917
    music | flickr | tumblr

  5. #6005
    Join Date
    Jun 2007
    Beans
    379

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by epidemiks View Post
    new laptop, new conky.
    planning to add conkyForecast & tweak the colours.
    still figuring out how to use if_empty to swap between wlan0 and eth0, and can't seem to find how to get my cup fan rpm.
    Here's my code for that. Quite complicated, but I just copied it and edited it to suit my needs. I found that if_up always returned true, since the connections are up, just not connected. So the best way I've found (copied) is to examine the current route file to see if the connection is used at all. External IP is gotten from another script around 15 pages back. Sorry about all the color/offset/font stuff, am just copy-pasting.

    Code:
    ${if_existing /proc/net/route wlan0}${color1}External IP: $color0$alignr${execi 3600 wget -O - http://ip.tupeux.com | tail}$color1 via wlan0
    ${color1}Internal IP: $color0${alignr}${addr wlan0}
    ${color1}SSID: $color0$alignr${wireless_essid wlan0}
    ${color1}Wireless signal: $color0${alignr}${wireless_link_qual_perc wlan0}%
    ${voffset -5}$color1${stippled_hr 2}${voffset -4}
    ${color1}Down: $color0${totaldown wlan0} $alignr${color1}Up: $color0${totalup wlan0}
    $color1${voffset -2}${downspeedgraph wlan0 20,120 000000 FF4500}$alignr${upspeedgraph wlan0 20,120 000000 FF4500}
    ${voffset -25}$color${font dejavusansmono:size=10}$alignr${offset -154}${downspeedf wlan0}kb/s$font
    ${voffset -16}$color${font dejavusansmono:size=10}$alignr${offset -24}${upspeedf wlan0}kb/s$font${voffset 4}$else${if_existing /proc/net/route eth0}${color1}External IP: $color0$alignr${execi 3600 wget -O - http://ip.tupeux.com | tail}$color1 via eth0
    ${color1}Internal IP: $color0${alignr}${addr eth0}
    ${voffset -7}$color1${stippled_hr 1}${voffset -4}
    ${color1}Down: $color0${totaldown eth0} $alignr${color1}Up: $color0${totalup eth0}
    $color1${voffset -2}${downspeedgraph eth0 20,120 8B4513 FF4500}$alignr${upspeedgraph eth0 20,120 8B4513 FF4500}
    ${voffset -25}$color${font dejavusansmono:size=10}$alignr${offset -154}${downspeedf eth0}kb/s$font
    ${voffset -16}$color${font dejavusansmono:size=10}$alignr${offset -24}${upspeedf eth0}kb/s$font${voffset 4}$else${color1}Networking disabled$endif$endif

  6. #6006
    Join Date
    Aug 2007
    Location
    Melburn
    Beans
    158
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Ng Oon-Ee View Post
    Here's my code for that. Quite complicated, but I just copied it and edited it to suit my needs. I found that if_up always returned true, since the connections are up, just not connected. So the best way I've found (copied) is to examine the current route file to see if the connection is used at all. External IP is gotten from another script around 15 pages back. Sorry about all the color/offset/font stuff, am just copy-pasting.

    Code:
    ${if_existing /proc/net/route wlan0}${color1}External IP: $color0$alignr${execi 3600 wget -O - http://ip.tupeux.com | tail}$color1 via wlan0
    ${color1}Internal IP: $color0${alignr}${addr wlan0}
    ${color1}SSID: $color0$alignr${wireless_essid wlan0}
    ${color1}Wireless signal: $color0${alignr}${wireless_link_qual_perc wlan0}%
    ${voffset -5}$color1${stippled_hr 2}${voffset -4}
    ${color1}Down: $color0${totaldown wlan0} $alignr${color1}Up: $color0${totalup wlan0}
    $color1${voffset -2}${downspeedgraph wlan0 20,120 000000 FF4500}$alignr${upspeedgraph wlan0 20,120 000000 FF4500}
    ${voffset -25}$color${font dejavusansmono:size=10}$alignr${offset -154}${downspeedf wlan0}kb/s$font
    ${voffset -16}$color${font dejavusansmono:size=10}$alignr${offset -24}${upspeedf wlan0}kb/s$font${voffset 4}$else${if_existing /proc/net/route eth0}${color1}External IP: $color0$alignr${execi 3600 wget -O - http://ip.tupeux.com | tail}$color1 via eth0
    ${color1}Internal IP: $color0${alignr}${addr eth0}
    ${voffset -7}$color1${stippled_hr 1}${voffset -4}
    ${color1}Down: $color0${totaldown eth0} $alignr${color1}Up: $color0${totalup eth0}
    $color1${voffset -2}${downspeedgraph eth0 20,120 8B4513 FF4500}$alignr${upspeedgraph eth0 20,120 8B4513 FF4500}
    ${voffset -25}$color${font dejavusansmono:size=10}$alignr${offset -154}${downspeedf eth0}kb/s$font
    ${voffset -16}$color${font dejavusansmono:size=10}$alignr${offset -24}${upspeedf eth0}kb/s$font${voffset 4}$else${color1}Networking disabled$endif$endif
    cheers man, works a charm. that ssid/strength calls are great too
    AMD Athlon 2100+ | 2GB | 300GB | 7600GS | Hardy
    HP DV5 1139TX | Core2Duo T9400 | 4GB | 400GB | 9600M GS | Ibex
    Registered Linux User #478917
    music | flickr | tumblr

  7. #6007
    Join Date
    Jul 2005
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    I finally was able to make my conky check for usb drives with variable mountpoints. Now no matter where a usb stick gets mounted as long as it is sda[1,2], it will show up with the right moutpoint displayed in conky. I'm sure this can be improved on, and if anyone can make it better, by all means, post it. Thanks to [tt]awk[/tt], everything works like I want it to. So far.

    Highlights Include:
    upload/download blocks change for wired or wireless
    IP line also changes depending on wired/wifi state
    power plug indicator green/red for in/out
    sdb1 and sdb2 for usb disks displays correct variable mountpoint
    disk usage update during copy not after transaction


    Code:
    # UBUNTU-CONKY
    # A comprehensive conky script, configured for use on
    # Ubuntu / Debian Gnome, without the need for any external scripts.
    #
    # Based on conky-jc and the default .conkyrc.
    # INCLUDES:
    # - tail of /var/log/messages
    # - netstat connections to your computer
    #
    # -- Pengo (conky@pengo.us)
    #
    
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_type normal
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    background yes #Transparent background.
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    # fiddle with window
    use_spacer right
    use_xft yes
    
    # Update interval in seconds
    update_interval .5
    
    # Minimum size of text area
    minimum_size 410 660
    
    # Draw shades?
    draw_shades no
    
    # Draw borders around graphs
    draw_graph_borders no
    
    # Text stuff
    draw_outline no # amplifies text if yes
    draw_borders no
    xftfont Eurostile:size=10
    xftalpha 0.7
    #font arial
    uppercase no # set to yes if you want all text to be in uppercase
    
    # Stippled borders?
    stippled_borders 3
    
    # border margins
    border_margin 9
    
    # border width
    border_width 10
    
    # Default colors and also border colors, grey90 == #e5e5e5
    #default_color #E0D19B
    
    own_window_colour brown
    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 5
    gap_y 5
    
    #colors
    color0 0077ff
    
    # stuff after 'TEXT' will be formatted on screen 
    
    TEXT
    ${font DejaVu Sans Mono:size=9}${color #0077ff}${exec cat /etc/elive-version |grep elive-version} ${goto 220}Uptime:  ${color}$uptime
    ${color #0077ff}$kernel ${goto 220}${color #0077ff}Battery: ${if_existing /sys/class/power_supply/ACAD/online 0}${color}${battery_percent}%  ${color #0077ff}Plug: ${color #ff5555}out${else}${endif}${if_existing /sys/class/power_supply/ACAD/online 1}${color}${battery_percent}%  ${color #0077ff}Plug: ${color #55ff55}in${endif}
    
    ${color #0077ff}Core 0: ${color}${cpu cpu0}%  ${color #0077ff}${cpubar cpu0 5}
    ${color #0077ff}Core 1: ${color}${cpu cpu1}%  ${color #0077ff}${cpubar cpu1 5}
    ${color #0077ff}Disk Usage${goto 120}|RAM Usage${goto 220}|Down Speed${goto 320}|Up Speed
    ${color}${diskio}${color #0077ff}${goto 120}|${color}${mem}${color #0077ff}${goto 220}|${color}${if_existing /proc/net/route ath0}${downspeed ath0}${else}${endif}${if_existing /proc/net/route eth0}${downspeed eth0}${else}${endif}${goto 320}${color #0077ff}|${color}${if_existing /proc/net/route ath0}${upspeed ath0}${else}${endif}${if_existing /proc/net/route eth0}${upspeed eth0}${else}${endif}
    ${color #0077ff} ${diskiograph 13,100 0077ff 0077ff 500}${goto 120}|${color}${memperc}% ${color #0077ff}${memgraph 13,50 0077ff 0077ff}${goto 220}|${if_existing /proc/net/route ath0}${downspeedgraph ath0 13,90 0077ff 0077ff 7000}${else}${endif}${if_existing /proc/net/route eth0}${downspeedgraph eth0 13,90 0077ff 0077ff 7000}${color #0077ff}${else}${endif}${goto 320}|${if_existing /proc/net/route ath0}${upspeedgraph ath0 13,90 0077ff 0077ff 2000}${else}${endif}${if_existing /proc/net/route eth0}${upspeedgraph eth0 13,90 0077ff 0077ff 2000}${else}${endif}
    ${if_existing /proc/net/route eth0}${color #0077ff}Wired:${color} ${addr eth0}${else}${endif}${if_existing /proc/net/route ath0}${color #0077ff}WiFi:${color} ${addr ath0} ${goto 190}${wireless_link_qual_perc ath0}% ${color #0077ff}${wireless_link_bar 5,50 ath0} ${color}${wireless_essid ath0}${else}${endif}
    
    ${color #0077ff}File systems:
    ${color #0077ff}Mount Point    Free   Total   Used
    ${color #0077ff}/ ${goto 130}${color}${exec df -h |grep /dev/sda3 |awk '{print $4 "	" $2 "	" $5}'} ${goto 300}${color #0077ff}${fs_bar 4 /}
    ${color #0077ff}/home ${goto 130}${color}${exec df -h |grep /dev/sda4 |awk '{print $4 "	" $2 "	" $5}'} ${goto 300}${color #0077ff}${fs_bar 4 /home}
    ${color #0077ff}${if_existing /etc/mtab /dev/sdb1}${exec mount |grep /dev/sdb1 |awk '{print $3}'} ${goto 130}${color}${exec df -h |grep /dev/sdb1 |awk '{print $4 "	" $2 "	" $5}'} ${goto 300}${color #0077ff}${execbar df |grep /dev/sdb1 |awk '{print $5*.01}'}
    ${else}${endif}${color #0077ff}${if_existing /etc/mtab /dev/sdb2}${exec mount |grep /dev/sdb2 |awk '{print $3}'} ${goto 130}${color}${exec df -h |grep /dev/sdb2 |awk '{print $4 "	" $2 "	" $5}'} ${goto 300}${color #0077ff}${execbar df |grep /dev/sdb2 |awk '{print $5*.01}'}
    ${else}${endif}
    ${color #0077ff}Top Processes:
    ${color #0077ff}CPU time		${alignr}PID     CPU%     MEM% 
    ${color #ffffff} ${top name 1}${alignr}${top pid 1}   ${top cpu 1}   ${top mem 1}	
    ${color #eeeeee} ${top name 2}${alignr}${top pid 2}   ${top cpu 2}   ${top mem 2}	
    ${color #dddddd} ${top name 3}${alignr}${top pid 3}   ${top cpu 3}   ${top mem 3}	
    ${color #cccccc} ${top name 4}${alignr}${top pid 4}   ${top cpu 4}   ${top mem 4}	
    ${color #bbbbbb} ${top name 5}${alignr}${top pid 5}   ${top cpu 5}   ${top mem 5}	
    ${color #0077ff}MEM usage
    ${color #ffffff} ${top_mem name 1}${alignr}${top_mem pid 1}   ${top_mem cpu 1}   ${top_mem mem 1}	
    ${color #eeeeee} ${top_mem name 2}${alignr}${top_mem pid 2}   ${top_mem cpu 2}   ${top_mem mem 2}	
    ${color #dddddd} ${top_mem name 3}${alignr}${top_mem pid 3}   ${top_mem cpu 3}   ${top_mem mem 3}	
    ${color #cccccc} ${top_mem name 4}${alignr}${top_mem pid 4}   ${top_mem cpu 4}   ${top_mem mem 4}	
    ${color #bbbbbb} ${top_mem name 5}${alignr}${top_mem pid 5}   ${top_mem cpu 5}   ${top_mem mem 5}	
    
    ${color #0077ff}Port Monitor${alignr}${color}${tcp_portmon 1 65535 count} ${color #0077ff}Total Connections
    ${color #0077ff}Inbound   - ${color}${tcp_portmon 1 32767 count} ${alignr} ${color #0077ff}Local Service/Port${color}
     ${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
     ${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
     ${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
     ${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
     ${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
     ${tcp_portmon 1 32767 rhost 5} ${alignr} ${tcp_portmon 1 32767 lservice 5}
     ${tcp_portmon 1 32767 rhost 6} ${alignr} ${tcp_portmon 1 32767 lservice 6}
    ${color #0077ff}Outbound  - ${color}${tcp_portmon 32768 61000 count} ${alignr} ${color #0077ff}Remote Service/Port${color}
     ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
     ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
     ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
     ${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
     ${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
     ${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}
     ${tcp_portmon 32768 61000 rhost 6} ${alignr} ${tcp_portmon 32768 61000 rservice 6}
    Attached Images Attached Images
    Attached Files Attached Files

  8. #6008
    Join Date
    Sep 2007
    Location
    Central, IL USA
    Beans
    160
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by alelinuxbsd View Post
    Now i add:
    override_utf8_locale yes
    but the result don't change.
    1) How do configure xft?

    2) I have another question:
    ${execi 1 sudo smartctl -a /dev/sda | grep 194 | cut -c88-90}

    How can obtain the same result (the temperature of my hdd) without sudo (possibly using smartctl)?

    I don't want execute a process always as root.
    I'm not quite sure about the sudo question... however make sure there is not a statement of override_utf8_locale no located elsewhere in your file. Just suggesting.

    ~~archery~~

  9. #6009
    Join Date
    Sep 2007
    Location
    Central, IL USA
    Beans
    160
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Post your .conkyrc files w/ screenshots

    alelinuxbsd has brought up something that could be looked into. Does anybody know how to issue a "sudo" command into conky? Such as:
    Code:
    sudo smartctl -a /dev/sda | grep 194 | cut -c88-90
    When doing so in command prompt I receive a valid number. But through conky I'm greeted with a blank space. Any suggestions.

    ~~archery~~

  10. #6010
    Join Date
    Nov 2008
    Location
    Here, There, Everywhere
    Beans
    1,163
    Distro
    Xubuntu

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by archeryguru2000 View Post
    alelinuxbsd has brought up something that could be looked into. Does anybody know how to issue a "sudo" command into conky? Such as:
    Code:
    sudo smartctl -a /dev/sda | grep 194 | cut -c88-90
    When doing so in command prompt I receive a valid number. But through conky I'm greeted with a blank space. Any suggestions.

    ~~archery~~
    That looks dangerous. I think sudo will stop asking your password everytime conky updates itself.

Page 601 of 2348 FirstFirst ... 10150155159159960060160260361165170111011601 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •