Page 1990 of 2284 FirstFirst ... 990149018901940198019881989199019911992200020402090 ... LastLast
Results 19,891 to 19,900 of 22834

Thread: Post your .conkyrc files w/ screenshots

  1. #19891
    Join Date
    Sep 2007
    Location
    house
    Beans
    79
    Distro
    Lubuntu Development Release

    Re: Post your .conkyrc files w/ screenshots

    I am glad people liked my last Conky so here is one more.



    conkyrc
    Code:
    # Conky settings #
    background no
    update_interval 1
    
    cpu_avg_samples 2
    net_avg_samples 2
    
    override_utf8_locale yes
    
    double_buffer yes
    no_buffers yes
    
    text_buffer_size 2048
    #imlib_cache_size 0
    
    temperature_unit fahrenheit
    
    # Window specifications #
    
    own_window yes
    own_window_class Conky
    own_window_transparent yes
    own_window_type normal
    own_window_hints undecorated,below,sticky,skip_taskbar
    own_window_argb_visual yes  
    own_window_argb_value 0
    
    border_inner_margin 0
    border_outer_margin 0
    
    minimum_size 200 250
    maximum_width 200
    
    alignment tr
    gap_x 1450
    gap_y 55
    
    # Graphics settings #
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders no
    
    # Text settings #
    use_xft yes
    xftfont Caviar Dreams:size=8
    xftalpha 0.5
    
    uppercase no
    
    temperature_unit celsius
    
    
    default_color FFFFFF
    
    # Lua Load  #
    lua_load ~/.lua/scripts/clock_rings.lua
    lua_draw_hook_pre clock_rings
    
    TEXT
    ${voffset 8}${color D60650}${font Caviar Dreams:size=16}${time %A}${font}${voffset -8}${alignr 50}${color FFFFFF}${font Caviar Dreams:size=38}${time %e}${font}
    ${color FFFFFF}${voffset -30}${color FFFFFF}${font Caviar Dreams:size=18}${time %b}${font}${voffset -3} ${color FFFFFF}${font Caviar Dreams:size=20}${time %Y}${font}${color D60650}${hr}
    ${voffset 160}
    
    ${image ~/.conky/debian-logo.png -p 68,120 -s 60x60}
    
    
    ${color White}${goto 40}${voffset 28}${hwmon temp 1}
    ${color FFFFFF}${goto 15}${cpu cpu1}% ${color FFFFFF}${alignr 70}${cpu cpu2}% 
    ${color D60650}${goto 15}CPU 1${color D60650}${alignr 60}CPU 2
    
    ${color FFFFFF}${goto 15}${voffset 40}${cpu cpu4}% ${color FFFFFF}${alignr 70}${cpu cpu4}% 
    ${color D60650}${goto 15}CPU 3${color D60650}${alignr 60}CPU 4
    
    
    ${voffset 30}
    ${color FFFFFF}${goto 15}${mem}${color FFFFFF}${alignr 70}${swapperc}%
    ${color D60650}${goto 15}RAM${color D60650}${alignr 60}Swap
    
    
    ${color FFFFFF}${alignr 70}${voffset 25}${downspeed eth0}
    ${color FFFFFF}${goto 15}${fs_used_perc /}%${color FFFFFF}${alignr 70}${upspeed eth0}
    ${color D60650}${goto 15}Disk${alignr 70}Net
    
    
    
    ${color FFFFFF}${font Caviar Dreams:size=8}Uptime: ${uptime_short}
    ${color FFFFFF}${font Caviar Dreams:size=8}Processes: ${processes}
    ${color FFFFFF}${font Caviar Dreams:size=8}Running: ${running_processes}
    ${color FFFFFF}${font Caviar Dreams:size=8}${nodename}
    ${color FFFFFF}${font Caviar Dreams:size=8}${pre_exec cat /etc/issue.net}$machine
    ${color FFFFFF}${font Caviar Dreams:size=8}Kernel: ${kernel}
    
    
    ${font Arial:bold:size=10}${color White}WEATHER ${color White}${hr 2}$color${execi 600 bash /home/bill/Accuweather_RSS/acc_rss}
    ${font conkyweather:size=30}${color White}${execpi 600  sed -n '2p' /home/bill/Accuweather_RSS/weather}${font}${goto 75}${voffset -25}${execpi 600 sed -n '1p' /home/bill/Accuweather_RSS/weather|cut -c1-20}
    ${goto 75}${execpi 600 sed -n '1p' /home/bill/Accuweather_RSS/weather|cut -c21-40}
    ${goto 75}${execpi 600 sed -n '1p' /home/bill/Accuweather_RSS/weather|cut -c41-60}
    
    ${execi 600  sed -n '3p' /home/bill/Accuweather_RSS/weather}
    ${font conkyweather:size=30}${color White}${execpi 600  sed -n '5p' /home/bill/Accuweather_RSS/weather}${font}${goto 75}${voffset -25}${execpi 600 sed -n '4p' /home/bill/Accuweather_RSS/weather|cut -c1-20}
    ${goto 75}${execpi 600 sed -n '4p' /home/bill/Accuweather_RSS/weather|cut -c21-40}
    ${goto 75}${execpi 600 sed -n '4p' /home/bill/Accuweather_RSS/weather|cut -c41-60}
    
    ${execi 600  sed -n '6p' /home/bill/Accuweather_RSS/weather}
    ${font conkyweather:size=30}${execpi 600  sed -n '8p' /home/bill/Accuweather_RSS/weather}${font}${goto 75}${voffset -25}${execpi 600 sed -n '4p' /home/bill/Accuweather_RSS/weather|cut -c1-20}
    ${goto 75}${execpi 600 sed -n '7p' /home/bill/Accuweather_RSS/weather|cut -c21-40}
    ${goto 75}${execpi 600 sed -n '7p' /home/bill/Accuweather_RSS/weather|cut -c41-60}
    
    ${font Arial:size=10}${color 79c38a}WEATHER ${hr 2}$color$font${execi 600 bash $HOME/accuweather_conky_modified/accuw_script}
    ${color 79c38a}NOW: $color${execpi 600 sed -n '4p' $HOME/accuweather_conky_modified/curr_cond}°C${goto 100}${font conkyweather:size=35}${execi 600  sed -n '2p' ~/accuweather_conky_modified/curr_cond}${font}
    ${voffset -35}${execpi 600 sed -n '3p' $HOME/accuweather_conky_modified/curr_cond|fold -s -w16}
    clock_rings.lua
    Code:
    --[[
    Clock Rings by Linux Mint (2011) reEdited by despot77
    
    This script draws percentage meters as rings, and also draws clock hands if you want! It is fully customisable; all options are described in the script. This script is based off a combination of my clock.lua script and my rings.lua script.
    
    IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement on line 145 uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num>5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num>3; conversely if you update Conky every 0.5s, you should use update_num>10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error.
    
    To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua):
        lua_load ~/scripts/clock_rings.lua
        lua_draw_hook_pre clock_rings
        
    Changelog:
    + v1.0 -- Original release (30.09.2009)
       v1.1p -- Jpope edit londonali1010 (05.10.2009)
    *v 2011mint -- reEdit despot77 (18.02.2011)
    ]]
    
    settings_table = {
        {
            -- Edit this table to customise your rings.
            -- You can create more rings simply by adding more elements to settings_table.
            -- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'.
            name='time',
            -- "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''.
            arg='%I.%M',
            -- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100.
            max=12,
            -- "bg_colour" is the colour of the base ring.
            bg_colour=0xffffff,
            -- "bg_alpha" is the alpha value of the base ring.
            bg_alpha=0.1,
            -- "fg_colour" is the colour of the indicator part of the ring.
            fg_colour=0xD60650,
            -- "fg_alpha" is the alpha value of the indicator part of the ring.
            fg_alpha=0.2,
            -- "x" and "y" are the x and y coordinates of the centre of the ring, relative to the top left corner of the Conky window.
            x=100, y=150,
            -- "radius" is the radius of the ring.
            radius=50,
            -- "thickness" is the thickness of the ring, centred around the radius.
            thickness=5,
            -- "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative.
            start_angle=0,
            -- "end_angle" is the ending angle of the ring, in degrees, clockwise from top. Value can be either positive or negative, but must be larger than start_angle.
            end_angle=360
        },
        {
            name='time',
            arg='%M.%S',
            max=60,
            bg_colour=0xffffff,
            bg_alpha=0.1,
            fg_colour=0xD60650,
            fg_alpha=0.4,
            x=100, y=150,
            radius=56,
            thickness=5,
            start_angle=0,
            end_angle=360
        },
        {
            name='time',
            arg='%S',
            max=60,
            bg_colour=0xffffff,
            bg_alpha=0.1,
            fg_colour=0xD60650,
            fg_alpha=0.6,
            x=100, y=150,
            radius=62,
            thickness=5,
            start_angle=0,
            end_angle=360
        },
         {
            name='hwmon',
            arg='temp 1',
            max=100,
            bg_colour=0xffffff,
            bg_alpha=0.2,
            fg_colour=0xD60650,
            fg_alpha=0.8,
            x=50, y=300,
            radius=15,
            thickness=3,
            start_angle=-90,
            end_angle=180
        },
            {
            name='cpu',
            arg='cpu1',
            max=100,
            bg_colour=0xffffff,
            bg_alpha=0.2,
            fg_colour=0xD60650,
            fg_alpha=0.8,
            x=50, y=300,
            radius=25,
            thickness=5,
            start_angle=-90,
            end_angle=180
        },
        {
            name='cpu',
            arg='cpu2',
            max=100,
            bg_colour=0xffffff,
            bg_alpha=0.2,
            fg_colour=0xD60650,
            fg_alpha=0.8,
            x=150, y=300,
            radius=25,
            thickness=5,
            start_angle=-90,
            end_angle=180
        },
        {
            name='cpu',
            arg='cpu3',
            max=100,
            bg_colour=0xffffff,
            bg_alpha=0.2,
            fg_colour=0xD60650,
            fg_alpha=0.8,
            x=50, y=380,
            radius=25,
            thickness=5,
            start_angle=-90,
            end_angle=180
        },
        {
            name='cpu',
            arg='cpu4',
            max=100,
            bg_colour=0xffffff,
            bg_alpha=0.2,
            fg_colour=0xD60650,
            fg_alpha=0.8,
            x=150, y=380,
            radius=25,
            thickness=5,
            start_angle=-90,
            end_angle=180
        },
        {
            name='memperc',
            arg='',
            max=100,
            bg_colour=0xffffff,
            bg_alpha=0.2,
            fg_colour=0xD60650,
            fg_alpha=0.8,
            x=50, y=460,
            radius=25,
            thickness=5,
            start_angle=-90,
            end_angle=180
        },
        {
            name='swapperc',
            arg='',
            max=100,
            bg_colour=0xffffff,
            bg_alpha=0.2,
            fg_colour=0xD60650,
            fg_alpha=0.8,
            x=150, y=460,
            radius=25,
            thickness=5,
            start_angle=-90,
            end_angle=180
        },
        {
            name='fs_used_perc',
            arg='/',
            max=100,
            bg_colour=0xffffff,
            bg_alpha=0.2,
            fg_colour=0xD60650,
            fg_alpha=0.8,
            x=50, y=540,
            radius=25,
            thickness=5,
            start_angle=-90,
            end_angle=180
        },
            {
            name='downspeedf',
            arg='eth0',
            max=100,
            bg_colour=0xffffff,
            bg_alpha=0.2,
            fg_colour=0x339900,
            fg_alpha=0.8,
            x=150, y=540,
            radius=25,
            thickness=4,
            start_angle=-70,
            end_angle=180
        },
            {
            name='upspeedf',
            arg='eth0',
            max=100,
            bg_colour=0xffffff,
            bg_alpha=0.2,
            fg_colour=0xff6600,
            fg_alpha=0.8,
            x=150, y=540,
            radius=20,
            thickness=4,
            start_angle=-70,
            end_angle=180
        },
    }
    
    -- Use these settings to define the origin and extent of your clock.
    
    clock_r=65
    
    -- "clock_x" and "clock_y" are the coordinates of the centre of the clock, in pixels, from the top left of the Conky window.
    
    clock_x=100
    clock_y=150
    
    show_seconds=true
    
    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 draw_ring(cr,t,pt)
        local w,h=conky_window.width,conky_window.height
        
        local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
        local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
    
        local angle_0=sa*(2*math.pi/360)-math.pi/2
        local angle_f=ea*(2*math.pi/360)-math.pi/2
        local t_arc=t*(angle_f-angle_0)
    
        -- Draw background ring
    
        cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
        cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
        cairo_set_line_width(cr,ring_w)
        cairo_stroke(cr)
        
        -- Draw indicator ring
    
        cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
        cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
        cairo_stroke(cr)        
    end
    
    function draw_clock_hands(cr,xc,yc)
        local secs,mins,hours,secs_arc,mins_arc,hours_arc
        local xh,yh,xm,ym,xs,ys
        
        secs=os.date("%S")    
        mins=os.date("%M")
        hours=os.date("%I")
            
        secs_arc=(2*math.pi/60)*secs
        mins_arc=(2*math.pi/60)*mins+secs_arc/60
        hours_arc=(2*math.pi/12)*hours+mins_arc/12
            
        -- Draw hour hand
        
        xh=xc+0.7*clock_r*math.sin(hours_arc)
        yh=yc-0.7*clock_r*math.cos(hours_arc)
        cairo_move_to(cr,xc,yc)
        cairo_line_to(cr,xh,yh)
        
        cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
        cairo_set_line_width(cr,5)
        cairo_set_source_rgba(cr,1.0,1.0,1.0,1.0)
        cairo_stroke(cr)
        
        -- Draw minute hand
        
        xm=xc+clock_r*math.sin(mins_arc)
        ym=yc-clock_r*math.cos(mins_arc)
        cairo_move_to(cr,xc,yc)
        cairo_line_to(cr,xm,ym)
        
        cairo_set_line_width(cr,3)
        cairo_stroke(cr)
        
        -- Draw seconds hand
        
        if show_seconds then
            xs=xc+clock_r*math.sin(secs_arc)
            ys=yc-clock_r*math.cos(secs_arc)
            cairo_move_to(cr,xc,yc)
            cairo_line_to(cr,xs,ys)
        
            cairo_set_line_width(cr,1)
            cairo_stroke(cr)
        end
    end
    
    function conky_clock_rings()
        local function setup_rings(cr,pt)
            local str=''
            local value=0
            
            str=string.format('${%s %s}',pt['name'],pt['arg'])
            str=conky_parse(str)
            
            value=tonumber(str)
            pct=value/pt['max']
            
            draw_ring(cr,pct,pt)
        end
        
        -- Check that Conky has been running for at least 5s
    
        if conky_window==nil then return end
        local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
        
        local cr=cairo_create(cs)    
        
        local updates=conky_parse('${updates}')
        update_num=tonumber(updates)
        
        if update_num>5 then
            for i in pairs(settings_table) do
                setup_rings(cr,settings_table[i])
            end
        end
        
        draw_clock_hands(cr,clock_x,clock_y)
    end
    Have fun
    Geek by nature, Linux by choice

  2. #19892
    Join Date
    Jan 2012
    Location
    Hamilton, New Zealand
    Beans
    113
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by stinkeye View Post
    The default conky-all package in 12.04 has bugs.
    I upgraded using this ppa and seems to work fine.
    https://launchpad.net/~vincent-c/+archive/conky/+packages
    Thanks.

    I've installed conky-all 1.9.0-2, but i still can't get it to load. I downloaded it via the Software Centre, as on that ppa link it says;
    Note: The latest Conky release is available in Ubuntu's "universe" repository since Ubuntu 12.04 LTS (and later), so if you're using 12.04+, install it from the official repos instead of via this PPA.


    I don't really know what i'm doing, and can't get it to load. I'd really like to get it sorted out, and looking cool, but it's like i have to learn a new language just to get some nice looking eye-candy on my screen.


    I admire the skills that you guys have, but for me, it's all just a bit too hard. I think i'm too stupid for this kind of stuff, might just have to stick with GUI based tweaks.


    Any suggestions before i "throw in the towel"?

  3. #19893
    Join Date
    Sep 2007
    Location
    house
    Beans
    79
    Distro
    Lubuntu Development Release

    Re: Post your .conkyrc files w/ screenshots

    And one more one a desktop. This is the Metro conky I rearranged.
    Don't change position in start script. Change it in each conky.
    All the important info is in the first conky



    Start script
    Code:
    #!/bin/bash
    
    conky -c ~/metro_conky/conky.conf.time 
    conky -c ~/metro_conky/conky.conf.kern 
    conky -c ~/metro_conky/conky.conf.process 
    conky -c ~/metro_conky/conky.conf.cpumem
    conky -c ~/metro_conky/conky.conf.disk 
    conky -c ~/metro_conky/conky.conf.net 
    conky -c ~/metro_conky/conky.conf.gmail
    Time
    Code:
     
    # Name: Metro Style Conky
    #
    # Author: Kant-o (feedback via gnome-look).
    #
    # Description
    # This simple conky configuration shows the following information:
    # conky.conf.11 - Time and date information;
    # conky.conf.21 - Operative System and Battery information
    # conky.conf.12 - Processes information;
    # conky.conf.31 - Processor and RAM information;
    # conky.conf.32 - FileSystem information;
    # conky.conf.41 - Network information;
    # conky.conf.42 - GMAIL account information;
    #
    # Apart from the requirement for the Ubuntu font, this configuration is
    # really simple, using only a few conky objects and a script provided
    # with the configuration file. The aforementioned script (see mail.sh) is
    # used to get the number of unread mails from google via pipelining several
    # comands and using CURL.
    #
    # Installation (see below for terminal installation)
    # To install and use, the following 5 main steps are required:
    # 1. Install conky and the Ubuntu font (if using recent Ubuntu (based) 
    #    distributions, this step is most certainly not necessary.
    # 2. Create a directory named .conky in your home folder;
    # 3. Download the .zip file and unzip the contents to the newly 
    #    created folder;
    # 4. Edit the file mail.sh and place your gmail credentials (otherwise it #    will not fetch the number of mails in the gmail account).
    # 5. Run conky.sh (if it does not run, make sure it is executable, 
    #    otherwise type chmod +x ~.conky/conky.sh in the terminal before
    #    running the script).
    #
    # If you want conky to startup with gnome, copy the file named
    # conky.sh.desktop to ~.config/autostart/
    # If you do not want a given module to run (e.g. the GMAIL module),
    # edit the conky.sh file and comment or remove the line that loads the
    # respective configuration file (in the case of GMAIL, that would be
    # conky.conf.24 - line 2 - column 4).
    #
    # To install using the terminal, follow the next steps
    # 1. In Ubuntu (I have not tested the config in Ubuntu, only in Arch)
    #    sudo apt-get install conky-all
    #    In Arch Linux
    #    sudo yaourt -S conky-lua ttf-ubuntu-font-family 
    # 2. mkdir ~/.conky && cd ~/.conky
    # 3. wget http://www.deviantart.com/download/260230653/metro_style_conky_by_kant_o-d4axn99.zip
    # 4. unzip MetroStyleConky.zip
    # 5. chmod +x conky.sh
    # 6. chmod +x mail.sh
    # 7. ./conky.sh   
    # 8. (optional) run gnome-session-properties and add a new 
    #    startup program pointing to conky.sh to have the conky
    #    automatically comming up when you start the computer. 
    #
    
    
    alignment top_right
    background yes
    border_width 0
    cpu_avg_samples 2
    default_color ffffff
    draw_outline no
    draw_borders no
    draw_shades no
    use_xft yes
    xftfont Ubuntu:size=12
    gap_x 1400
    gap_y 20
    
    # size of text area
    minimum_size 260 100
    maximum_width 240
    max_text_width 240
    
    net_avg_samples 2
    no_buffers yes
    out_to_console no
    out_to_stderr no
    extra_newline no
    own_window yes
    own_window_transparent no
    own_window_class Conky
    own_window_type normal
    own_window_hints undecorated,sticky,skip_taskbar,skip_pager,below
    stippled_borders 0
    update_interval 1.0
    uppercase no
    use_spacer none
    show_graph_scale no
    show_graph_range no
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    own_window_colour f64949
    
    TEXT
    ${font Ubuntu:size=20}Today is ${time %A}$font
    ${voffset 10}#
    ${font Ubuntu:size=16}${time %I:%M}${font Ubuntu:size=10}${time %S}$font
    ${time %B %d, %Y}
    Kernel
    Code:
    alignment top_right
    background yes
    border_width 0
    cpu_avg_samples 2
    default_color ffffff
    draw_outline no
    draw_borders no
    draw_shades no
    use_xft yes
    xftfont Ubuntu:size=12
    gap_x 1400
    gap_y 135
    
    # size of text area
    minimum_size 260 100
    maximum_width 240
    max_text_width 240
    
    no_buffers yes
    out_to_console no
    out_to_stderr no
    extra_newline no
    own_window yes
    own_window_transparent no
    own_window_class Conky
    own_window_type normal
    own_window_hints undecorated,sticky,skip_taskbar,skip_pager,below
    stippled_borders 0
    update_interval 1.0
    uppercase no
    use_spacer none
    show_graph_scale no
    show_graph_range no
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    own_window_colour 5db80f
    
    TEXT
    ${font Ubuntu:size=20}$sysname$font $kernel
    ${font Ubuntu:size=14}on a $machine machine$font
    ${voffset 10}#
    Uptime: $uptime
    $color}APT: ${color white}${execi 800 ~/bin/debupdates.sh}
    Processes
    Code:
    alignment top_right
    background yes
    border_width 0
    cpu_avg_samples 1
    default_color ffffff
    draw_outline no
    draw_borders no
    draw_shades no
    use_xft yes
    xftfont Ubuntu:size=12
    
    gap_x 1400
    gap_y 255
    
    # size of text area
    minimum_size 260 180
    maximum_width 240
    max_text_width 240
    
    no_buffers yes
    out_to_console no
    out_to_stderr no
    extra_newline no
    own_window yes
    own_window_transparent no
    own_window_class Conky
    own_window_type normal
    own_window_hints undecorated,sticky,skip_taskbar,skip_pager,below
    stippled_borders 0
    update_interval 1.0
    uppercase no
    use_spacer none
    show_graph_scale no
    show_graph_range no
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    own_window_colour 00b4df
    update_interval 5
    
    TEXT
    ${font Ubuntu:size=20}${top name 1}$font
    is using${top cpu 1}% CPU
    and ${top mem_res 1} of RAM
    ${voffset 2}
    ${font Ubuntu:size=10}$alignr CPU  ..  Memory$font
    ${top name 2}${font Ubuntu:size=10:bold}$alignr ${top cpu 2}% .. ${top mem_res 2}
    $stippled_hr
    ${top name 3}${font Ubuntu:size=10:bold}$alignr ${top cpu 3}% .. ${top mem_res 3}
    $stippled_hr
    ${top name 4}${font Ubuntu:size=10:bold}$alignr ${top cpu 4}% .. ${top mem_res 4}
    Cpu and Memory
    Code:
    alignment top_right
    background yes
    border_width 0
    cpu_avg_samples 2
    default_color ffffff
    default_outline_color black
    default_shade_color black
    draw_outline no
    draw_borders no
    draw_shades no
    use_xft yes
    xftfont Ubuntu:size=12
    gap_x 1400
    gap_y 460
    
    # size of text area
    minimum_size 260 100
    maximum_width 240
    max_text_width 240
    
    net_avg_samples 2
    no_buffers yes
    out_to_console no
    out_to_stderr no
    extra_newline no
    own_window yes
    own_window_transparent no
    own_window_class Conky
    own_window_type normal
    own_window_hints undecorated,sticky,skip_taskbar,skip_pager,below
    stippled_borders 0
    update_interval 1.0
    uppercase no
    use_spacer none
    show_graph_scale no
    show_graph_range no
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    own_window_colour e19e19
    
    TEXT
    ${font Ubuntu:size=20}CPU & Memory$font
    CPU 1 ${freq_g cpu1} Ghz $alignr${cpu cpu1}% 
    CPU 2 ${freq_g cpu2} Ghz $alignr${cpu cpu2}% 
    CPU 3 ${freq_g cpu3} Ghz $alignr${cpu cpu3}% 
    CPU 4 ${freq_g cpu4} Ghz $alignr${cpu cpu4}% 
    RAM ${membar 10, 161}$alignr$memperc%
    $alignr using $mem of $memmax
    SWAP ${swapbar 10, 151}$alignr$swapperc%
    Disks
    Code:
    alignment top_right
    background yes
    border_width 0
    cpu_avg_samples 2
    default_color ffffff
    draw_outline no
    draw_borders no
    draw_shades no
    use_xft yes
    xftfont Ubuntu:size=12
    gap_x 1400
    gap_y 640
    
    # size of text area
    minimum_size 260 140
    maximum_width 240
    max_text_width 240
    
    net_avg_samples 2
    no_buffers yes
    out_to_console no
    out_to_stderr no
    extra_newline no
    own_window yes
    own_window_transparent no
    own_window_class Conky
    own_window_type normal
    own_window_hints undecorated,sticky,skip_taskbar,skip_pager,below
    stippled_borders 0
    update_interval 60.0
    uppercase no
    use_spacer none
    show_graph_scale no
    show_graph_range no
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    own_window_colour 6652a2
    # update_interval 600
    
    TEXT
    ${font Ubuntu:size=20}FileSystem$font
    ${voffset 4}
    / is using ${fs_used /} of ${fs_size /}
    ${fs_bar 10, 200 /}$alignr$fs_used_perc%
    /home is using ${fs_used /home} of ${fs_size /home}
    ${fs_bar 10, 200 /home}$alignr${fs_used_perc /home}%
    Network
    Code:
    alignment top_right
    background yes
    border_width 0
    cpu_avg_samples 2
    default_color ffffff
    draw_outline no
    draw_borders no
    draw_shades no
    use_xft yes
    xftfont Ubuntu:size=12
    gap_x 1400
    gap_y 800
    
    # size of text area
    minimum_size 260 140
    maximum_width 240
    max_text_width 240
    
    net_avg_samples 2
    no_buffers yes
    out_to_console no
    out_to_stderr no
    extra_newline no
    own_window yes
    own_window_transparent no
    own_window_class Conky
    own_window_type normal
    own_window_hints undecorated,sticky,skip_taskbar,skip_pager,below
    stippled_borders 0
    update_interval 2.0
    uppercase no
    use_spacer none
    show_graph_scale no
    show_graph_range no
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    own_window_colour 034c93
    
    TEXT
    ${font Ubuntu:size=20}$nodename$font
    ${if_up wlan0}#
    ${font Ubuntu:size=10}${addr wlan0} ${pre_exec wget -O - http://ip.tupeux.com | tail}
    $font
    Download ${font Ubuntu:size=10}$alignr Total: ${totaldown wlan0}
    ${downspeed wlan0}/s$font$alignr${color 034c93}${downspeedgraph wlan0 15,150 034c93 ffffff -l}$color
    Upload ${font Ubuntu:size=10}$alignr Total: ${totalup wlan0}
    ${upspeed wlan0}/s$font$alignr${color 034c93}${upspeedgraph wlan0 15,150 034c93 ffffff -l}$color
    $else#
    ${if_up eth0}#
    ${font Ubuntu:size=10}${addr eth0}$alignr${pre_exec wget -O - http://ip.tupeux.com | tail}
    $font
    Download ${font Ubuntu:size=10}$alignr Total: ${totaldown eth0}
    ${downspeed eth0}/s$font$alignr${color 034c93}${downspeedgraph eth0 15,150 034c93 ffffff -l}$color
    Upload ${font Ubuntu:size=10}$alignr Total: ${totalup eth0}
    ${upspeed eth0}/s$font$alignr${color 034c93}${upspeedgraph eth0 15,150 034c93 ffffff -l}$color
    $else#
    No network.
    $endif#
    $endif#
    Gmail
    Code:
    alignment top_right
    background yes
    border_width 0
    cpu_avg_samples 2
    default_color ffffff
    draw_outline no
    draw_borders no
    draw_shades no
    use_xft yes
    xftfont Ubuntu:size=12
    gap_x 1400
    gap_y 960
    
    # size of text area
    minimum_size 260 60
    maximum_width 240
    max_text_width 240
    
    net_avg_samples 2
    no_buffers yes
    out_to_console no
    out_to_stderr no
    extra_newline no
    own_window yes
    own_window_transparent no
    own_window_class Conky
    own_window_type normal
    own_window_hints undecorated,sticky,skip_taskbar,skip_pager,below
    stippled_borders 0
    update_interval 1.0
    uppercase no
    use_spacer none
    show_graph_scale no
    show_graph_range no
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    own_window_colour 5db80f
    update_interval 300
    
    TEXT
    ${font Ubuntu:size=20}GMAIL$font
    ${exec ~/.conky/./mail.sh} Unread Messages
    Gmail Script
    Code:
    #!/bin/bash
    
    curl  https://account-name:password@mail.google.com/mail/feed/atom -s | grep fullcount | tail -c +12 | head -c -13
    Have fun
    Geek by nature, Linux by choice

  4. #19894
    Join Date
    Sep 2007
    Location
    house
    Beans
    79
    Distro
    Lubuntu Development Release

    Re: Post your .conkyrc files w/ screenshots

    Try running in a terminal and tell us output.
    Also paste output from "conky -v"
    You may need to change own_window_type to normal or desktop or override.



    Quote Originally Posted by Face-Ache View Post
    Thanks.

    I've installed conky-all 1.9.0-2, but i still can't get it to load. I downloaded it via the Software Centre, as on that ppa link it says;
    Note: The latest Conky release is available in Ubuntu's "universe" repository since Ubuntu 12.04 LTS (and later), so if you're using 12.04+, install it from the official repos instead of via this PPA.


    I don't really know what i'm doing, and can't get it to load. I'd really like to get it sorted out, and looking cool, but it's like i have to learn a new language just to get some nice looking eye-candy on my screen.


    I admire the skills that you guys have, but for me, it's all just a bit too hard. I think i'm too stupid for this kind of stuff, might just have to stick with GUI based tweaks.


    Any suggestions before i "throw in the towel"?
    Geek by nature, Linux by choice

  5. #19895
    Join Date
    Jan 2012
    Location
    Hamilton, New Zealand
    Beans
    113
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    When i run it in a Terminal, i get;
    Code:
    chris@chris-ubuntu:~$ conky
    Conky: desktop window (2e00003) is subwindow of root window (e2)
    Conky: window type - override
    Conky: drawing to created window (0x4200001)
    Conky: drawing to double buffer
    But nothing appears on my desktop.

    'conky -v' outputs;
    Code:
    Conky 1.9.0 compiled Sat May 12 01:51:47 UTC 2012 for Linux 2.6.24-31-xen (i686)
    
    Compiled in features:
    
    System config file: /etc/conky/conky.conf
    Package library path: /usr/lib/conky
    
     X11:
      * Xdamage extension
      * XDBE (double buffer extension)
      * Xft
      * ARGB visual
    
     Music detection:
      * Audacious
      * MPD
      * MOC
      * XMMS2
    
     General:
      * math
      * hddtemp
      * portmon
      * Curl
      * RSS
      * Weather (METAR)
      * Weather (XOAP)
      * wireless
      * support for IBM/Lenovo notebooks
      * nvidia
      * eve-online
      * config-output
      * Imlib2
      * apcupsd
      * iostats
      * ncurses
      * Lua
    
      Lua bindings:
       * Cairo
       * Imlib2

  6. #19896
    Join Date
    Jan 2012
    Location
    Hamilton, New Zealand
    Beans
    113
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    I think it's got something to do with Compiz - when i select for File Manager to handle the Desktop via Advanged Settings/Gnome Tweak, Conky appears.

    But as soon as i let Compiz handle the Desktop, Conky disappears.

  7. #19897
    Join Date
    Sep 2007
    Location
    house
    Beans
    79
    Distro
    Lubuntu Development Release

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Face-Ache View Post
    I think it's got something to do with Compiz - when i select for File Manager to handle the Desktop via Advanged Settings/Gnome Tweak, Conky appears.

    But as soon as i let Compiz handle the Desktop, Conky disappears.
    You may need to change own_window_type to normal or desktop or override.

    try first
    own_window yes
    own_window_type normal
    Geek by nature, Linux by choice

  8. #19898
    Join Date
    Apr 2012
    Beans
    17

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Face-Ache View Post
    When i run it in a Terminal, i get;
    Code:
    chris@chris-ubuntu:~$ conky
    Conky: desktop window (2e00003) is subwindow of root window (e2)
    Conky: window type - override
    Conky: drawing to created window (0x4200001)
    Conky: drawing to double buffer
    But nothing appears on my desktop.

    'conky -v' outputs;
    Code:
    Conky 1.9.0 compiled Sat May 12 01:51:47 UTC 2012 for Linux 2.6.24-31-xen (i686)
    
    Compiled in features:
    
    System config file: /etc/conky/conky.conf
    Package library path: /usr/lib/conky
    
     X11:
      * Xdamage extension
      * XDBE (double buffer extension)
      * Xft
      * ARGB visual
    
     Music detection:
      * Audacious
      * MPD
      * MOC
      * XMMS2
    
     General:
      * math
      * hddtemp
      * portmon
      * Curl
      * RSS
      * Weather (METAR)
      * Weather (XOAP)
      * wireless
      * support for IBM/Lenovo notebooks
      * nvidia
      * eve-online
      * config-output
      * Imlib2
      * apcupsd
      * iostats
      * ncurses
      * Lua
    
      Lua bindings:
       * Cairo
       * Imlib2

    There is a bug with conky on 12.04 where it will not load unless the system uptime is > 5 minutes (i know freaking ODD BUG! ).

    I had to modify my startup script to sleep unless the uptime was > 5 mins then start conky..

    Something like:


    #!/usr/bin/perl

    # this should properly start conky
    #
    my $conky = "/usr/bin/conky";
    my $config = "-c /home/ted/Dropbox/etc/conkyrc";
    my $uptime = (split ' ', `cat /proc/uptime`)[0];

    if ($uptime < 360) {
    print "\n";
    print "uptime must be > 5 minutes to run conky!\n";
    print "- now waiting for uptime -\n";
    while ($uptime < 360) {
    $uptime = (split ' ', `cat /proc/uptime`)[0];
    print "uptime: " . `uptime`;
    sleep 30;
    }
    }

    sleep 2;

    open F, "$conky $config|";
    close F;

    exit;


    this is obviously kind of chatty.. maybe something simpler would be:

    #!/usr/bin/perl

    while ((split ' ', `cat /proc/uptime`)[0] < 360) {
    sleep 60;
    }

    `conky`;

    exit;
    Last edited by tgwaste; May 23rd, 2012 at 04:36 AM.

  9. #19899
    Join Date
    Jan 2012
    Location
    Hamilton, New Zealand
    Beans
    113
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    Have tried, still no joy; works fine if i let File Manager handle the desktop, but no Conky if i set that to 'off' and let Compiz handle the desktop.

  10. #19900
    Join Date
    Apr 2012
    Beans
    17

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Face-Ache View Post
    Have tried, still no joy; works fine if i let File Manager handle the desktop, but no Conky if i set that to 'off' and let Compiz handle the desktop.
    are you using CCSM?

Page 1990 of 2284 FirstFirst ... 990149018901940198019881989199019911992200020402090 ... 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
  •