Page 1299 of 2274 FirstFirst ... 299799119912491289129712981299130013011309134913991799 ... LastLast
Results 12,981 to 12,990 of 22732

Thread: Post your .conkyrc files w/ screenshots

  1. #12981
    Join Date
    Nov 2009
    Location
    home/usa/maine/dirt road
    Beans
    467
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Post your .conkyrc files w/ screenshots

    Do things in the .conkyrc have to be in a certain order? Should that go at the bottom? top?

  2. #12982
    Join Date
    May 2008
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by bigsmitty64 View Post
    Do things in the .conkyrc have to be in a certain order? Should that go at the bottom? top?
    Settings are above the TEXT line, things to show up on screen are below the TEXT line:
    Code:
    override_utf8_locale yes
    own_window_title conky
    use_xft yes
    background yes
    xftfont vera:size=10
    alignment left
    xftalpha 1
    own_window yes
    own_window_type normal
    own_window_transparent no
    #own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    draw_shades no
    draw_outline no
    draw_borders no
    stippled_borders 10
    border_margin 4
    border_width 1
    default_shade_color grey
    default_outline_color black
    use_spacer none
    no_buffers yes
    uppercase no
    default_color 99ccff #Light Blue
    color0 4040ff #Blue
    color1 40ff40 #Green
    color2 ff4040 #Red
    color3 ffffff #White
    color4 aa40aa #Purple
    color5 c08040 #Brown
    color6 ffff40 #Yellow
    color7 aaaaaa #Gray
    color8 808080 #Dark Gray
    color9 4040aa #Dark Blue
    text_buffer_size 4096
    #minimum_size 285
    TEXT
    ${font monospace:size=12}${execpi 3600 $HOME/conky/conkycal.sh | sed 's/^/${center}/'}${font}

  3. #12983
    Join Date
    Aug 2005
    Location
    N. Ireland
    Beans
    36
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Post your .conkyrc files w/ screenshots

    I've been playing around to get output from googlecl's calendar function into conky.

    Here's the bash script, save it as ~/bin/listcal:
    Code:
    #!/bin/sh
    # Fetch gcal entries for specified time period
    # and format output for use in conky.
    # Needs http://code.google.com/p/googlecl/ installed
    
    BEG=$(date +%F) # today's date
    END=$(date --date='1 month' +%F) # end date offset
    DAY=86400 # seconds per day
    
    # Get the events for specified period from Main calendar
    # Use a different calendar by adding --cal "Name of calendar"
    google calendar list -d $BEG,$END when,title > $HOME/conky/gcal.tmp
    
    while read line  
    do
        STDATE=$(echo $line | cut -c 1-6)     # start date
        STTIME=$(echo $line | cut -c 8-12)    # start time
        STLONG=$(echo $line | cut -c 1-12)    # start date and time
    
        ENDATE=$(echo $line | cut -c 16-21)   # end date
        ENTIME=$(echo $line | cut -c 23-27)   # end time
        ENLONG=$(echo $line | cut -c 16-27)   # end date and time
    
        EVENT=$(echo $line | cut -c 29-)      # event title
    
        STSEC=$(date --date="$STLONG" +%s)    # start date and time in seconds
        ENSEC=$(date --date="$ENLONG" +%s)    # end date and time in seconds
        DIF=$((ENSEC-STSEC))                  # time difference in seconds
    
        if [ $DIF -eq $DAY ]; then
            echo "\${color1}$STDATE\${color2} $EVENT"
        elif [ $DIF -lt $DAY ]; then
            echo "\${color1}$STDATE\${color2} $STTIME-$ENTIME $EVENT"
        elif [ $DIF -gt $DAY ]; then
            echo "\${color1}$STDATE\${color2} - \${color1}$ENDATE\${color2} $EVENT"
        fi
    done < $HOME/conky/gcal.tmp
    It fetches the events for a specified period and saves them to a temp file. This is then read line by line and formatted differently for events that last all day, multiple days or have specific start/end times.

    To call it from conky use
    Code:
    ${execpi 900 listcal}
    I don't know much about shell scripting, so I'm sure there's easier ways to do this. Feel free to post your improvements/modifications.

  4. #12984
    Join Date
    Dec 2008
    Location
    The Desert
    Beans
    281
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by larryni View Post
    I've been playing around to get output from googlecl's calendar function into conky.
    snip
    I don't know much about shell scripting, so I'm sure there's easier ways to do this. Feel free to post your improvements/modifications.
    sweet script. very useful to me
    I'm a super power user

  5. #12985
    Join Date
    Oct 2007
    Location
    Germany
    Beans
    4
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Post your .conkyrc files w/ screenshots

    Quick Question:

    Is there a way that I can show status from Transmission, and Totem? I tried to find a way, but I can't find it. Any help would is welcome.

  6. #12986
    Join Date
    Nov 2007
    Location
    Poole, United Kingdom
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    For this Conky setup you will need a screen resolution of 1600x1200 or larger for it to fit, otherwise you will need to remove items.

    .conkyrc
    Code:
    # Use Xft?
    use_xft yes
    xftfont Droid 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 override
    #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 182 0
    maximum_width 182
    
    # Draw shades?
    draw_shades no
    default_color D6D6D6 #4D4D4D
    # 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
    
    # 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 25
    gap_y 40
    
    # -- Lua Load -- #
    lua_load ~/.draw_bg.lua
    lua_draw_hook_pre draw_bg
    
    TEXT
    SYSTEM ${hr 2} 
    ${goto 6}${voffset 6}${font OpenLogos:size=22}u${font}${goto 36}${voffset -18}${pre_exec cat /etc/issue.net} $machine
    ${goto 36}Kernel: ${kernel}  
    ${hr 2}
    
    ${goto 6}${font StyleBats:size=16}A${font}${voffset -4}${goto 32}CPU1: ${cpu cpu0}% ${alignr}${cpubar cpu0 8,60}
    ${goto 6}${voffset 4}${font StyleBats:size=16}A${font}${voffset -4}${goto 32}CPU2: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
    ${goto 6}${voffset 4}${font StyleBats:size=16}A${font}${voffset -4}${goto 32}CPU3: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
    ${goto 6}${voffset 4}${font StyleBats:size=16}A${font}${voffset -4}${goto 32}CPU4: ${cpu cpu3}% ${alignr}${cpubar cpu3 8,60}
    ${goto 6}${voffset 4}${font StyleBats:size=16}g${font}${voffset -4}${goto 32}RAM: ${mem} ${alignr}${membar 8,60}
    ${goto 6}${voffset 4}${font StyleBats:size=16}x${font}${voffset -4}${goto 32}DISK: ${diskio}${alignr}${diskiograph 8,60 F57900 FCAF3E} 
    ${goto 6}${voffset 4}${font StyleBats:size=16}j${font}${voffset -4}${goto 32}SWAP: $swapperc% ${alignr}${swapbar 8,60}
    ${goto 6}${voffset 4}${font Devil inside:size=16}1${font}${voffset -4}${goto 32}CPU Temp: ${alignr}${exec sensors | grep 'CPU Temperature' | cut -c19-20}°C / ${color #FCAF3E}${exec sensors | grep 'CPU Temperature' | cut -c37-38}°C$color
    ${goto 5}${voffset 4}${font Devil inside:size=16}x${font}${voffset -4}${goto 32}Mother Temp: ${alignr}${exec sensors | grep 'MB Temperature' | cut -c19-20}°C / ${color #FCAF3E}${exec sensors | grep 'MB Temperature' | cut -c37-38}°C$color
    ${goto 4.5}${voffset 2}${font Poky:size=15}y${font}${voffset -6}${goto 32}HD Temp:${alignr}${exec hddtemp /dev/sda -n --unit=C}°C / ${color #FCAF3E}${exec sensors | grep 'CPU Temperature' | cut -c54-55}°C$color
    ${goto 6}${font Martin Vogel's Symbols:size=16}j${font}${voffset -4}${goto 32}Fan Speed: ${alignr}${exec sensors | grep 'RPM'| cut -c16-25}
    ${goto 6}${voffset 4}${font StyleBats:size=16}q${font}${voffset -4}${goto 32}Uptime: ${alignr}${uptime}
    ${goto 6}${voffset 4}${font StyleBats:size=16}k${font}${voffset -4}${goto 32}Processes: ${alignr}$processes ($running_processes running)
    ${goto 7.5}${voffset 4}${font Poky:size=15}a${font}${goto 32}${voffset -10}Highest: ${alignr 13}CPU${alignr}RAM
    ${goto 32}${voffset -5.5}${hr 1}
    ${voffset -1}${goto 32}${top name 1} ${goto 124}${top cpu 1}${alignr }${top mem 1}
    ${voffset -1}${goto 32}${top name 2} ${goto 124}${top cpu 2}${alignr }${top mem 2}
    ${voffset -1}${goto 32}${top name 3} ${goto 124}${top cpu 3}${alignr }${top mem 3}
    ${voffset -1}${goto 32}${top name 4} ${goto 124}${top cpu 4}${alignr }${top mem 4}
    
    ${voffset -1}DATE ${hr 2}
    ${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
    ${alignc}${time %A %d %B}
    
    ${voffset -1}HD ${hr 2}
    ${goto 3}${voffset 4}${font Poky:size=16}H${font}${goto 29}${voffset -11} Root: ${fs_used_perc /}%${alignr}${fs_size /}
    ${goto 29} Free: ${fs_free /}${alignr}${fs_bar 8,60 /}
    ${goto 3}${voffset 8}${font Poky:size=16}H${font}${goto 29}${voffset -11} Home: ${fs_used_perc /home}%${alignr}${fs_size /home}
    ${goto 29} Free: ${fs_free /home}${alignr}${fs_bar 8,60 /home}
    
    ${voffset -1}NETWORK ${hr 2}
    ${if_up wlan0} 
    ${font Poky:size=14}Y${font}${goto 32}${voffset -8}SSID: ${wireless_essid wlan0}
    ${goto 32}Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
    ${voffset 4}${font VariShapes Solid:size=14}q${font}${goto 32}${voffset -6}Up: ${upspeed wlan0}${font} ${alignr}${upspeedgraph wlan0 8,60 F57900 FCAF3E}
    ${goto 32}Total: ${totalup wlan0}
    ${voffset 4}${font VariShapes Solid:size=14}Q${font}${goto 32}${voffset -6}Down: ${downspeed wlan0}${font} ${alignr}${downspeedgraph wlan0 8,60 F57900 FCAF3E}
    ${goto 32}Total: ${totaldown wlan0}
    ${voffset 4}${font Poky:size=13}w${font}${goto 32}${voffset -8}Local IP: ${alignr}${addr wlan0}
    ${goto 32}Public IP: ${alignr}${execi 3600 wget -O - http://whatismyip.org/ | tail}
    # |--ETH0
    ${else}${if_up eth0}
    ${voffset -13}${font VariShapes Solid:size=14}q${font}${goto 32}${voffset -6}Up: ${upspeed eth0}${font} ${alignr}${upspeedgraph eth0 8,60 F57900 FCAF3E}
    ${goto 32}Total: ${totalup eth0}
    ${voffset -2}${font VariShapes Solid:size=14}Q${font}${goto 32}${voffset -6}Down: ${downspeed eth0}${font} ${alignr}${downspeedgraph eth0 8,60 F57900 FCAF3E}
    ${goto 32}Total: ${totaldown eth0}
    ${voffset -2}${font Poky:size=13}w${font}${goto 32}${voffset -4}Local IP: ${alignr}${addr eth0}
    ${goto 32}Public IP: ${alignr}${execi 3600 wget -O - http://whatismyip.org/ | tail}
    # |--PPP0
    ${endif}${else}${if_up ppp0}
    ${voffset -13}${font VariShapes Solid:size=14}q${font}${goto 32}${voffset -6}Up: ${upspeed ppp0}${font} ${alignr}${upspeedgraph ppp0 8,60 F57900 FCAF3E}
    ${goto 32}Total: ${totalup ppp0}
    ${voffset -2}${font VariShapes Solid:size=14}Q${font}${goto 32}${voffset -6}Down: ${downspeed ppp0}${font} ${alignr}${downspeedgraph ppp0 8,60 F57900 FCAF3E}
    ${goto 32}Total: ${totaldown ppp0}
    ${voffset -2}${font Poky:size=13}w${font}${goto 32}${voffset -4}Local IP: ${alignr}${addr ppp0}
    ${endif}${else}${voffset 4}${font PizzaDude Bullets:size=12}4${font}${goto 32}Network Unavailable${endif}${endif}
    ${voffset -1}WEATHER ${hr 2}
    
    ${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=UKXX0113 --datatype=WF}${font}
    ${voffset -50}${font Weather:size=40}y${font}  ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=UKXX0113 --datatype=HT}${font}
    
    ${alignc 43}${execpi 600 conkyForecast --location=UKXX0113 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=UKXX0113 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=UKXX0113 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=UKXX0113 --datatype=DW --startday=4 --shortweekday}
    ${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=UKXX0113 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
    ${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=UKXX0113 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=UKXX0113 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=UKXX0113 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=UKXX0113 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=UKXX0113 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=UKXX0113 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=UKXX0113 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=UKXX0113 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
    ${voffset 4}Location:${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=CN}
    Last Updated: ${alignr} ${execi 600 conkyForecast --location=UKXX0113 --hideunits --datatype=LU -m 0 }
    Feels Like:${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=LT}
    Dew Point: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=DP}
    Current Condition:${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=CC}
    Chance of Precip: ${alignr}${execi 600 conkyForecast  --location=UKXX0113 --startday=0 --datatype=PC}
    Humidity: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=HM}
    Wind: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=WS --imperial} - ${execi 600 conkyForecast --location=UKXX0113 --datatype=WD}
    Pressure: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --hideunits --datatype=BR}
    Visibility: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=VI --imperial}
    Sunrise: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=SR}
    Sunset: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=SS}
    Moon Phase:${alignr 8}${execi 600 conkyForecast --location=UKXX0113 --datatype=MP} ${font MoonPhases:size=8}${execi 600 conkyForecast --location=UKXX0113 --datatype=MF}${font}
    ${hr 2}
    .conkyForecast.config
    Code:
    # config settings for conkyForecast.py
    CACHE_FOLDERPATH = /tmp/
    CONNECTION_TIMEOUT = 5
    EXPIRY_MINUTES = 5
    TIME_FORMAT = %H:%M
    DATE_FORMAT = %d-%m-%y
    LOCALE = Poole, United Kingdom
    XOAP_PARTNER_ID = 
    XOAP_LICENCE_KEY = UKXX0113
    MAXIMUM_DAYS_FORECAST = 7
    BASE_XOAP_URL = http://xoap.weather.com/weather/local/<LOCATION>?cc=*&dayf=10&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m
    .draw_bg.lua
    Code:
    --[[
    Background by londonali1010 (2009)
    
    This script draws a background to the Conky window. It covers the whole of the Conky window, but you can specify rounded corners, if you wish.
    
    To call this script in Conky, use (assuming you have saved this script to ~/scripts/):
    	lua_load ~/.scripts/draw_bg.lua
    	lua_draw_hook_pre draw_bg
    
    Changelog:
    + v1.0 -- Original release (07.10.2009)
    ]]
    
    -- Change these settings to affect your background.
    -- "corner_r" is the radius, in pixels, of the rounded corners. If you don't want rounded corners, use 0.
    
    corner_r=20
    
    -- Set the colour and transparency (alpha) of your background.
    
    bg_colour=0x4D4D4D
    bg_alpha=0.40
    
    require 'cairo'
    function rgb_to_r_g_b(colour,alpha)
    	return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
    end
    
    function conky_draw_bg()
    	if conky_window==nil then return end
    	local w=conky_window.width
    	local h=conky_window.height
    	local cs=cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, w, h)
    	cr=cairo_create(cs)
    	
    	cairo_move_to(cr,corner_r,0)
    	cairo_line_to(cr,w-corner_r,0)
    	cairo_curve_to(cr,w,0,w,0,w,corner_r)
    	cairo_line_to(cr,w,h-corner_r)
    	cairo_curve_to(cr,w,h,w,h,w-corner_r,h)
    	cairo_line_to(cr,corner_r,h)
    	cairo_curve_to(cr,0,h,0,h,0,h-corner_r)
    	cairo_line_to(cr,0,corner_r)
    	cairo_curve_to(cr,0,0,0,0,corner_r,0)
    	cairo_close_path(cr)
    	
    	cairo_set_source_rgba(cr,rgb_to_r_g_b(bg_colour,bg_alpha))
    	cairo_fill(cr)
    end


    Things you will need to install first.

    Code:
    $sudo apt-get install python-statgrab ttf-droid ttf-liberation hddtemp curl lm-sensors conky-all
    $sudo chmod u+s /usr/sbin/hddtemp
    $sudo sensors-detect #answering Yes (default) to all questions, even that last one that defaults to No
    Now that you have everything installed for conky to work we now need to get the extra icons, download this then extract the conky-colors.tar.gz and cd to the folder in the terminal, then run this.

    Code:
    $make
    $make install
    To get the forecast info to work we need to install conkyforecast, open the terminal and paste this into it.

    Code:
    $sudo add-apt-repository ppa:conkyhardcore/ppa
    $sudo apt-get update && sudo apt-get install conkyforecast
    To get the conkyforecast to show your local weather info we need to edit .conkyrc and .conkyForecast.config. Go to this URL and replace YOUR_CITY in the URL address bar with the name of your city. You will see a xml similar to the image below.



    Now that you got the local ID for your area replace all the UKXX0113 with your local ID in the .conkyrc file posted. (you can use the "Find and Replace" feature in gedit ctrl-h). Also replace XOAP_LICENCE_KEY = UKXX0113 with your local ID in the .conkyForecast.config and change LOCALE = Poole, United Kingdom with the name of your area, exactly as shown on the page you got your local ID from.

    Now that the .conkyrc and .conkyForecast.config have been edited with your area info copy all 3 files (.conkyrc, .conkyForecast.config and .draw_bg.lua) to your home folder.
    Ok let's test it. Press alt + F2 to open the run command in Gnome. Type conky and it should appear on your desktop.
    If it doesn't work retrace the steps / ask questions.
    Last edited by pinguy; July 8th, 2010 at 09:14 PM.

  7. #12987
    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 pinguy View Post
    Code:
    ${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}A${font}   CPU3: ${cpu cpu2}% ${alignr}${cpubar cpu0 8,60}
    ${font StyleBats:size=16}A${font}   CPU4: ${cpu cpu3}% ${alignr}${cpubar cpu1 8,60}
    It's nice, but I noticed your cpubars appear the same, have you tried changing the relevant line to this?

    Code:
    ${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}A${font}   CPU3: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
    ${font StyleBats:size=16}A${font}   CPU4: ${cpu cpu3}% ${alignr}${cpubar cpu3 8,60}
    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

  8. #12988
    Join Date
    Nov 2007
    Location
    Poole, United Kingdom
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    Thanks 5BallJuggler.

    As soon as I posted it I noticed it.

    Anyway this is what my desktop looks like.
    Last edited by pinguy; June 24th, 2010 at 01:15 AM.

  9. #12989
    Join Date
    Mar 2010
    Location
    Ankara, Tr
    Beans
    99
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by pinguy View Post
    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 override
    #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 200 0
    #maximum_width 200
    
    # 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 white
    #default_shade_color black
    #default_outline_color white
    own_window_colour white
    
    # 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 50
    
    # 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}
    ${voffset 6}${font OpenLogos:size=22}u${font}${goto 32}${voffset -18}Kernel:  ${alignr}${kernel}
    ${goto 32}$nodename ${alignr} $sysname $machine
    ${hr 2}
    
    ${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}A${font}   CPU3: ${cpu cpu2}% ${alignr}${cpubar cpu0 8,60}
    ${font StyleBats:size=16}A${font}   CPU4: ${cpu cpu3}% ${alignr}${cpubar cpu1 8,60}
    ${font StyleBats:size=16}g${font}   RAM: $memperc% ${alignr}${membar 8,60}
    ${font StyleBats:size=16}j${font}   SWAP: $swapperc% ${alignr}${swapbar 8,60} 
    ${font Devil inside:size=16}x${font}  CPU Temp: ${alignr}${execpi 3 sensors | grep 'CPU Temp' | awk '{print $3};' | sed 's/[^0-9.]//g'}°C
    ${font StyleBats:size=16}q${font}   Uptime: ${alignr}${uptime}
    ${font StyleBats:size=16}k${font}   Processes: ${alignr}$processes ($running_processes running)
    
    Highest CPU $alignr  CPU% MEM%
    ${hr 1}
    ${top name 1}$alignr${top cpu 1}${top mem 1}
    ${top name 2}$alignr${top cpu 2}${top mem 2}
    ${top name 3}$alignr${top cpu 3}${top mem 3}
    ${top name 4}$alignr${top cpu 3}${top mem 4}
    ${top name 5}$alignr${top cpu 1}${top mem 5}
    
    DATE ${hr 2}
    ${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
    ${alignc}${time %A %d %B}
    
    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_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
    
    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 F57900 FCAF3E}
    ${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 F57900 FCAF3E}
    ${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}
    ${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Public IP: ${alignr}${execi 3600 wget -O - http://whatismyip.org/ | tail}
    ${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 F57900 FCAF3E}
    ${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 F57900 FCAF3E}
    ${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}
    ${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Public IP: (${execi 3600 wget -O - http://whatismyip.org/ | tail})
    ${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 F57900 FCAF3E}
    ${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 F57900 FCAF3E}
    ${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}
    ${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Public IP: (${execi 3600 wget -O - http://whatismyip.org/ | tail})
    ${endif}${else}${if_existing /proc/net/route ppp0}
    ${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 F57900 FCAF3E}
    ${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 F57900 FCAF3E}
    ${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}
    ${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Public IP: (${execi 3600 wget -O - http://whatismyip.org/ | tail})
    ${endif}${else}
    ${font PizzaDude Bullets:size=14}4${font}   Network Unavailable
    ${endif}
    
    WEATHER ${hr 2}
    
    ${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=UKXX0113 --datatype=WF}${font}
    ${voffset -50}${font Weather:size=40}y${font}  ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=UKXX0113 --datatype=HT}${font}
    
    ${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=UKXX0113 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=UKXX0113 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=UKXX0113 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=UKXX0113 --datatype=DW --startday=4 --shortweekday}
    ${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=UKXX0113 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
    ${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=UKXX0113 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=UKXX0113 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=UKXX0113 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=UKXX0113 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=UKXX0113 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=UKXX0113 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=UKXX0113 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=UKXX0113 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
    
    ${voffset 0}Location:${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=CN}
    ${voffset 0}Last Updated: ${alignr} ${execi 600 conkyForecast --location=UKXX0113 --hideunits --datatype=LU -m 0 }
    ${voffset 0}Feels Like:${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=LT}
    ${voffset 0}Dew Point: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=DP}
    ${voffset 0}Current Condition:${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=CC}
    ${voffset 0}Chance of Precip: ${alignr}${execi 600 conkyForecast  --location=UKXX0113 --startday=0 --datatype=PC}
    ${voffset 0}Humidity: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=HM}
    ${voffset 0}Wind: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=WS --imperial} - ${execi 600 conkyForecast --location=UKXX0113 --datatype=WD}
    ${voffset 0}Pressure: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --hideunits --datatype=BR}
    ${voffset 0}Visibility: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=VI --imperial}
    ${voffset 0}Sunrise: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=SR}
    ${voffset 0}Sunset: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=SS}
    
    ${font Trebuchet MS:size=12}${execi 600 conkyForecast --location=UKXX0113 --datatype=MP}
    ${voffset -30}${alignr 42}${font MoonPhases:size=28}${execi 600 conkyForecast --location=UKXX0113 --datatype=MF}${font}
    ${hr 2}

    Hey,

    A noob question: Where do I get the icons? I got random letters where they should have been...

  10. #12990
    Join Date
    Nov 2007
    Location
    Poole, United Kingdom
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    @lanetherif
    First you will need to install a few things.

    Code:
    $sudo aptitude install python-statgrab ttf-liberation hddtemp curl lm-sensors conky-all
    $sudo chmod u+s /usr/sbin/hddtemp
    $sudo sensors-detect #answering Yes (default) to all questions, even that last one that defaults to No
    Once that is done download this then extract the conky-colors.tar.gz and cd to the folder in the terminal, then run this.

    Code:
    $make
    $./conky-colors --help
    $./conky-colors
    $make install
    Once that's done paste this into the terminal.

    Code:
    $sudo add-apt-repository ppa:conkyhardcore/ppa
    $sudo apt-get update && sudo apt-get install conkyforecast
    Once you have done that follow this guide (just the bit about configuring the Weather Forecast) and replace UKXX0113 with the code you get for your area in the .conkyrc file I posted. (you can use the "Find and Replace" feature in gedit)
    Last edited by pinguy; June 24th, 2010 at 03:47 AM.

Page 1299 of 2274 FirstFirst ... 299799119912491289129712981299130013011309134913991799 ... 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
  •