Page 2312 of 2348 FirstFirst ... 13121812221222622302231023112312231323142322 ... LastLast
Results 23,111 to 23,120 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #23111
    Join Date
    Mar 2015
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by CantankRus View Post
    Try setting a fixed width.
    eg
    Code:
    minimum_size 2000 0  # minwidth minheight
    maximum_width 2000  # maxwidth
    That *kind of* worked. My window is now wider. What I'm finding very frustrating about conky is I don't get consistent results. Say, with a gap x variable, the window will show up in different places after each reboot. The min size and max width variables, when changed, don't seem to affect the size of the window, except rarely, and without apparent rhyme or reason.

  2. #23112
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,591
    Distro
    Ubuntu

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by cfye View Post
    That *kind of* worked. My window is now wider. What I'm finding very frustrating about conky is I don't get consistent results. Say, with a gap x variable, the window will show up in different places after each reboot. The min size and max width variables, when changed, don't seem to affect the size of the window, except rarely, and without apparent rhyme or reason.
    Are you using the delay flag -p?
    I find conky and the desktop tend to fight each when loading, so the desktop, like the house, always wins...
    basics of -p would be
    Code:
    conky -p 10
    this pauses conky from starting for 10 seconds.
    Adjust to your own liking.

    If you are already using a delay, then disregard.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  3. #23113
    Join Date
    Aug 2014
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Post your .conkyrc files w/ screenshots

    @cfye
    What are you trying to achieve?
    Do you want an always visible band along the bottom showing now playing music?

  4. #23114
    Join Date
    Mar 2015
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by CantankRus View Post
    @cfye
    What are you trying to achieve?
    Do you want an always visible band along the bottom showing now playing music?
    I have a conky along the right panel, so I want a band along the bottom, except for the right, whatever it is, 300 pixels. The band needs some height because I have lines for 'web' music, or stuff pulled from last.fm, and for music played locally thru audacious. And some song titles are long so they might spill over into multiple lines.

    I'll have to place this on hold tho because my os just went to ****, won't load the Xsession properly ... or something.

  5. #23115
    Join Date
    Mar 2015
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by deadflowr View Post
    Are you using the delay flag -p?
    I find conky and the desktop tend to fight each when loading, so the desktop, like the house, always wins...
    basics of -p would be
    Code:
    conky -p 10
    this pauses conky from starting for 10 seconds.
    Adjust to your own liking.

    If you are already using a delay, then disregard.

    wasn't using that, will look into it.

  6. #23116
    Join Date
    Mar 2015
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by CantankRus View Post
    @cfye
    What are you trying to achieve?
    Do you want an always visible band along the bottom showing now playing music?
    ok, I actually ended up nuking my old install, and this works on the new install. Thanks for the help.

  7. #23117
    Join Date
    May 2014
    Location
    Edmonton
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Post your .conkyrc files w/ screenshots

    Some interesting stuff in your thumbnail but unfortunately too difficult to decipher it all.

    Could you post your conky code?

  8. #23118
    Join Date
    May 2014
    Location
    Edmonton
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Post your .conkyrc files w/ screenshots

    I've subscribed to this thread and many more Ubuntu threads. Unfortunately my Google email has stopped relaying new posts to the thread.

    Is Ubuntu censoring my input or google email?

  9. #23119
    Join Date
    Jun 2015
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    Lion conky
    http://s17.postimg.org/ppdvr6n4v/Screenshot.png
    Wallpaper http://protacticus.deviantart.com/ar...wall-541527190

    Code:
    double_buffer yestext_buffer_size 2048
    imlib_cache_size 0
    update_interval 1
    cpu_avg_samples 1
    format_human_readable
    
    
    alignment top_right
    gap_x 10
    gap_y 60
    minimum_size 240 1080
    maximum_width 240
    
    
    own_window yes
    own_window_type desktop    # options are: normal/override/dock/desktop/panel
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_transparent yes
    own_window_colour 333333
    own_window_argb_visual yes
    own_window_argb_value 0
    
    
    border_inner_margin 0
    border_outer_margin 0
    
    
    default_bar_size 60 6
    draw_shades no
    default_shade_color 000000
    draw_outline no
    default_outline_color 000000
    draw_borders no
    draw_graph_borders no
    show_graph_scale no
    show_graph_range no
    
    
    override_utf8_locale yes
    use_xft yes
    xftfont Inconsolata:size=10
    xftalpha 1
    uppercase no
    max_text_width 40
    
    
    default_color ffffff
    color1 ffffff
    color2 F4FA58
    color3 DBA901
    color4 FF5A45
    
    
    TEXT
    # info
    ${goto 22}$color3${voffset -4}${font Inconsolata:size=11,weight:bold}${pre_exec lsb_release -d | cut -f 2| tr "[:upper:]" "[:upper:]"}
    # $sysname
    ${voffset 5}${goto 10}$color1${font Inconsolata:size=10,weight:normal}Kernel:${alignr 5}$kernel
    ${goto 10}Installation date:${alignr 5}${pre_exec ls -ld /lost+found | cut -d' ' -f 6-7 --output-delimiter=' - '}
    ${goto 10}Uptime:${alignr 5}$uptime
    ${goto 10}Battery:${alignr 5}$battery$battery_time
    ${goto 10}Temperature:${alignr 5}$alignr$acpitemp°C 
    ${voffset 5}${font Inconsolata:size=12,weight:bold}${color3}${alignc}CPU${font}
    # cpu load/temp/graph
    ${goto 10}${voffset 5}${color1}CPU: ${cpu cpu1}%${alignr 10}${exec sensors|grep 'Core 0'|awk '{print $3}'}
    ${goto 10}${voffset -3}${color2}${cpugraph cpu1 40,220 424242 ffffff}
    #
    # top processes
    ${voffset 5}${font Inconsolata:size=12,weight:bold}${color3}${alignc}Top Processes${font}
    ${voffset -3}${goto 10}${color1}${top name 1}${alignr 10}${top cpu 1}%
    ${goto 10}${voffset -2}${top name 2}${alignr 10}${top cpu 2}%
    ${goto 10}${voffset -2}${top name 3}${alignr 10}${top cpu 3}%
    ${goto 10}${voffset -2}${top name 4}${alignr 10}${top cpu 4}%
    ${goto 10}${voffset -2}${top name 5}${alignr 10}${top cpu 5}%
    #Memory
    ${voffset 5}${font Inconsolata:size=12,weight:bold}${color3}${alignc}Memory${font}
    ${voffset 3}${goto 10}${color1}RAM: ${alignr 10}$memperc% ${color2}${membar 6}
    ${voffset 3}${goto 10}${color1}Swap size:${alignr 10}${alignr 10}$swap/$swapmax
    #${offset 15}${font Inconsolata:size=10,weight:normal}${color1}$swap / $swapmax $alignr $swapperc%
    # top memory
    ${voffset 5}${font Inconsolata:size=12,weight:bold}${color3}${alignc}Top Memory${font}
    ${goto 10}${voffset -2}${color1}${top_mem name 2}${alignr 10}${top mem 2}%
    ${goto 10}${voffset -2}${top_mem name 3}${alignr 10}${top mem 3}%
    ${goto 10}${voffset -2}${top_mem name 4}${alignr 10}${top mem 4}%
    ${goto 10}${voffset -2}${top_mem name 5}${alignr 10}${top mem 5}%
    ${goto 10}${voffset -2}${top_mem name 6}${alignr 10}${top mem 6}%
    #
    #Disk
    ${voffset 5}${font Inconsolata:size=12,weight:bold}${color3}${alignc}Disk${font}
    ${voffset 3}${goto 10}${color1}Root $color${alignr 10}${fs_used /}/${fs_size /} ${color2}${fs_bar 6 /}
    ${voffset 3}${goto 10}${color1}Home $color${alignr 10}${fs_used /home}/${fs_size /home} ${color2}${fs_bar 6 /home}
    #
    #network
    ${voffset 8}${font Inconsolata:size=12,weight:bold}${color3}${alignc}Network${font}
    ${voffset 3}${goto 10}${color1}Wireless${alignr 10}SSID: ${wireless_essid wlan0}
    ${goto 10}Signal:${goto 70}${color2}${wireless_link_bar wlan0}${color1}${alignr 10}${wireless_link_qual_perc wlan0}%
    ${goto 10}IP (Lan):${alignr 10}${addr wlan0}
    ${goto 10}IP (Public):${alignr 10}${execi 600 wget http://ipecho.net/plain -q -O - | grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'}
    ${voffset 5}${goto 10}${color1}Upspeed:${alignr 10}${upspeed wlan0}
    ${goto 10}${voffset 0}Total up:${alignr 10}${totalup wlan0}
    ${goto 10}${color2}${upspeedgraph wlan0 40,220 424242 ffffff 100 -l}
    ${goto 10}${color1}Down:$color1${alignr 10}${downspeed wlan0}
    ${goto 10}Total down:${alignr 10}${totaldown wlan0}
    ${goto 10}${color2}${downspeedgraph wlan0 40,220 424242 ffffff 100 -l}
    #
    ${voffset 5}${goto 10}${color1}Port(s)${alignr 10}${color2}In: ${tcp_portmon 1 32767 count} Out: ${tcp_portmon 32768 61000 count}${alignr} ALL: ${tcp_portmon 1 65535 count}
    ${voffset 5}${goto 10}${color2}Out. Connection ${alignr} Rem. Service/Port$color
    ${goto 10}${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
    ${goto 10}${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
    ${goto 10}${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
    ${goto 10}${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
    ${goto 10}${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
    ${goto 10}${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}
    ${goto 10}${color2}In. Connection ${alignr} Loc. Service/Port$color
    ${goto 10}${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
    ${goto 10}${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
    ${goto 10}${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
    ${goto 10}${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
    ${goto 10}${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
    ${goto 10}${tcp_portmon 1 32767 rhost 5} ${alignr} ${tcp_portmon 1 32767 lservice 5}
    Attached Images Attached Images
    Last edited by deadflowr; June 24th, 2015 at 04:31 AM. Reason: remove pointless html code tag

  10. #23120
    Join Date
    Apr 2015
    Beans
    0

    Conky and LUA

    I have been trying for weeks now (in my spare time) to get this conky to work with no luck. I an not used to posting anything for help but it seems in this case i will nee some form of assistance. I have looked around and have not found anything on my specific problem. There is an error in this LUA file that i can not fix. If i can get someone to point out the problem with a description on how to fix it (for learning purposes) it will be greatly appreciated. I have alot of fun making these for other people and myself. These are the files in question

    Conky:

    # 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 1024
    #imlib_cache_size 0

    temperature_unit fahrenheit

    # Window specifications #

    own_window yes
    own_window_type override
    own_window_transparent yes
    own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

    border_inner_margin 0
    border_outer_margin 0

    minimum_size 200 500
    maximum_width 300

    alignment tr
    gap_x 35
    gap_y 55

    # Graphics settings #
    draw_shades yes
    draw_outline no
    draw_borders no
    draw_graph_borders no

    # Text settings #
    use_xft yes
    xftfont Ubuntu:size=12
    xftalpha 0.5

    uppercase no

    temperature_unit celsius

    default_color FFFFFF
    color1 B65719
    color2 8734bd

    # Lua Load #
    lua_load /etc/conky/demo.lua
    lua_draw_hook_pre clock_rings

    TEXT
    ${offset 67}${voffset 140}${color1}${font}Ubuntu
    ${offset 105}${voffset -10}${color1}${font Ubuntu:size=8}${pre_exec lsb_release -r | cut -f 2| tr "[:upper:]" "[:lower:]"}



    LUA:

    --[[
    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='cpu',
    -- "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='cpu0',
    -- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100.
    max=100,
    -- "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.2,
    -- "fg_colour" is the colour of the indicator part of the ring.
    fg_colour=0xFF6600,
    -- "fg_alpha" is the alpha value of the indicator part of the ring.
    fg_alpha=0.6,
    -- "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=15,
    -- "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative.
    start_angle=-35,
    -- "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=85
    },
    {
    name='cpu',
    arg='cpu1',
    max=100,
    bg_colour=0xffffff,
    bg_alpha=0.1,
    fg_colour=0xFF6600,
    fg_alpha=0.4,
    x=100, y=150,
    radius=50,
    thickness=15,
    start_angle=85,
    end_angle=205
    },
    {
    name='cpu',
    arg='cpu2',
    max=100,
    bg_colour=0xffffff,
    bg_alpha=0.3,
    fg_colour=0xFF6600,
    fg_alpha=0.8,
    x=100, y=150,
    radius=50,
    thickness=15,
    start_angle=205,
    end_angle=325
    },
    {
    name='fs_free_perc',
    arg='',
    max=100,
    bg_colour=0xffffff,
    bg_alpha=0.3,
    fg_colour=0xFF6600,
    fg_alpha=0.8,
    x=100, y=150,
    radius=40,
    thickness=2,
    start_angle=0,
    end_angle=180
    },
    {
    name='memperc',
    arg='',
    max=100,
    bg_colour=0xffffff,
    bg_alpha=0.1,
    fg_colour=0xFF6600,
    fg_alpha=0.4,
    x=100, y=150,
    radius=40,
    thickness=2,
    start_angle=180,
    end_angle=360
    },
    }


    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 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
    end

    The error:

    Conky: desktop window (2a0000a) is subwindow of root window (2bf)
    Conky: window type - override
    Conky: drawing to created window (0x3e00001)
    Conky: drawing to double buffer
    Conky: llua_do_call: function conky_clock_rings execution failed: /home/dave/Downloads/concept-update-Ir/demo.lua:145: attempt to perform arithmetic on local 'value' (a nil value)
    Conky: llua_do_call: function conky_clock_rings execution failed: /home/dave/Downloads/concept-update-Ir/demo.lua:145: attempt to perform arithmetic on local 'value' (a nil value)



    Both of theses files were edited from other conky and LUA files. Any help will be welcome.

    Thank you for your time

Page 2312 of 2348 FirstFirst ... 13121812221222622302231023112312231323142322 ... 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
  •