Page 2306 of 2348 FirstFirst ... 13061806220622562296230423052306230723082316 ... LastLast
Results 23,051 to 23,060 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #23051
    Join Date
    Feb 2009
    Beans
    25

    Re: Post your .conkyrc files w/ screenshots

    Want to make a minor tweak to the default conky that comes with PinGuyOs 14.04.2

    Want to add a second Cpu line and show the clock.
    Attached Files Attached Files

  2. #23052
    Join Date
    Aug 2014
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Lessss View Post
    Want to make a minor tweak to the default conky that comes with PinGuyOs 14.04.2

    Want to add a second Cpu line and show the clock.
    The conky is using various transparent images and the output is positioned vertically with ${voffset}s.
    Not easily modified because if you add another cpu line you throw all the following lines out of whack because they use negative ${voffset} to position elements.

    Start by making a copy and see if you can rewrite the "# Cpu, memory, uptime, and load graph #" section.
    I don't have all the conky elements to test but start with something like this for that section....
    Code:
    # Cpu, memory, uptime, and load graph #
    \
    ${voffset 294}${goto 40}${color5}Cpu0:${color}${goto 125}${color2}${cpubar cpu0 5,36}${color}${alignr 39}${color6}${cpu cpu0}%${color}
    ${goto 40}${color5}Cpu1:${color}${goto 125}${color2}${cpubar cpu1 5,36}${color}${alignr 39}${color6}${cpu cpu1}%${color}[/B]
    Then you will need to align the next section with the background images.
    This conky is written needlessly complicated using voffsets which makes "minor tweaking" not so minor.
    Last edited by CantankRus; March 31st, 2015 at 01:36 AM.

  3. #23053
    Join Date
    Feb 2009
    Beans
    25

    Re: Post your .conkyrc files w/ screenshots

    ok, so it's likely to snowball. thanks.

  4. #23054
    Join Date
    Feb 2009
    Beans
    25

    Re: Post your .conkyrc files w/ screenshots

    I added it to the very end. It gives me the 2nd cpu line

  5. #23055
    Join Date
    Aug 2014
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Post your .conkyrc files w/ screenshots

    Yeah probably not what you wanted ...but easiest.
    You could even make your own little conky to run as well as the default config.
    Name what you want and save where ever.
    Run with...
    Code:
    conky -c /path/to/conkyconfig
    Have a play around.
    You could use the first part of your default config which loads the background images.
    Then configure what you want displayed.
    Save and run this config as I described above...
    Code:
    # Conky settings #
    background no
    update_interval 1
    double_buffer yes
    no_buffers yes
    imlib_cache_size 10
    
    # Window specifications #
    alignment top_right
    gap_x 20
    gap_y 50
    minimum_size 268 620
    maximum_width 268
    own_window yes
    own_window_type normal  # other options are: override/dock/desktop/panel
    own_window_transparent yes
    own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
    border_inner_margin 0
    border_outer_margin 0
    #alignment middle_middle
    #own_window_argb_visual yes
    #own_window_argb_value 0
    
    # Graphics settings #
    draw_shades no
    default_shade_color AAAAAA
    draw_outline no
    default_outline_color AAAAAA
    draw_borders no
    draw_graph_borders no
    default_graph_size 26 80
    show_graph_scale no
    show_graph_range no
    
    # Text settings #
    use_xft yes
    xftalpha 0
    xftfont Droid Sans:size=8
    text_buffer_size 256
    override_utf8_locale yes
    
    # Useful shortenings #
    short_units yes
    pad_percents 2
    top_name_width 7
    
    # Color scheme #
    default_color FFFFFF
    color1 FFFFFF
    color2 FFFFFF
    color3 FFFFFF
    color4 FFFFFF
    color5 FFFFFF
    color6 DCDCDC
    color7 FFFFFF
    color8 FFFFFF
    
    TEXT
    # Various images #
    ${execi 300 ~/.conky-weather/YahooWeather}
    ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/top-bg.png -p 20,30 -s 228x61}\
    ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bottom-bg.png -p 20,492 -s 228x99}\
    ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bg-1.png -p 20,177 -s 228x86}\
    ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bg-2.png -p 20,263 -s 228x105}\
    ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bg-3.png -p 20,368 -s 228x110}\
    ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bg-4.png -p 20,478 -s 228x14}\
    ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bg-5.png -p 20,478 -s 228x14}\
    ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bg-6.png -p 20,91 -s 228x86}\
    ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/fav-color.png -p 20,91 -s 228x86}\
    ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/border.png -p 20,30 -s 228x561}\
    ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/separator-v.png -p 95,185 -s 1x76}\
    ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/separator-v.png -p 172,185 -s 1x76}\
    ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/separator-h.png -p 21,369 -s 226x1}\
    ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/separator-h.png -p 21,269 -s 226x1}\
    \
    
    
    ${goto 40}My content
    Use the conky manpage for help.
    Attached Images Attached Images
    Last edited by CantankRus; March 31st, 2015 at 04:39 AM.

  6. #23056
    Join Date
    Apr 2015
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    I've bunch of conky config files....I want to add them to startup and in a quiet mode. Files :conkyrc....conky_speed....conky_rss how should i add them to startup with a single command

  7. #23057
    Join Date
    Aug 2014
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Post your .conkyrc files w/ screenshots

    Use a script and add the script to startups.
    Save as startconky.sh and make executable.
    Code:
    #!/bin/sh
      
       sleep 30  # sleep not required for xfce on startup - 30 or more for others
       conky -c ~/path/to/conkyrc &
       conky -c ~/path/to/conky_speed &
       conky -c ~/path/to/conky_rss
    Use your own paths.
    Each line to start a conky except the last must use a "&"

  8. #23058
    Join Date
    Apr 2015
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    Thanks
    conky_speed is returning nul
    i've installed the python module using pip
    ${texeci 25600 speedtest --simple --server 3090 > .speeds 2>&1}

    Complete file

    # this file goes in ~
    background no
    use_xft yes
    xftfont monospaceixelsize=11
    xftalpha 1
    total_run_times 0
    own_window yes
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders yes
    stippled_borders 0
    border_margin 4
    border_width 0
    default_color cyan
    default_shade_color black
    default_outline_color white
    alignment top_right
    gap_x 380
    gap_y 185
    cpu_avg_samples 10
    override_utf8_locale yes

    minimum_size 150 120
    maximum_width 120
    update_interval 1.0


    TEXT
    #leet chars: ┤┤└└┴┴┐┐││┘┘┌┌├├┬┬┼┼┴┴── ││ ▽▼△▲▵▴▾▿
    ┌───────────────┐
    │ SPEEDTEST.NET │
    └───────────────┘
    ${texeci 25600 speedtest --simple --server 3090 > .speeds 2>&1}
    ${exec cat /home/cam/.speeds}

  9. #23059
    Join Date
    Aug 2014
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by medepalliajaykumar View Post
    Thanks
    conky_speed is returning nul
    i've installed the python module using pip
    ${texeci 25600 speedtest --simple --server 3090 > .speeds 2>&1}
    Conky will display "null" until the ~/.speeds file is created when the speedtest command completes.
    Check in terminal to see if speedtest runs...
    Code:
    speedtest --simple --server 3090
    Okay this is what I did.
    Installed speedtest-cli using pip...
    Code:
    sudo pip install speedtest-cli
    Got a list of servers ...
    Code:
    speedtest --list > speedtest.list
    Don't like the use of the texeci command here.
    You don't really want the speedtest command to run at specific intervals.
    For the speedtest info to be of any use it needs to be run when nothing else is connecting to the net.
    I wouldn't even have it in startups. I would have a script to toggle the conky on/off when I want to test.
    eg this script will toggle any conky on/off.
    Save as toggle-any-conky and make executable.
    Code:
    #!/bin/bash
    
    ## click to start, click to stop
    
    ### exec line in .desktop file 
    # /full/path/to/toggle-any-conky /full/path/to/conky-config
    ## Eg /home/glen/conky/toggle-any-conky /home/glen/conky/configs/comic-conkyrc
    
    
    if pgrep -f "conky -c $1"; then
    	pkill -xf "conky -c $1"
    else
    	conky -c $1
    	
    fi
    To run use...
    Code:
    /full/path/to/toggle-any-conky /full/path/to/conky-config
    eg for me to toggle conky_speed, the command I would use is...
    Code:
    /home/glen/conky/toggle-any-conky /home/glen/conky/configs/conky_speed
    or
    create a bash alias in ~/.bash_aliases
    eg
    Code:
    alias conkyspeed='/home/glen/conky/toggle-any-conky /home/glen/conky/configs/conky_speed'
    Then all you need to run is conkyspeed to toggle the conky on/off.

    I changed the conky_speed config to this.
    It doesn't need to write to a ~/.speeds file and then cat that file.
    Just output straight to conky.
    Code:
    background no
    use_xft yes
    xftfont monospace:size=11
    xftalpha 1
    total_run_times 0
    own_window yes
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    draw_borders no
    border_inner_margin 5  #margin between border and text
    border_outer_margin 0  #margin between border and window edge
    border_width 5  #border thickness
    draw_outline no
    draw_graph_borders yes
    stippled_borders 0
    
    default_color cyan
    default_shade_color black
    default_outline_color white
    alignment top_right
    gap_x 380
    gap_y 185
    cpu_avg_samples 10
    override_utf8_locale yes
    
    minimum_size 160 120
    maximum_width 160
    update_interval 86400
    
    
    TEXT
    #leet chars: ┤┤└└┴┴┐┐││┘┘┌┌├├┬┬┼┼┴┴── ││ ▽▼△▲▵▴▾▿
    ┌───────────────┐
    │ SPEEDTEST.NET │
    └───────────────┘
    ${exec speedtest --simple --server 2627}
    ${exec notify-send -i network-transmit-receive "Speedtest Completed"}
    Choose a server near you from the speedtest.list file created earlier in your home folder.
    The conky will take about a minute to show while the speedtest command runs.
    It will send a notification when completed.
    Attached Images Attached Images
    Last edited by CantankRus; April 2nd, 2015 at 08:15 AM.

  10. #23060
    Join Date
    Apr 2015
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    Thanks it worked
    I'm working on toggle-conky...

Page 2306 of 2348 FirstFirst ... 13061806220622562296230423052306230723082316 ... 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
  •