Page 1013 of 2348 FirstFirst ... 1351391396310031011101210131014101510231063111315132013 ... LastLast
Results 10,121 to 10,130 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #10121
    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 arpinux View Post
    @ djyoung4

    hi, for the battery_bar or fs_bar , try:
    ${fs_bar 10,150 /home} & ${battery_bar 10,150 BAT0}

    *EDIT*
    where do you want to put your todo list??
    under where it says todo list. for some reason it puts my tasks all the way in the bottom left and the heading todo list in the bottom right where it should be.
    I'm a super power user

  2. #10122
    Join Date
    Jan 2009
    Location
    Montréal , France
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    *todo list*
    try to replace
    ${goto 1100}${font Verana:style=Bold:size=9}To Do List${goto 1000}${font Verana:size=8}${goto 1000}${execi 300 cat ~/Documents/todo.txt}

    by
    ${goto 1000}${font Verdana:style=Bold:size=9}To Do List
    ${goto 1100}${font Verdana:size=8}${execi 300 cat ~/Documents/todo.txt}

  3. #10123
    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 arpinux View Post
    *todo list*
    try to replace
    ${goto 1100}${font Verana:style=Bold:size=9}To Do List${goto 1000}${font Verana:size=8}${goto 1000}${execi 300 cat ~/Documents/todo.txt}

    by
    ${goto 1000}${font Verdana:style=Bold:size=9}To Do List
    ${goto 1100}${font Verdana:size=8}${execi 300 cat ~/Documents/todo.txt}
    didn't work
    here is updated code. everything is right except for my todo list task placements:
    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 yes
    
    # 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 -*-*-*-*-*-*-34-*-*-*-*-*-*-*
    
    # Use Xft?
    use_xft yes
    
    # Xft font when Xft is enabled
    xftfont Bitstream Vera Sans Mono:size=8
    
    # 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 5.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 no
    
    # If own_window is yes, you may use type normal, desktop or override
    own_window_type desktop
    
    # Use pseudo transparency with own_window?
    own_window_transparent yes
    
    # If own_window_transparent is set to no, you can set the background colour here
    own_window_colour black
    
    # 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 280 5
    
    # 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 4
    
    # border width
    border_width 1
    
    # Default colors and also border colors
    default_color white
    default_shade_color black
    default_outline_color black
    
    # Text alignment, other possible values are commented
    alignment top_left
    #alignment top_right
    #alignment bottom_left
    #alignment bottom_right
    #alignment top_middle
    #alignment bottom_middle
    #alignment none
    
    # Gap between borders of screen and text
    # same thing as passing -x at command line
    gap_x 1
    gap_y 1
    
    # 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
    
    # Shows the maximum value in scaled graphs.
    show_graph_scale no
    
    # Shows the time range covered by a graph.
    show_graph_range no
    
    # Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
    #max_port_monitor_connections 256
    
    # Maximum number of special things, e.g. fonts, offsets, aligns, etc.
    #max_specials 512
    
    # Maximum size of buffer for user text, i.e. below TEXT line.
    #max_user_text 16384
    
    # Timing interval for music player thread, e.g. mpd, audacious
    #music_player_interval (update_interval is default)
    
    # Strictness of if_up. One of: up, link or address. The later ones imply the further ones.
    # Defaults to up.
    #if_up_strictness address
    
    # 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
    ${voffset 638}${font Verana:size=6}$sysname $kernel on $machine
    ${font Verdana:size=20}${color5}Hello Daniel
    ${voffset -15}${color1}${cpubar cpu3 01,195}
    ${voffset -20}${font Verdana:size=14}${color1}${time %A %h %d %Y}
    ${font Verdana:size=30}${color1}${time %H:%M}
    ${voffset -15}${font ConkyWeather:size=36}c ${font Verdana:size=15}${voffset -5}${execi 3600 conkyForecast -i --location=USAZ0207 --datatype=LT} / ${execi 3600 conkyForecast -i --location=SNXX0006 --datatype=HT}
    ${voffset -130}${goto 200}${font Verdana:style=Bold:size=9}${color1}Gmail: ${font Verdana:size=8}${execi 600 conkyEmail --servertype=IMAP --servername=imap.googlemail.com --username=xyz --password=xyz --ssl} new emails
    ${goto 200}${font Verdana:style=Bold:size=9}Now Playing: ${font Verdana:size=8}${exec rhythmbox-client --no-start --print-playing}
    ${goto 200}${font Verdana:bold:size=10}${color1}HDD ${color1}${cpubar cpu3 01,162}
    ${goto 200}$font${color9}500 GB ${offset 7} ${fs_used /home} / ${fs_size /home} ${offset 7} ${fs_free_perc /home}%
    ${goto 200}${fs_bar 10,210 /home}
    ${goto 200}${font Verana:style=Bold:size=9}CPU1: ${font Verana:size=8}${cpubar cpu1 10,150} ${cpu cpu1}%
    ${goto 200}${font Verana:style=Bold:size=9}CPU2: ${font Verana:size=8}${cpubar cpu2 10,150} ${cpu cpu2}%
    ${goto 200}${font Verana:style=Bold:size=9}Freq: ${font Verana:size=8}${freq}GHz ${voffset -2}${font Verana:style=Bold:size=9}Load: ${font Verana:size=8}${loadavg}
    ${voffset -100}${goto 420}${font Verana:style=Bold:size=9}Cached: ${font Verana:size=8}${cached} ${voffset -2}${font Verana:style=Bold:size=9}Buffer: ${font Verana:size=8}${buffers}
    ${goto 420}${font Verana:style=Bold:size=9}Name         PID    CPU%    MEM%
    ${goto 420}${font Verana:size=8} ${top name 1}  ${top pid 1}  ${top cpu 1}  ${top mem 1}
    ${goto 420}${font Verana:size=8} ${top name 2}  ${top pid 2}  ${top cpu 2}  ${top mem 2}
    ${goto 420}${font Verana:size=8} ${top name 3}  ${top pid 3}  ${top cpu 3}  ${top mem 3}
    ${goto 420}${font Verana:size=8} ${top name 4}  ${top pid 4}  ${top cpu 4}  ${top mem 4}
    ${goto 420}${font Verana:size=8} ${top name 5}  ${top pid 5}  ${top cpu 5}  ${top mem 5}
    ${voffset -92}${goto 645}${font Verana:style=Bold:size=9}RAM: ${font Verdana:size=8}${mem} / ${memmax} (${memperc}%)
    ${goto 645}${font Verana:style=Bold:size=9}SWAP: ${font Verdana:size=8}${swap} / ${swapmax} (${swapperc}%)
    ${goto 645}${font Verana:style=Bold:size=9}$processes processes($running_processes running)
    ${goto 645}${font Verana:style=Bold:size=9}Battery Percent: ${font Verana:size=8}${battery_percent}%
    ${goto 645}${battery_bar 10,195 BAT0}
    ${goto 645}${font Verana:style=Bold:size=9}Battery Time: ${font Verana:size=8}${battery_time BAT0}
    ${voffset -105}${goto 845}${font Verana:style=Bold:size=9}CPU Temperature: ${font Verana:size=8}${acpitemp} Degrees Celsius
    ${goto 845}${font Verana:style=Bold:size=9}IP Address: ${font Verana:size=8}${gw_ip}
    ${goto 845}${font Verana:style=Bold:size=9}Public IP: ${font Verana:size=8}${execi 14400 wget -O - http://whatismyip.org/ | tail}
    ${goto 845}${font Verana:style=Bold:size=9}Total Download: ${font Verana:size=8}${totaldown eth1}
    ${goto 845}${font Verana:style=Bold:size=9}Total Upload: ${font Verana:size=8}${totalup eth1}
    ${goto 845}${font Verana:style=Bold:size=9}Up Speed: ${font Verdana:size=8}${upspeed eth1} Kb/s ${font Verana:style=Bold:size=9}Down Speed: ${font Verdana:size=8}${downspeed eth1} Kb/s
    ${goto 845}${font Verana:style=Bold:size=9}Uptime: ${font Verana:size=8}${uptime}
    ${voffset -90}${goto 1100}${font Verana:style=Bold:size=9}To Do List${font Verana:size=8}${execi 300 cat ~/Documents/todo.txt}
    new screenshot too.

    it appears that script to call my todo list tasks is locked to the left side of my screen because it will move using voffset but wont move using offset or goto. kind of interesting

    ok updated everything. just need to fix the placement of my todo list tasks and its "perfect." My tasks are behind the time but they should be all the way on the other side underneath where it says To Do List. thanks guys for everything
    Attached Images Attached Images
    Last edited by djyoung4; October 26th, 2009 at 07:56 AM.
    I'm a super power user

  4. #10124
    Join Date
    Feb 2009
    Location
    UK
    Beans
    129
    Distro
    Ubuntu

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Bruce M. View Post
    That's getting it. Off by a bit.

    That's londonali1010 - you the lady!!

    CHIMO1
    Bruce
    Ah, yes, Bruce, you've found the bug

    The ring will never *quite* line up with the hour hand because the hour hand traverses the clock smoothly but the ring doesn't; you can only get whole numbers for the hour ring, and there's no way to get a total amount of minutes from 0, at least the way I've currently written the script. I suspect you could probably write a bash script, have Conky parse it and then pass it back, using the ${name arg} format, but I haven't tried it myself. For the time being, you can get closest by using "name" = 'time' and "arg" = '%H.%M' Of course, that won't even be totally correct because it's trying to interpret something that's in 60ths into something in 100ths.

    Quote Originally Posted by Rob2687 View Post
    Here's my first run at Conky in the form of a Lua+Cairo widget. The idea is based on Cairo Pies except the pie represents total memory usage.



    Code:
    -- xc,yc - center of the pie
    -- r - radius of the pie
    
    function ring_mem (xc, yc, r)
    
    	pat = cairo_pattern_create_radial (xc, yc, 0.2*r,
    		                           xc,  yc, r);
    	cairo_pattern_add_color_stop_rgba (pat, 0.1, 1, 1, 1, 0);
    	cairo_pattern_add_color_stop_rgba (pat, 1.0, 1, 1, 1, 0.1);
    	cairo_set_source (cr, pat);
    	cairo_arc (cr, xc, yc, r, 0, 2 * math.pi);
    	cairo_fill (cr);
    	cairo_pattern_destroy (pat);
    
    
    	cairo_set_font_size (cr, 10)
    	cairo_select_font_face (cr, "Coconut",
    				CAIRO_FONT_SLANT_NORMAL,
    				CAIRO_FONT_WEIGHT_NORMAL)	
    	cairo_set_line_width (cr, 2.0)
    
    	-- Show total mem usage
    	local str1 = conky_parse(string.format('${mem}'))
    	local str2 = string.match(str1, "(%d+)")
    	local str3 = string.match(str1, "(%a+)")
    
    	cairo_set_source_rgba(cr, 1, 1, 1, 1)
    	cairo_move_to (cr, xc-9, yc-1)
    	cairo_show_text (cr, str2)
    	cairo_move_to (cr, xc-9, yc+9)
    	cairo_show_text (cr, str3)
    	cairo_stroke(cr)
    
    	-- Get top mem usage
    	local str1 = conky_parse(string.format('${mem}'))
    	local mem = tonumber(string.match(str1, "(%d+)"))
    	local str1 = conky_parse(string.format('${memperc}'))
    	local mempct = tonumber(string.match(str1, "(%d+)"))
    	
    	-- Draw pie
    	local angle = -90
    	local angle2 = 0
    	local tro = 4		-- Text rotational offset (degrees)
    	local maxprocesses = 10
    	local maxstrlen = 8
    
    	for process = 1, maxprocesses do
    
    		cairo_save(cr)
    	
    		-- Get top process memory usage
    		local str2 = conky_parse(string.format('${top_mem mem %i}', tonumber(process)))
    		local mem_process = tonumber(str2)
    		local procpct = mem_process / mempct
    		angle2 = angle + (procpct*360)
    
    		if angle2 > 260 then
    			cairo_restore(cr)
    			break
    		end	
    
    		-- Get top process name
    		local str2 = conky_parse(string.format('${top_mem name %i} ', tonumber(process)))
    		local index = string.find(str2,' ')
    		
    		if (index == nil) then
    			cairo_restore(cr)
    			break
    		elseif (index > maxstrlen) then
    			str2 = string.sub(str2, 0, maxstrlen)
    		end
    
    		-- Draw pie outline
    		cairo_set_source_rgba(cr, 1, 1, 1, 0.2)		
    		cairo_arc_negative (cr, xc, yc, 0.2*r, angle2*(math.pi/180), angle*(math.pi/180));			
    		cairo_arc (cr, xc, yc, r, angle*(math.pi/180), angle2*(math.pi/180));	
    --		cairo_close_path(cr)
    		cairo_stroke(cr)
    
    		-- Draw text
    		cairo_set_source_rgba(cr, 1, 1, 1, 0.5)	
    		cairo_move_to(cr, xc, yc)
    		cairo_rotate(cr, (angle2-((angle2-angle)/2)+tro)*(math.pi/180))
    --		cairo_show_text (cr, '    '..(procpct*100))
    		if (index > maxstrlen) then
    			cairo_show_text (cr, '      '..str2..'..')
    		else
    			cairo_show_text (cr, '      '..str2)
    		end		
    
    		angle = angle2 + 3
    
    		cairo_stroke(cr)
    		cairo_restore(cr)
    	end
    
    	if (angle < 264) then
    		angle2 = 267
    		cairo_set_source_rgba(cr, 1, 1, 1, 0.2)	
    		cairo_arc_negative (cr, xc, yc, 0.2*r, angle2*(math.pi/180), angle*(math.pi/180));
    		cairo_arc (cr, xc, yc, r, angle*(math.pi/180), angle2*(math.pi/180));	
    --		cairo_close_path(cr)
    		cairo_stroke(cr)
    		
    		if ((angle2 - angle) > 20) then
    			cairo_set_source_rgba(cr, 1, 1, 1, 0.5)	
    			cairo_move_to(cr, xc, yc)
    			cairo_rotate(cr, (angle2-((angle2-angle)/2)+tro+2)*(math.pi/180))
    			cairo_show_text (cr, '      '..'other')
    			cairo_stroke(cr)
    		end
    	end
    end
    I'm not happy with the way it looks right now.


    Edit: and I just realized it doesn't really scale properly unless the radius is 75. The text extents functions in Cairo would be so useful on Conky if they worked.
    Oooh, loving that! I agree with you re: the text. According to the devs, it's because tolua++ doesn't support Cairo structures, only Cairo classes, and the cairo_text_extents_t is a structure. I tried to mock up a table that looks like the structure, but it didn't work...Anyway, looks like we won't have that much control over text for now, but there is a patch in the pipeline (no idea on how long, however!).
    - Samsung R519 Silver - Dual-Boot Windows 7/Ubuntu 9.10 -
    - The Official Conky Blog - Follow conkynews on Twitter -
    - My Launchpad PPA -
    - My blog: My Little Desktop -

  5. #10125
    Join Date
    Nov 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    I really need to read back on how to use the lua method for making a clock. The old font thing leaves something to be desired.
    Want me to punchisize your face, For free??

  6. #10126
    Join Date
    Jul 2009
    Location
    Germany > Hessen > DA
    Beans
    26

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by arpinux View Post
    hi ubunteros,
    i use a script to generate a random slideshow in my conky:

    Code:
    #! /bin/bash
    
    line=$(($RANDOM%`ls /home/arp/images/conkypics | wc -l`))
    line=$((line + 1)) 
    
    ls /home/arp/conkypics | nl | while read a b
    do
      [ "$a" = "$line" ] && { cp /home/arp/conkypics/"$b" /home/arp/.ckpict; }
    done
    
    exit 0
    that i call in conky with

    Code:
    ${execi 10 ~/scripts/conky-slideshow.sh}${image /home/arp/.ckpict -p 30,240}
    it works fine but i want a 'ordered slideshow' now, if you see what i mean:
    conky display 01.png,04.png,34.png....
    and i want 01.png,02.png,03.png....

    i know it seems very basic for script masters, but i don't know anything about script writing so if someone could help, it will be great
    Hi arpinux,
    I have found only now your question, but I am not sure thus whether I have understood what your problem is!
    Here my proposal:

    Code:
    #! /bin/bash
    
    line=$(($RANDOM%`ls /home/arp/images/conkypics | wc -l`))
    line=$((line + 1)) 
    
    ls /home/arp/conkypics | sort | nl | while read a b
     do
      [ "$a" = "$line" ] && { cp /home/arp/conkypics/"$b" /home/arp/.ckpict; }
    done
    
    exit 0
    Should it not solve your problem, then announce yourselves, nevertheless, once more!
    64Bit - HP Compaq Presario CQ60-105EG, 4GB RAM, 160GB, NVIDIA GeForce 8200M, AMD Athlon X2 Dual-Core / Mandriva 2009.1, Mandriva 2010, #! Crunchbang 9.04.01 Conky-Hardcore - searchOne

  7. #10127
    Join Date
    Jan 2009
    Location
    Montréal , France
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by searchOne View Post
    Hi arpinux,
    I have found only now your question, but I am not sure thus whether I have understood what your problem is!
    Here my proposal:

    Code:
    #! /bin/bash
    
    line=$(($RANDOM%`ls /home/arp/images/conkypics | wc -l`))
    line=$((line + 1)) 
    
    ls /home/arp/conkypics | sort | nl | while read a b
     do
      [ "$a" = "$line" ] && { cp /home/arp/conkypics/"$b" /home/arp/.ckpict; }
    done
    
    exit 0
    Should it not solve your problem, then announce yourselves, nevertheless, once more!
    hi searchOne,
    i think i was not clear:
    the first line (with the $RANDOM command) generate a random number list that is read by the line you tempted to modify. your tip didn't work like i want but it's normal... i want to remove that $RANDOM line and replace it by an 'ORDERED' line, so that my pictures appears in the right order in the slideshow.
    as i've got only 16 pics in the folder, i've made a LONG script with many 'if', 'then','elif' (like, if there is n°1, display n°2, if there is n°2, display n°3... and then if there is n°16, display n°1) and it works like that but i'm sure it should be a better way to do that: generate a slideshow displaying the pics from a folder in the right order then back to the beginning...
    i think i have to learn how to script but i don't really know how or where to begin with
    anyway, thanks for your help, i'm still searching for the right way to do that by myself but any help is really appreciate

  8. #10128
    Join Date
    Jul 2005
    Location
    The Netherlands
    Beans
    209
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Post your .conkyrc files w/ screenshots

    I broke my Ubuntu! Wouldn't be any fun if it kept working perfectly forever (tho it'd be too annoying if it broke as often as Windows). Also I broke it myself (Windows breaks itself). Put it dist-upgrading during the night, locked screen and turned off screen (laptop). In the morning the screen wouldn't turn on. Now it mounts "/" as read-only. I'm gonna try and fix it later on when I get home.

    All this to say I can't hack away at my Conky at the moment. Well it'll be entertaining trying to fix my Ubuntu!
    Laptop: i7 4930MX @3.9GHz undervolted; 32GB 4x8GB Kingston HyperX Impact 1600MHz; Nvidia 780M 4GB; Samsung 840 EVO mSATA 250GB; Ubuntu 16.04 and Windows 10 Pro.
    Ubuntu #8076 / Linux #429448

  9. #10129
    Join Date
    Aug 2007
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    In SPANISH.



    conkyrc
    Code:
    use_xft yes
    xftfont OpenLogos DejaVu Sans Mono:size=8
    
    update_interval 2
    total_run_times 0
    double_buffer yes
    #text_buffer_size 3072
    text_buffer_size 3328
    
    own_window yes
    own_window_type override
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    
    minimum_size 447
    maximum_width 447
    
    default_color white
    draw_shades no
    
    color0 white
    color1 E07A1F
    color2 green
    
    alignment top_right
    gap_x 10
    gap_y 5
    
    no_buffers no
    net_avg_samples 2
    
    override_utf8_locale yes
    
    no_buffers yes
    
    TEXT
    ${font Arial Black:size=10}${time %H:%M}${alignr}${time %d %B %Y}${font}${image ~/.scripts/pc.png -p 210,50 -s 80x80}${image ~/.scripts/hd.png -p 200,148 -s 50x50}${image ~/.scripts/proc.png -p 200,200 -s 90x90}${image ~/.scripts/red.png -p 190,335 -s 100x100}
    
    ${color1}${font Zekton:style=Bold:pixelsize=13}Información sistema [ ${nodename} ${machine} ]${font} ${hr 2}${alignr}${color}
    ${voffset +1}${font OpenLogos:size=15}u${voffset -4}${font}   Ubuntu 9.10 ${kernel}${voffset -5}${alignr 15}${font OpenLogos:size=15}  T${voffset -4}${font}Gnome 2.28.0
    ${voffset +3}${font Illustrate IT:size=15}I${voffset -6}${font}   Intel dual CPU 2 x ${freq 1} MHz${alignr}CPU: ${cpu cpu1}%   ${cpugraph cpu1 8,50}
    ${voffset +5}${font StyleBats:size=15}g${voffset -4}${font}   RAM disponible : ${memmax}${alignr}Usando: $memperc%   ${membar 8,50}
    ${voffset +3}${font StyleBats:size=15}v${voffset -4}${font}   Update: ${execi 600 aptitude search "~U" | wc -l | tail} package(s)${alignr 10}${voffset +1}${font StyleBats:size=15}q${voffset -4}${font}  Uptime: ${uptime}
    ${color1}${font Zekton:style=Bold:pixelsize=13}Disco Duro ${font} ${hr 2}${color}
    ${font Pie charts for maps:size=13}7${font}${voffset -4}   ${fs_used /}/${fs_size /} ${fs_bar 8,50 /}${tab 138}${voffset -4}${font PizzaDude Bullets:size=13}J${font}${voffset -1} Lectura  :${tab 10}${diskio_read /dev/sda}${alignr 2}${diskiograph_read /dev/sda 8,50}
    ${font StyleBats:size=16}${voffset +1}l${font}${voffset -5}   Temperatura ${execi 300 hddtemp /dev/sda -n;}° C ${tab 138}${font PizzaDude Bullets:size=13}q${font} Escritura:${tab 10}${diskio_write /dev/sda}${alignr 2}${diskiograph_write /dev/sda 8,50}
    ${color1}${font Zekton:style=Bold:pixelsize=13}Procesos ${font} ${hr 2}${color}
    $font$processes procesos  ($running_processes activos)
    ${color green}NAME $alignr CPU     MEM${color}
    ${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 4}   ${top mem 4}
    ${top name 5} $alignr ${top cpu 5}   ${top mem 5}
    ${color1}${font Zekton:style=Bold:pixelsize=13}Red ${font} ${hr 2}${color}
    ${voffset +2}${font PizzaDude Bullets:size=11}O${font}   Up: ${upspeed wlan0}${alignr}${upspeedgraph wlan0 8,60 F57900 FCAF3E}
    ${voffset +2}${font PizzaDude Bullets:size=11}U${font}   Down: ${downspeed wlan0}${alignr}${downspeedgraph wlan0 8,60 F57900 FCAF3E}
    ${voffset +2}${font PizzaDude Bullets:size=11}N${font}   Subido: ${alignr}${totalup wlan0}
    ${voffset +2}${font PizzaDude Bullets:size=11}T${font}   Descargado: ${alignr}${totaldown wlan0}
    ${voffset +2}${font PizzaDude Bullets:size=11}Y${font}   Red:  ${alignr}${wireless_essid wlan0} a ${wireless_bitrate wlan0}
    ${voffset +2}${font PizzaDude Bullets:size=11}Z${font}   Señal:  ${alignr}${wireless_link_bar 8,60 wlan0}
    ${voffset +2}${font PizzaDude Bullets:size=11}a${font}   Ip Local: ${alignr}${addr wlan0}
    ${voffset +2}${font PizzaDude Bullets:size=11}b${font}   Ip Pública: ${alignr}${execi 1 ~/.scripts/ip.sh}
    ${voffset +2}${color1}${font Zekton:style=Bold:pixelsize=13}Conexiones ( ${tcp_portmon 1 65535 count} ) ${font}${hr 2}${color}
    ${voffset +2}${font PizzaDude Bullets:size=11}P${font}${color #CCCCCC} Entrantes: ${color lightgrey}${tcp_portmon 1 32767 count}${font PizzaDude Bullets:size=11}          V${font}${color #CCCCCC} Salientes: ${color lightgrey}${tcp_portmon 32768 61000 count}
    ${font Arial Black:size=7}${color1}------------- LOCAL -------------     ---------- REMOTO -----------     ------------------ INFORMACION ------------------${color}  
    ${font Arial Black:size=6}${color2}IP${tab 39}PUERTO${tab 27}IP${tab 105}PUERTO${tab 29} ESTADO${tab 49} PID${tab 20}PROCESO
    ${execpi 10 ~/.scripts/netstat.sh}
    netstat.sh (put in ~/.scripts)

    Code:
    #!/bin/bash
    # Netstat for conky
    #echo $linea > netTemp
    totalLineas=1
    colores=1
    netstat -tnp | grep tcp | awk '{print $4,$5,$6,$7}' | \
    while read line; do
    	ipl=$(echo $line | awk '{print $1}' FS=":") # Ip Local
    	pl=$(echo $line | awk '{print $2}' FS=":" | awk '{print $1}' FS=" ")   # Puerto Local
    	ipr=$(echo $line | awk '{print $2}' FS=" " | awk '{print $1}' FS=":")  # Ip Remota		
    	pre=$(echo $line | awk '{print $2}' FS=" " | awk '{print $2}' FS=":")  # Puerto Remoto
    	est=$(echo $line | awk '{print $3}' FS=" ")			       # Estado
    	pid=$(echo $line | awk '{print $4}' FS=" " | awk '{print $1}' FS="/")  # PID del proceso
    	if [ $pid = "-" ]
    	then
    	pid=""	
    	fi	
    	proc=$(echo $line | awk '{print $4}' FS=" " | awk '{print $2}' FS="/") # Proceso
    	if [ $est != "TIME_WAIT" ]
    	then
    	if [ $colores -eq 1 ]
    	then
    	linea='${font Arial Black:size=6}${color grey}'$ipl'${tab 20}'$pl'${tab 67}'$ipr'${tab 35}'$pre'${tab 53}'$est'${tab 23}'$pid'${tab 20}'$proc	
    	colores=2	
    	else
    	linea='${font Arial Black:size=6}${color pink}'$ipl'${tab 20}'$pl'${tab 67}'$ipr'${tab 35}'$pre'${tab 53}'$est'${tab 23}'$pid'${tab 20}'$proc	
    	colores=1
    	fi
    	if [ $totalLineas -le 21 ]
    	then	
    	echo -e $linea
    	let totalLineas=$totalLineas+1	
    	fi	
    	fi
    done
    ip.sh (put in ~/.scripts)

    Code:
    #!/bin/bash
    # eigene öffentliche ip anzeigen
    
    wget http://checkip.dyndns.org/ -q -O - |
    grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'
    Images (put in ~/.scripts)

    http://rapidshare.com/files/29816426...es.tar.gz.html
    or
    http://www.megaupload.com/?d=4BEHXN4I

    Fonts (put in /usr/share/fonts/truetype/unfonts)

    http://www.megaupload.com/?d=40WIY7QA

  10. #10130
    Join Date
    Jul 2009
    Location
    Germany > Hessen > DA
    Beans
    26

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by arpinux View Post
    hi searchOne,
    i think i was not clear:
    the first line (with the $RANDOM command) generate a random number list that is read by the line you tempted to modify. your tip didn't work like i want but it's normal... i want to remove that $RANDOM line and replace it by an 'ORDERED' line, so that my pictures appears in the right order in the slideshow.
    as i've got only 16 pics in the folder, i've made a LONG script with many 'if', 'then','elif' (like, if there is n°1, display n°2, if there is n°2, display n°3... and then if there is n°16, display n°1) and it works like that but i'm sure it should be a better way to do that: generate a slideshow displaying the pics from a folder in the right order then back to the beginning...
    i think i have to learn how to script but i don't really know how or where to begin with
    anyway, thanks for your help, i'm still searching for the right way to do that by myself but any help is really appreciate
    hi arpinux,
    well now I get it!

    I've got such an idea ... I'm going to meet me the next time yet to sign with you.
    64Bit - HP Compaq Presario CQ60-105EG, 4GB RAM, 160GB, NVIDIA GeForce 8200M, AMD Athlon X2 Dual-Core / Mandriva 2009.1, Mandriva 2010, #! Crunchbang 9.04.01 Conky-Hardcore - searchOne

Page 1013 of 2348 FirstFirst ... 1351391396310031011101210131014101510231063111315132013 ... 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
  •