Page 2346 of 2347 FirstFirst ... 134618462246229623362344234523462347 LastLast
Results 23,451 to 23,460 of 23461

Thread: Post your .conkyrc files w/ screenshots

  1. #23451
    Join Date
    Apr 2019
    Location
    Ibiza, Spain
    Beans
    11
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: Post your .conkyrc files w/ screenshots

    Hmm.
    Is there a Conky support forum here (or anywhere)?
    Or is this it?

  2. #23452
    Join Date
    May 2011
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    [IMG]file:///home/vchaturvedi/Pictures/Screenshot%20from%202019-04-30%2022-05-28.png[/IMG]


    Code:
    # Conky, a system monitor, based on torsmo
    #
    # Any original torsmo code is licensed under the BSD license
    #
    # All code written since the fork of torsmo is licensed under the GPL
    #
    # Please see COPYING for details
    #
    # Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
    # Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
    # All rights reserved.
    #
    # This program is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    #
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    # GNU General Public License for more details.
    # You should have received a copy of the GNU General Public License
    # along with this program.  If not, see <http://www.gnu.org/licenses/>.
    #
    
    
    background yes
    use_xft yes
    xftfont 123:size=8
    xftalpha 0.1
    update_interval 0.3
    total_run_times 0
    own_window yes
    own_window_type normal
    own_window_transparent no
    own_window_class conky-semi
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_argb_visual yes
    own_window_argb_value 0
    double_buffer yes
    minimum_size 240 5
    maximum_width 400
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders yes
    default_color gray
    default_shade_color red
    default_outline_color white
    alignment bottom_right
    
    
    gap_x 7
    gap_y 25
    
    
    stippled_borders 3
    border_inner_margin 4
    border_width 5
    
    
    no_buffers no
    uppercase no
    cpu_avg_samples 2
    net_avg_samples 1
    #override_utf8_locale yes
    use_spacer right
    text_buffer_size 256
    
    
    TEXT
    ${font Arial:bold:size=10}${color #3b71a1}${color #3b71a1}V.Chaturvedi ${color #3b71a1} ${hr 8}
    $font${color DimGray}$sysname $kernel $alignr $machine
    Date $alignr${time %A, %B %e}
    Time $alignr${time %H:%M:%S}
    Uptime $alignr${uptime_short}
    File System $alignr${fs_type}
    
    
    ${font Arial:bold:size=10}${color #3b71a1}NETWORK ${color #3b71a1}${hr 2}
    #$font${color DimGray}IP on wlp1s0 $alignr ${addr wlp1s0}
    $font${color DimGray}Up $alignr ${upspeed wlp1s0}
    ${color DimGray}${upspeedgraph enp1s0 20,250 DimGray DimGray}
    ${color DimGray}Down $alignr ${downspeed wlp1s0}
    ${color DimGray}${downspeedgraph enp1s0 20,250 DimGray DimGray}  
    ${color DimGray}Uploaded: $alignr ${totalup enp1s0} Downloaded: $alignr ${totaldown enp1s0}
    
    
    ${font Arial:bold:size=10}${color #3b71a1}PROCESSORS ${color #3b71a1}${hr 2}
    $font${color DimGray}Core1 ${cpu cpu1}% ${cpubar cpu1}
    Freq: ${freq 1}MHz
    Core2 ${cpu cpu2}% ${cpubar cpu2}
    Freq: ${freq 2}MHz
    Core3 ${cpu cpu3}% ${cpubar cpu3}
    Freq: ${freq 3}MHz
    Core4 ${cpu cpu4}% ${cpubar cpu4}
    Freq: ${freq 4}MHz
    
    
    ${font Arial:bold:size=10}${color #3b71a1}MEMORY ${color #3b71a1}${hr 2}
    $font${color DimGray}MEM $alignc $mem / $memmax $alignr $memperc%
    $membar
    ${font Arial:bold:size=10}${color #3b71a1}HDD ${color #3b71a1}${hr 2}
    $font${color DimGray}/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
    ${fs_bar /home}
    ${color #3b71a1}Disk I/O: $color${diskio}
    ${color DimGray}Read:
    ${color DimGray}${diskiograph_read 20,250 DimGray DimGray 750}
    ${color DimGray}Write:
    ${color DimGray}${diskiograph_write 20,250 DimGray DimGray 750}
    ${color #3b71a1}Swap Usage:$color $swap${color DimGray}/${color}$swapmax - $swapperc% ${color DimGray}${swapbar}
    ${font Arial:bold:size=10}${color #3b71a1}TEMPERATURES ${color #3b71a1}${hr 2}
    $font${color DimGray}${color DimGray}Temp 1$alignr${hwmon 0 temp 1}°C
    ${color DimGray}Temp 2$alignr${hwmon 1 temp 1}°C
    ${font Arial:bold:size=10}${color #3b71a1}PROCESSES ${color #3b71a1}${hr 2}
    $font${color #3b71a1}Total: ${color}$alignr${processes}
    ${color DimGray}$font${top name 1}${alignr}${top cpu 1} %
    $font${top name 2}${alignr}${top cpu 2} %
    $font${top name 3}${alignr}${top cpu 3} %
    $font${top name 4}${alignr}${top cpu 4} %
    $font${top name 5}${alignr}${top cpu 5} %
    Last edited by deadflowr; 3 Weeks Ago at 06:19 PM. Reason: code tags

  3. #23453
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    9,985
    Distro
    Ubuntu

    Re: Post your .conkyrc files w/ screenshots

    Please use the forums attachments feature to upload images.

    (To use attachments click on Go Advanced and select the paperclip icon in the tool bar
    Then follow the guidance to add a new file from your computer and upload it.)
    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
    .

  4. #23454
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by donbcilly View Post
    Hmm.
    Is there a Conky support forum here (or anywhere)?
    Or is this it?
    Desktop Environments

  5. #23455
    Join Date
    Oct 2014
    Location
    Santiago DR
    Beans
    116
    Distro
    Ubuntu

    Re: Post your .conkyrc files w/ screenshots

    A conky display on the right of my 22" display using Ubuntu 19.04/Linux 5.0 with:

    • Ryzen 3 2200G, now also with temperature and fan-rpm displays
    • Vega 8 with temperature, gpu load and vram occupation based on radeontop
    • ZFS, the file system with memory cache and SSD cache usage and hit rates. Cache display: (uncompressed GiB) compressed GiB of GiB size. Hit rates are in cyan.
    • ZFS, datapools with striped disks (Raid-0) and occupation
    • ZFS, with datapool throughputs (blue) and its throughputs of SSD cache and SSD log, both in pink.

    Note that the SSD cache (L2ARC) is only used initially (boot and first program loads). Soon almost all disk IO is treated by the memory cache (>90%), leaving only a few percentage point to be shared by the three striped HDDs. Two of the HDDs have ~6 power-on years, so they deserve this kind of semi-retirement.

    The display:

    conky-screenshot.jpg

    The .conkyrc file:

    Code:
     conky.config = {
    -- ------------------------- Windows Settings
        own_window = true,
        own_window_transparent = no,
        own_window_argb_visual = true,
        own_window_argb_value = 160,
        own_window_colour = 'black',
        own_window_type = 'normal',
        own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
    
        double_buffer = true,    
        background = true,
    
    -- ------------------------- Position
        alignment = 'bottom_right',
    
        minimum_width = 270,
        maximum_width = 270,
        minimum_height = 500,
        gap_x = 5,
        gap_y = 0,
    
    -- ------------------------- Font
        draw_shades = false,
        draw_outline = false,
        draw_borders = false,
        draw_graph_borders = true,
    
        default_bar_height = 3,
        default_graph_height = 20,
    
        use_spacer = 'right',
    
        use_xft = true,
        override_utf8_locale = true,
    
        font = 'Ubuntu:size=9',
    
    --------------------------- Other
        update_interval = 3,
    
    ----- Codes / lightgreen #C2E078 / lightblue #badcdd / lightred #F1433F/ roze #FFB49F / pink #B262FF 
    ----- text
        default_color = 'yellow',
    ----- headers
        color0 = 'cyan',
    ----- time related bars
        color1 = 'cyan',
    ----- space related bars
        color2 = 'yellow',
    ----- graphs total
        color3 = 'cyan',
    ----- write graphs total
        color5 = '#B262FF',
    ----- graphs temp limits
        color4 = '#F1433F',
    ----- graphs gradient       f0f8ff f1433f   009acd f0f8ff
        color8 = '#009acd',
        color9 = '#f0f8ff',    
    };
    
    conky.text = [[
    #
    # General Info
    #
        ${voffset 0}${color0}${font HeldustryFTVBasic Demi:size=14}${nodename}, ${font HeldustryFTVBasic Demi:size=10}$uptime ${font HeldustryFTVBasic Demi:size=8}${hr 2}
        ${voffset 0}${color}${font HeldustryFTVBasic Demi:size=8}${exec lsb_release -d | cut -f 2}${alignr}Linux ${kernel} ${font HeldustryFTVBasic Demi:size=8}
        ${voffset 0}${font HeldustryFTVBasic Demi:size=14}${color0}${time %H:%M} ${color }${font HeldustryFTVBasic Demi:size=11}Europe ${color}${tztime Europe/Brussels %H:%M}${font HeldustryFTVBasic Demi:size=8}
        ${voffset 0}${font HeldustryFTVBasic Demi:size=9}${time %a, }${time %e %B %G}${font HeldustryFTVBasic Demi:size=8}${alignr}AMD Ryzen-3-2200G 
    #
    # CPUs load, frequencies, temeratures and fan speeds
    #
        ${voffset 3}${color}${font HeldustryFTVBasic Demi:size=8}CPU-1   ${freq_g 1}GHz: ${cpu cpu1}% ${alignr}CPU: ${hwmon 0 temp 2}°C${color4}<80°C${color} 
        ${color1}${cpubar cpu1}
        ${color}${font HeldustryFTVBasic Demi:size=8}CPU-2   ${freq_g 2}GHz: ${cpu cpu2}% ${alignr}FANs: ${hwmon 0 fan 2} RPM 
        ${color1}${cpubar cpu2}
        ${color}${font HeldustryFTVBasic Demi:size=8}CPU-3   ${freq_g 3}GHz: ${cpu cpu3}% 
        ${color1}${cpubar cpu3}
        ${color}${font HeldustryFTVBasic Demi:size=8}CPU-4   ${freq_g 4}GHz: ${cpu cpu4}% ${alignr}MoBo: ${hwmon 0 temp 7}/${hwmon 1 temp 1}/${hwmon 1 temp 2}°C 
        ${color1}${cpubar cpu4}
        ${voffset 0}${color}Average: ${cpu cpu0}%${color}${font HeldustryFTVBasic Demi:size=8}$alignr Processes: $processes ${color}Running:$color $running_processes/$running_threads
        ${color3}${cpugraph 009acd f1433f -t} 
    #
    # Memory, free. ZFS cache usage and hit rates
    #
        ${color}${font HeldustryFTVBasic Demi:size=8}RAM :$color${alignr}$mem of $memmax - $memperc% 
        ${color2}$membar
        ${color}L1ARC / ${color0}Hits%: ${color}${alignr}(${exec cat /proc/spl/kstat/zfs/arcstats | grep -m 1 uncompressed_size | awk '{printf "%4.2f",$3/1073741824}'}) ${exec cat /proc/spl/kstat/zfs/arcstats | grep -m 1 size | awk '{printf "%4.2f",$3/1073741824}'}GiB of 3.00GiB - ${color0}${exec arc_summary | grep -m 1 Actual | awk '{print int($4+0.5)}'}% 
        ${color5}${execbar cat /proc/spl/kstat/zfs/arcstats | grep -m 1 size | awk '{printf int($3/32212254)}'}
        ${color}L2ARC / ${color0}Hits% ${alignr}${color}(${exec cat /proc/spl/kstat/zfs/arcstats | grep -m 1 l2_size | awk '{printf "%4.1f",$3/1073741824}'}) ${exec cat /proc/spl/kstat/zfs/arcstats | grep -m 1 l2_asize | awk '{printf "%4.1f", $3/1073741824}'}GiB of 45.0GiB - ${color0}${exec arc_summary | grep -m 1 -A 2 "L2 ARC Breakdown" | grep "Hit Ratio:" | awk '{print int($3+0.5)}'}% 
        ${color5}${execbar cat /proc/spl/kstat/zfs/arcstats | grep -m 1 l2_asize | awk '{print int($3/10737418/45)}'}
        ${color}${font HeldustryFTVBasic Demi:size=8}SWAP:$color${alignr}$swap of $swapmax - $swapperc% 
        ${color2}${swapbar}
        ${color}Av=$memeasyfree ${alignr}F/C/IO=$memfree+$cached+$buffers 
    #
    # Radeon Vega 8 Frequency, load, VRAM usage
    #
        ${voffset 1}${color0}${font HeldustryFTVBasic Demi:size=12}VIDEO: ${font HeldustryFTVBasic Demi:size=10}Radeon VEGA-8 ${font HeldustryFTVBasic Demi:size=8}${hr 2}
        ${voffset 1}${color}GPU Temp = ${hwmon 2 temp 1}°C ${color4}<<80°C ${color}
        ${color}GPU  Load = ${exec radeontop -t 60 -l 1 -d- | grep gpu | awk '{print int($3)}'}% 
        ${color}${execbar radeontop -t 60 -l 1 -d- | grep gpu | awk '{print int($3)}'}
        ${color}VRAM ${alignr} Used=${exec radeontop -t 1 -l 1 -d- | grep vram | cut -b 138-147}MB of 1024MB 
        ${color}${execbar radeontop -t 1 -l 1 -d- | grep vram | cut -b 138-139}
    #
    # Storage, free space, file system 
    #
        ${voffset 0}${color0}${font HeldustryFTVBasic Demi:size=12}STORAGE: zfs / ext4 ${font HeldustryFTVBasic Demi:size=8}${hr 2}
        ${voffset 0}${color}System $alignr zfs   Free: $color${exec zfs list systems | grep systems | awk '{print int($3*100/50.5)}'}% / ${fs_free /} of 50.5GiB 
        ${color2}${execbar zfs list systems | grep systems | awk '{print int($2*100/50.5)}'}}
        ${color}Archives $alignr zfs   Free: $color${exec zfs list archives | grep archives | awk '{print int($3*100/540)}'}% / ${fs_free /archives/archives} of 540GiB  
        ${color2}${execbar zfs list archives | grep archives | awk '{print int($2*100/540)}'}}
        ${color}HP Data ${alignr}zfs   Free: $color${fs_free_perc /hp-data/hp-data}% / ${fs_free /hp-data/hp-data} of 636GiB  
        ${color2}${fs_bar /hp-data/hp-data}
        ${color}VMS ${alignr} zfs   Free: ${color}${exec zfs list vms | grep vms | awk '{print int($3*100/488)}'}% / ${fs_free /vms/vms} of 488GiB  
        ${color2}${execbar zfs list vms | grep vms | awk '{print int($2*100/488)}'}${if_existing /backup}
        IDE-320GB ${alignr}zfs   Free: ${exec zfs list backup | grep backup | awk '{print int($3*100/298)}'}% / ${fs_free /backup} of 298GiB 
        ${color2}${execbar zfs list backup | grep backup | awk '{print int($2*100/298)}'} ${endif} ${if_existing /hp-backup}
        SATA-320GB ${alignr}zfs   Free: ${exec zfs list hp-backup | grep hp-backup | awk '{print int($3*100/298)}'}% / ${fs_free /hp-backup/hp-data} of 298GiB 
        ${color2}${execbar zfs list hp-backup | grep hp-backup | awk '{print int($2*100/298)}'} ${endif} ${if_existing /backup-vma}
        USB-160GB  ${alignr}zfs   Free: ${exec zfs list backup-vma | grep backup-vma | awk '{print int($3*100/148)}'}% / ${fs_free /backup-vma/vm-archives} of 148GiB 
        ${color2}${execbar zfs list backup-vma | grep backup-vma | awk '{print int($2*100/148)}'} ${endif}
    #
    # HDDs and SSD throughputs totals per physical disk
    #
        ${color}${voffset 0}sda 500GB, ${alignr}${diskio /dev/sda}/s of 130Mib/s   T=${hddtemp /dev/sda}°C
        ${color}sdb 320GB, ${alignr}${diskio /dev/sdb}/s of   78Mib/s   T=${hddtemp /dev/sdb}°C
        ${color}sdc 1TB, ${alignr}${diskio /dev/sdc}/s of 112Mib/s   T=${hddtemp /dev/sdc}°C
        ${color}sdd 128GB, ${alignr}${diskio /dev/sdd}/s of 400Mib/s   T=${hddtemp /dev/sdd}°C
    #
    # System and Swap partition throughput graphs, ZFS zpool throughputs and the corresponding L2ARC cache throughputs
    # for the virtual machine also the throughpuit on the LOG for the writes are measured.
    #
        ${color}${voffset 0}System = ${diskio /dev/sdd6}/s ${alignr}Swap = ${diskio /dev/sdd5}/s
        ${color3}${diskiograph /dev/sdd6 20,125 009acd f0f8ff f0f8ff -l -t}${alignr}${diskiograph /dev/sdd5 20,125 009acd f0f8ff f0f8ff -l -t} 
        ${color}HP Data: ${exec sh ~/.myzfs/.zfs-data-val.sh}${alignr}${alignr}${diskio /dev/sdd4}/s      ${diskio /dev/sdd7}/s 
        ${color3}${execgraph "sh ~/.myzfs/.zfs-data-graph.sh" 20,125 009acd f0f8ff -l -t}${alignr}${color5}${diskiograph /dev/sdd4 20,80 b262ff f0f8ff f0f8ff -l -t} ${diskiograph /dev/sdd7 20,40 b262ff f0f8ff f0f8ff -l -t} 
        ${color}VMS: ${exec sh ~/.myzfs/.zfs-vms-val.sh}${alignr}${diskio /dev/sdd2}/s      ${diskio /dev/sdd3}/s 
        ${color3}${execgraph "sh ~/.myzfs/.zfs-vms-graph.sh" 20,125 009acd f0f8ff -l -t}${alignr}${color5}${diskiograph /dev/sdd2 20,80 b262ff f0f8ff f0f8ff -l -t} ${diskiograph /dev/sdd3 20,40 b262ff f0f8ff f0f8ff -l -t} 
        ${color}Archives = ${diskio /dev/sdc4}/s ${if_existing /dev/sde}${alignr}${color}sde/USB ${diskio /dev/sde}/s ${endif}
        ${color3}${diskiograph /dev/sdc4 20,125 009acd f0f8ff f0f8ff -l -t}${if_existing /dev/sde}${alignr}${color3}${diskiograph /dev/sde 20,125 009acd f0f8ff -l -t}${endif}
    #
    # Network throughputs and number of connections
    #
        ${color0}${font HeldustryFTVBasic Demi:size=12}NETWORK: ${font HeldustryFTVBasic Demi:size=11}${addr enp37s0} ${font HeldustryFTVBasic Demi:size=8}${hr 2}
        ${voffset 0}${color}DOWN: ${downspeed enp37s0}/s ${alignr}UP:${upspeed enp37s0}/s 
        ${color3}${downspeedgraph enp37s0 20,125 009acd f0f8ff -l -t}${alignr}${color3}${upspeedgraph enp37s0 20,125 009acd f0f8ff -l -t}
        ${color}${font HeldustryFTVBasic Demi:size=8}INBOUND: ${tcp_portmon 1 32767 count}${offset 28} OUTBOUND: ${tcp_portmon 32768 61000 count}${alignr}ALL: ${tcp_portmon 1 65535 count}
    ]]
    And a small script to start conky and to write the ZFS values periodically to a file:
    Code:
    #!/bin/bash
    sleep 4
    killall speech-dispatcher
    conky -d
    while true
    do
      zpool iostat -yp 2 150 > ~/.myzfs/iostat.txt    
    done
    The attached display is the same conky set-up on my previous desktop an AMD Phenom II X4 B97
    Attached Images Attached Images
    Last edited by lammert-nijhof; 2 Weeks Ago at 09:40 PM.

  6. #23456
    Join Date
    Jan 2008
    Beans
    3

    Re: Post your .conkyrc files w/ screenshots

    Here is my conky



    Code:
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_argb_visual yes
    own_window_argb_value 0
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    # fiddle with window
    use_spacer none
    
    # Update interval in seconds
    update_interval 3.0
    
    # my own specs
    
    draw_graph_borders no
    
    # Minimum size of text area
    # minimum_size 250 5
    
    # Draw shades?
    draw_shades no
    
    use_xft yes
    
    #Xft font when Xft is enabled
    #xftfont Liberation Mono:size=8
    #xftfont Arial:size=8
    #xftfont Andale Mono-9
    #xtfont Clean-7
    #xftfont cubicfive10:pixelsize=8
    #xftfont squaredance10:pixelsize=8
    #xftfont swf!t_v02:pixelsize=9
    #xftfont Monospace:size=8
    #xftfont Liberation Sans:size=8
    xftfont Ubuntu:size=8
    
    # Text stuff
    draw_outline no # amplifies text if yes
    draw_borders no
    draw_graph_borders yes
    uppercase no # set to yes if you want all text to be in uppercase
    
    # Stippled borders?
    stippled_borders 1
    
    # Default colors and also border colors, grey90 == #e5e5e5
    default_color white
    default_shade_color black
    #default_outline_color CCCCCC
    
    own_window_colour black
    own_window_transparent yes
    
    # Text alignment, other possible values are commented
    #alignment top_left
    alignment top_right
    #alignment bottom_left
    #alignment bottom_right
    
    # Gap between borders of screen and text
    gap_x 10
    gap_y 40
    
    # stuff after 'TEXT' will be formatted on screen
    
    TEXT
    ${hr 1}
    DATE ${stippled_hr 1}
    
    ${time %A %B %e %G}          JD:${time %j}     ${alignr}${time %Z   }${time %H:%M}
    
    WEATHER ${stippled_hr 1}
    
    ${execpi 300 /home/user/Documents/openweatherconkyweather.sh [Town]}
    
    SYSTEM ${stippled_hr 1}
    
    $nodename${alignr}$sysname $kernel on $machine
    System Updates: ${execi 3600 checkupdates | wc -l}${alignr}Uptime: $uptime
    ${stippled_hr 1}
    ${alignc}${exec cat /proc/cpuinfo | grep 'model name' | sed -e 's/model.*: //' | tail -n1}
    
    CPU 1      ${cpu cpu1}%      ${freq_g 1} GHz ${cpubar cpu1}
    CPU 2      ${cpu cpu2}%      ${freq_g 2} GHz ${cpubar cpu2} 
    CPU 3      ${cpu cpu3}%      ${freq_g 3} GHz ${cpubar cpu3}
    CPU 4      ${cpu cpu4}%      ${freq_g 4} GHz ${cpubar cpu4}
    CPU 5      ${cpu cpu5}%      ${freq_g 5} GHz ${cpubar cpu5}
    CPU 6      ${cpu cpu6}%      ${freq_g 6} GHz ${cpubar cpu6}
    CPU 7      ${cpu cpu7}%      ${freq_g 7} GHz ${cpubar cpu7}
    CPU 8      ${cpu cpu8}%      ${freq_g 8} GHz ${cpubar cpu8}
    
    ${freq 0}MHz $alignc            $loadavg $alignr${hwmon 1 temp 1}°C
    Average ${cpu cpu0}%  
    ${cpugraph cpu0}
    
    BATTERY / LAPTOP ${stippled_hr 1}
    
    Battery: ${battery} $alignr Remaining: ${battery_time}
    
    MEMORY ${stippled_hr 1}
    
    NAME${goto 100}CPU%${goto 170}NAME${alignr}MEM%
    ${top name 1} ${goto 94}${top cpu 1}% ${goto 170}${top_mem name 1} ${alignr}${top_mem mem 1}%
    ${top name 2} ${goto 94}${top cpu 2}% ${goto 170}${top_mem name 2} ${alignr}${top_mem mem 2}%
    ${top name 3} ${goto 94}${top cpu 3}% ${goto 170}${top_mem name 3} ${alignr}${top_mem mem 3}%
    ${top name 4} ${goto 94}${top cpu 4}% ${goto 170}${top_mem name 4} ${alignr}${top_mem mem 4}%
    ${stippled_hr 1}
    Processes: $processes ${alignr}Running: $running_processes
    ${stippled_hr 1}
    RAM: $alignr$mem/ $memmax
    $memperc% - ${membar 5}
    
    SDD ${stippled_hr 1}
    
    Hard Drive Temperature SSD: ${hddtemp /dev/dm-0}°C
    SSD: $alignr (${fs_type /})  ${fs_used /}/ ${fs_size /}
    ${fs_used_perc /}% - ${fs_bar 5 /}
    SDD Read: ${diskio_read /dev/dm-0}/s ${alignr}SDD Write: ${diskio_write /dev/dm-0}/s
    ${diskiograph_read /dev/dm-0 20,140} ${alignr}${diskiograph_write /dev/dm-0 20,140}
    
    NETWORK ${stippled_hr 1}
    
    Public IP: ${execi 300 curl ifconfig.me}
    ${if_up wlp1s0}Wireless Local IP: (${addr wlp1s0}) $alignr${wireless_essid wlp1s0}
    Signal Strength: ${wireless_link_bar 5,100 wlp1s0} $alignr${wireless_link_qual wlp1s0}/ ${wireless_link_qual_max wlp1s0} - ${wireless_link_qual_perc wlp1s0}%
    Down: ${downspeed wlp1s0} k/s ${alignr}Up: ${upspeed wlp1s0} k/s
    ${downspeedgraph wlp1s0 20,140} ${alignr}${upspeedgraph wlp1s0 20,140}
    Total Down: ${totaldown wlp1s0} ${alignr}Total UP: ${totalup wlp1s0}$endif
    
    ${if_up eth0}Wired Local IP (${addr eth0}) 
    Down: ${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
    ${downspeedgraph eth0 20,140} ${alignr}${upspeedgraph eth0 20,140}$color
    Total Down: ${totaldown eth0} ${alignr}Total UP: ${totalup eth0}$endif
    ${stippled_hr 1}
    Remote Address ${alignr} Local Service/Port
     ${tcp_portmon 1 65535 rhost 0} ${alignr} ${tcp_portmon 1 65535 lservice 0}
     ${tcp_portmon 1 65535 rhost 1} ${alignr} ${tcp_portmon 1 65535 lservice 1}
     ${tcp_portmon 1 65535 rhost 2} ${alignr} ${tcp_portmon 1 65535 lservice 2}
    Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
    ${stippled_hr 1}
    ${hr 1}
    Attached Images Attached Images

  7. #23457
    Join Date
    Jan 2007
    Location
    Toronto ON Canada
    Beans
    1,100
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Post your .conkyrc files w/ screenshots

    I've been out of the conky business a while now - did you know that conky takes time? Anyway - I have been trying to remember how it all goes, and to reactivate my old school setup. After lots of misfires and finding of bugs/features in new versions here it is - with the added attraction of a bottom area built from Paramvir's weather (conkywx). Please ask if you want pointers to the places from which this is built. Luckily I have some screenies prebuilt (to show a friend some of how Linux differs from being stuck paying for inferior products):



    Bottom screen:
    [IMG]https://imgur.com/Fd1Piph[/IMG]

    Side screen:
    [IMG]https://imgur.com/EC4gZ0o [/IMG]

    Whole screen:
    [IMG]https://imgur.com/9J4d0ei [/IMG]

    and the conkyrc

    Code:
    conky.config = {
    --#########################################################
    --# VinDSL | Paramvir | rev. 14-04-27 22:12 | ver. 2.0.0 ##
    --#########################################################
    --# Freebird mods |  19-05-18 22:48 |  ver 5.0.0         ##
    --#########################################################
    --# ¡PLEASE READ THE FINE PRINT! ##
    --#  most comments/instructions removed for posting ##
    
    --###
    --# Development Platforms (current)
    
    --  Ubuntu 10.10 'Maverick Meerkat' (GNOME 2.28 - Conky 1.8.0-1)
    --  Ubuntu 13.04 'Raring Ringtail'  (GNOME-SHELL - UNITY - LXDE - Conky 1.9.0-2)
    --  Screen Resolution: 1920x1200x24 (DELL UltraSharp 1907FP)
    
    --  Ubuntu 18.04 'Bionic Beaver' (Gnome 3.28 - Conky 1.10.8)
    --  Screen Resolution: 1920x1080x24 (UltraSonic)
    
    --# Prerequisites (required)
    
    --  conky-all 1.10.8
    --  Conkywx 6.0 build 181207  or later (Paramvir Likhari)
    --  UTF-8 Compatible Text Editor
    --###
    --# Installed fonts (required)
    
    --  Cut Outs for 3D FX (Fonts & Things)
    --  Droid Font Family (Google Android SDK)
    --  KR A Round (Kat's Fun Fonts)
    --  OpenLogos (Icoma)
    --  IllustrateIT (tech logos)
    --  PizzaDude Bullets (Jakob Fischer)
    --  Radio Space (Iconian Fonts)
    --  StyleBats (Vinterstille)
    --  Ubuntu Font Family (Canonical Ltd)
    --  Ubuntu Title Bold (Paulo Silva - not included in link below)
    --  Liquid Crystal
    
    --# Tips n' Tricks from: Mr. Peachy, djyoung4, and 42dorian (Thanks!)
    --# Most necessary fonts can be downloaded here: http://ompldr.org/vOHdoag
    --# Manyh others at dafont.com
    --# Unzip the fonts into your font folder, for example: /home/username/.fonts
    --# Run this command in a terminal (rebuilds font cache file): sudo fc-cache -fv
    
    --###
    --# Use XFT? Required to Force UTF8 (see below)
    
    	use_xft = true,
    	font = 'DroidSans:size=8.75',
    	xftalpha = 0.1,
    
    	override_utf8_locale = true,
    
        background = true,
    	update_interval = 1,
    
    	total_run_times = 0,
    
    	own_window = true,
    	own_window_transparent = true,
        own_window_hints = 'below,sticky,undecorated,skip_taskbar,skip_pager',
        own_window_type = 'desktop',
    
    	imlib_cache_size = 1,
    	double_buffer = true,
    
        draw_shades = true,
    	default_shade_color = '#330',
    
        draw_outline = false,
    	draw_borders = false,
    	draw_graph_borders = false,
    
    	out_to_ncurses = false,
    	out_to_console = false,
    
        alignment = 'top_right',
    	maximum_width = 300,
    	minimum_height = 950,
    
        gap_x = 6,-- Left/Right
    	gap_y = 32,-- Top/Bottom
    
    	text_buffer_size = 7400,
    	max_user_text = 26000,
    
        short_units = true,
    	pad_percents = 0,
    
        border_inner_margin = 4,
    	top_name_width = 15,
    
        no_buffers = true,
    
        uppercase = false,
    
    	cpu_avg_samples = 2,
    	net_avg_samples = 2,
    
    	use_spacer = 'right',
    
    --# My colors (suit yourself)
    
    	color0 = 'White',         --FFFFFF
    	color1 = 'Ivory',         --FFFFF0
    	color2 = 'Ivory2',        --EEEEE0
    	color3 = 'yellow',        --CDCDC1
    	color4 = 'Tan1',          --FFA54F
    	color5 = 'cyan',          --EE9A49
    	color6 = 'Gray',          --7E7E7E
        color7 = 'Green',         --00FF45
    	color8 = 'DimGray',       --696969
    	color9 = 'Tomato',        --FF6347
    --	color7 = 'AntiqueWhite4', --8B8378
    
    --# Load Lua for bargraphs (required)
    --# Set the path to your script here.
    
    	lua_load = '/usr/share/conkywx/lib/conkywx.lua',
    
    	-- Define the locations of Conkywx files (required)
    	-- Set the path to your .confs and templates here.
        -- Also images to display and filenames to create
        template0 = '/usr/share/conkywx/conkywx.sh',
    	template1 = '/home/freebird/.config/conkywx/examples190409/conkywx_02.conf',
    	template3 = '/home/freebird/Pictures/UbuntuClassic.png',
    	template4  = '/home/freebird/.config/conkywx/examples190409/vindsl-weather-dingbat-template',
    	template5 = '/home/freebird/.config/conkywx/images/sunset-200.png',
    	template6 = '/home/freebird/Work/clockbg.png',
    	template7 = '/tmp/wx-param-vindsl-org-conkywx.conf-pChA_r_27u0-m39/wxalert',
    	template8 = '/tmp/trackPlaying',
    	template9 = 'C',
    
    };
    
    conky.text = [[
    ${voffset 0}${lua main -n background -r 15 -c 0x333333:0.8 -s NA,NA}
    
    ##################################
    ##             LOGO             ##
    ##################################
    ${voffset -48}${font OpenLogos:size=90}${color2}v${font}${voffset -75}${goto 189}${offset -15}${font Ubuntu-Title:bold:size=30}${color4}1${offset 1}8${offset 1}.${offset 1}0${offset 1}4${font}
    ##################################
    ##            SYSTEM            ##
    ##################################
    ${voffset -3}${font DroidSans:bold:size=8.25}${color4}SYSTEM${offset 8}${color2}${voffset -2}${hr 1}${font}
    ${voffset 2}${offset -2}${font OpenLogos:size=12}${color2}Z${voffset -4}${font DroidSans:size=8.6}${color2}${offset 3}${sysname}${offset 3}${kernel}${alignr}${font DroidSans:size=8.3}${machine}${font}
    ${voffset 2}${goto 5}${font IllustrateIT:size=10}${color2}q${voffset -2}${font DroidSans:size=8.6}${color2}${offset 4}ATI  Radeon HD${alignr}${font DroidSans:size=8.3}7660D${font}
    ${voffset 2}${goto 5}${font IllustrateIT:size=10}${color2}q${voffset -2}${font DroidSans:size=8.6}${color2}${offset 4}AMD  A10-5800K${offset 3}${offset 3}${offset 3}${alignr 1}${font DroidSans:size=8.3}3.8+${offset 1}GHz${font}
    # system uptime
    ${voffset 2}${font StyleBats:size=10}${color2}q${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}System${offset 3}Uptime${alignr}${font DroidSans:size=8.3}${uptime_short}${font}
    ########################@#########
    ##      PROCESSORS+TEMPS        ##
    ##################################
    # sensors not working right now - hard coded for placeholders
    ${voffset 4}${font DroidSans:bold:size=8}${color4}PROCESSORS+TEMPS${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU1${offset 5}${font DroidSans:size=8.3}${cpu cpu1}%$alignr${execi 600 sensors | grep 'Core 0' | sed 's/.*+\(.*\)  \(.*\)/\1/'}${alignr}32 C${font}
    ${voffset 2}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU2${offset 5}${font DroidSans:size=8.3}${cpu cpu2}%$alignr${execi 600 sensors | grep 'Core 1' | sed 's/.*+\(.*\)  \(.*\)/\1/'}${alignr}30 C${font}
    ${voffset 2}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU3${offset 5}${font DroidSans:size=8.3}${cpu cpu3}%$alignr${execi 600 sensors | grep 'Core 2' | sed 's/.*+\(.*\)  \(.*\)/\1/'}${alignr}29 C${font}
    ${voffset 2}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU4${offset 5}${font DroidSans:size=8.3}${cpu cpu4}%$alignr${execi 600 sensors | grep 'Core 3' | sed 's/.*+\(.*\)  \(.*\)/\1/'}${alignr}31 C${font}
    ${lua main -n bargraph -p 90,169 -w 190 -s 3 -f cpu -a cpu1}#
    ${lua main -n bargraph -p 90,184 -w 190 -s 3 -f cpu -a cpu2}#
    ${lua main -n bargraph -p 90,198 -w 190 -s 3 -f cpu -a cpu3}#
    ${lua main -n bargraph -p 90,213 -w 190 -s 3 -f cpu -a cpu4}
    ##################################
    ##            MEMORY            ##
    ##################################
    ${voffset -10}${font DroidSans:bold:size=8}${color4}MEMORY${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 6}${font StyleBats:size=10}${color2}l${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 3}RAM${goto 97}${font DroidSans:size=8.3}${mem}${goto 133}/${offset 5}${memmax}${alignr}${memperc}%${font}#
    ${lua main -n bargraph -p 25,261 -w 230 -s 1 -f memperc -a NA -l 1 -x 70}
    ##################################
    ##             HDD              ##
    ##################################
    ${voffset 12}${font DroidSans:bold:size=8}${color4}HDD${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 5}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}ROOT${goto 125}${font DroidSans:size=8.3}${fs_used /}${goto 163}/${offset 5}${fs_size /}${alignr}${fs_free_perc /}% / ${fs_used_perc /}%${font}
    ${voffset 14}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}HOME${goto 125}${font DroidSans:size=8.3}${if_existing /home}${fs_used /home}${goto 163}/${offset 5}${fs_size /home}${alignr}${fs_free_perc /home}% / ${fs_used_perc /home}%${font}${endif}
    ${voffset 14}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}DATA${goto 125}${font DroidSans:size=8.3}${if_existing /mnt/data}${fs_used /mnt/data}${goto 163}/${offset 5}${fs_size /mnt/data}${alignr}${fs_free_perc /mnt/data}% / ${fs_used_perc /mnt/data}%${font}${endif}
    ${voffset 14}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}DATA2${goto 125}${font DroidSans:size=8.3}${if_existing /mnt/data2}${fs_used /mnt/data2}${goto 163}/${offset 5}${fs_size /mnt/data2}${alignr}${fs_free_perc /mnt/data2}% / ${fs_used_perc /mnt/data2}%${font}${endif}
    ${voffset 14}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}EXT 1${goto 125}${font DroidSans:size=8.3}${if_existing /media/freebird/Expansion}${fs_used /media/freebird/Expansion}${goto 163}/${offset 5}${fs_size /media/freebird/Expansion}${alignr}${fs_free_perc /media/freebird/Expansion}% / ${fs_used_perc /media/freebird/Expansion}%${font}${endif}
    ${lua main -n bargraph -p 25,305 -w 230 -s 3 -f fs_used_perc -a / }#
    ${lua main -n bargraph -p 25,333 -w 230 -s 3 -f fs_used_perc -a /home }
    ${lua main -n bargraph -p 25,359 -w 230 -s 3 -f fs_used_perc -a /mnt/data }
    ${lua main -n bargraph -p 25,387 -w 230 -s 3 -f fs_used_perc -a /mnt/data2 }
    ${lua main -n bargraph -p 25,413 -w 230 -s 3 -f fs_used_perc -a /media/freebird/Expansion }
    ##################################
    ##         TEMPERATURES         ##
    ##################################
    # ${voffset 1}${font DroidSans:bold:size=8}${color4}CPU/GPU TEMPERATURES${offset 8}${color6}${voffset -2}${hr 1}${font}
    # ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 1 Temp: $alignr${execi 600 sensors -f | grep 'Core 0' | awk '{print $3}' | cut -c2-9}
    # ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 2 Temp: $alignr${execi 600 sensors -f | grep 'Core 1' | awk '{print $3}' | cut -c2-9}
    # ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 3 Temp: $alignr${execi 600 sensors -f | grep 'Core 2' | awk '{print $3}' | cut -c2-9}
    # ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 4 Temp: $alignr${execi 600 sensors -f | grep 'Core 3' | awk '{print $3}' | cut -c2-9}
    # ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}GPU Temperature: $alignr${execi 10 nvidia-settings -q GPUCoreTemp | awk '{if (NR==2) {print ($4*9)/5+32}}'}°F
    #################################
    ##           TIME               ##
    ##################################
    ${voffset -58}${font DroidSans:bold:size=8}${color4}TIME${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${image ${template6} -p 20,425 }#
    ${voffset 21}${font liquid crystal:size=50}${color8}${goto 42}${time %H}${goto 155}${color8}${time %M}${font liquid crystal:size=15:}${color8}${goto 262}${time %S}
    ${voffset -67}${font OpenLogos:size=25}${goto 260}${color2}t${font}#
    ##################################
    ##         TOP PROCESSES        ##
    ##################################
    ${voffset 53}${font DroidSans:bold:size=8}${color4}TOP PROCESSES${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 6}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 1}${goto 160}${font DroidSans:size=8.3}${top_mem mem_res 1}${alignr}${top_mem mem 1}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 2}${goto 160}${font DroidSans:size=8.3}${top_mem mem_res 2}${alignr}${top_mem mem 2}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 3}${goto 160}${font DroidSans:size=8.3}${top_mem mem_res 3}${alignr}${top_mem mem 3}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 4}${goto 160}${font DroidSans:size=8.3}${top_mem mem_res 4}${alignr}${top_mem mem 4}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 5}${goto 130}${font DroidSans:size=8.3}${top_mem mem_res 5}${alignr}${top_mem mem 5}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 6}${goto 130}${font DroidSans:size=8.3}${top_mem mem_res 6}${alignr}${top_mem mem 6}%${font}
    ##################################
    ##          NETWORK             ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8}${color4}NETWORK${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}T${font DroidSans:size=8.65}${color0}${offset 5}Download${goto 160}${font DroidSans:size=8.3}${totaldown enp4s0}${alignr}${font DroidSans:size=8.3}${downspeed enp4s0}${font}
    ${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}N${font DroidSans:size=8.65}${color0}${offset 5}Upload${goto 160}${font DroidSans:size=8.3}${totalup enp4s0}${alignr}${font DroidSans:size=8.3}${upspeed enp4s0}${font}
    ${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Private${offset 3}IP${goto 160}${font DroidSansFallback:size=8.5}LAN${alignr}${font DroidSans:size=8.3}192.168.2.10${font}
    # ${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Public${offset 7}IP${goto 130}${font DroidSansFallback:size=8.5}WAN${alignr}${font DroidSans:size=8.3}${execi 1800 wget -q -o /dev/null -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}${font}
    ${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Public${offset 7}IP${goto 160}${font DroidSansFallback:size=8.5}WAN${alignr}${font DroidSans:size=8.3}Hidden${font}
    ##################################
    ##   CALENDAR (Experimental)    ##
    ##################################
    ${voffset 0}${font DroidSans:bold:size=8}${color4}DATE${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 25}${font DroidSansMono:size=9}${color2}${alignc 85}${time %A}${font}
    ${voffset 0}${font DroidSansFallback:bold:size=18}${if_match ${time %e}<=9}${color3}${alignc 85}${time %e}${font}${else}${if_match ${time %e}>=10}${color3}${alignc 85}${time %e}${endif}${endif}${font}
    ${voffset 0}${font DroidSansMono:size=9}${color2}${alignc 85}${time %B}${font}
    ${voffset 0}${font DroidSansMono:size=9}${color2}${alignc 85}${time %Y}${font}
    ${voffset -90}${font CutOutsFor3DFX:size=80}${color7}${alignc 132}2${font}
    ## Uncomment for "SUNDAY = First Day-of-the-Week" (use mono fonts only)
    ## adjust yearly to catch 6 line month displays
    ${if_match "${time %b %G}"=="Mar 2019"}${voffset -86}${else}${if_match "${time %b %G}"=="Jun 2019"}${voffset -86}${else}${if_match "${time %b %G}"=="Nov 2014"}${voffset -86}${else}${voffset -80}${endif}${endif}${endif}${font DroidSansMono:size=9}${color1}${execpi 60 VinDSL_Cal_9=`date +%-d`; ncal -bhS | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 120"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color7}&${color1}/'}${font}
    ## Uncomment for "MONDAY = First Day-of-the-Week" (use mono fonts only)
    #${if_match "${time %b %G}"=="Mar 2019"}${voffset -76}${else}${if_match "${time %b %G}"=="Jun 2019"}${voffset -76}${else}${if_match "${time %b %G}"=="Jun 2013"}${voffset -76}${else}${voffset -70}${endif}${endif}${endif}${font DroidSansMono:size=7.55}${color3}${execpi 60 VinDSL_Cal_9=`date +%-d`; ncal -M -C -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color4}&${color3}/'
    #${voffset 7}${font DroidSans:bold:size=8}${color4}DONE${offset 8}${color6}${voffset -2}${hr 1}${font}
    # ##################################
    # ##     Audacious                ##
    # ##################################
    # setup to work with bash script conky_aud3.sh which switches in album art and sizes it
    # and build the file for the scroller to display
    ${if_match "${lua if_running audacious}" == "1"}${voffset 5}${font DroidSans:bold:size=8}${color4}Audacious Running${offset 8}${color6}${voffset -2}${hr 1}#
    ${voffset 65}${font DroidSansMono:size=10}${execi 1 ~/conky_aud3.sh}#
    ${lua main -n scroller -f 12 -l 50 -s 1 -p 2,865 -o ${template8}}#
    ${image /tmp/cover.png -p 160,875}#
    ${voffset 20}${goto 18}${color3}${audacious_bar 7,265}#
    # This block is to take some display load off the bash script, WHEN the  if_match starts working!
    # ${if_match "audacious_status" != "Stopped"}
    # ${voffset -40}${font DroidSansMono:size=10}${goto 28}Song:${goto 80}${audacious_playlist_position}${goto 105}of${goto 130}${audacious_playlist_length}
    # ${voffset 35}${goto 32}Length:${goto 100}${audacious_length}
    # ${voffset 0}${goto 15}Position:${goto 100}${color3}${audacious_position}
    # ${voffset 20}${goto 18}${color3}${audacious_bar 7,265}#${endif}#
    ${else}#
    ${voffset 8}${font :bold:size=8}${color4}No Media Playing ${color1}${hr 1}${font}#
    ${image ${template5} -p 55,875 }#
    ${endif}#
    #### This font statement below is required for conky to reset the font before it draws the shades to align the text shadows correctly in *draw_shades yes*
    ${font}
    ]];
    and the bash script I patched together to make the album art etc work:
    Code:
    #!/bin/bash
    
    # This script assumes the following:
    # the directory for each song contains folder.jpg containing album art
    # and your home dir has a directory Work with a substitute image for
    # when folder.jpg is not found.
    # It also assumes that imagemagick is installed
    # (source of the convert command to resize and change to cover.png for display)
    ################################################################################
    # variable declarations and settings
    check=`audtool --current-song`
    playback_status=`audtool --playback-status`
    aud="Audacious is now"
    status=`audtool --playback-status`
    title=`audtool --current-song-tuple-data title`
    artist=`audtool --current-song-tuple-data artist`
    album=`audtool --current-song-tuple-data album`
    year=`audtool --current-song-tuple-data year`
    track_no=`audtool --current-song-tuple-data track-number`
    track_length=`audtool --current-song-length`
    file_path=`audtool --current-song-tuple-data file-path`
    track_play=' '
    old_title=' '    # to check for song change
    old_path=' '     # to check if new art
    
    # functions for later for clarity and easier scripting
    ShowInfo ()
        {
        # If the scroller is not used, uncomment the title/artist/album lines that suit your use
        # Switch the comment block to shorter output
        # works in both locations (paused and playing)
        # if your output area is narrow or your font big
        # echo  "   Title: " ${title}
        # echo  "  Artist: " ${artist}
        # echo  "   Album: " ${album}
        echo  "    Year: " ${year}
        echo  "   Track: " ${track_no}
        echo " "
        echo  "  Length: " ${track_length}
        echo  "Position:  "`audtool current-song-output-length`  # Updates with frequency you set with execi
        # echo  ${title}
        # echo  ${artist}
        # echo  ${album}
        # echo  ${year}
        # echo  ${track_no}
        # echo  ${track_length}
        # echo  `audtool current-song-output-length`
        }
    
    GetArt ()
        {
        # file_path=`audtool --current-song-tuple-data file-path`  # get directory path
        file_path=`audtool --current-song-tuple-data file-path`
        file_path=$(eval echo "${file_path}")                   # pre-expand to full path
        cd "${file_path}"
        if [[ ! -e "folder.jpg" ]];                             # if no art work found
            then
            cp ~/Work/headphone.png /tmp/cover.png              # put in placeholder
        else
            convert "${file_path}""/folder.jpg" -resize 120x120 /tmp/cover.png # ready for showing
        fi
        }
    
        # conditional statements start
    
    if [ "${check}" == "No song playing." ];                    # Check if audacious is running
    then
        rm /tmp/trackPlaying 2> /dev/null                       # clean up
        exit 1                                                  # done this pass
    fi
    
    case ${playback_status} in
        "paused")
            ShowInfo                                            # Display song info
            echo " "                                            # blank line to be below picture
            echo ${aud} ${status}                               # report status
            ;;
        "stopped")
            echo ${aud} ${status}                               # report status
            if [[ -e '/tmp/trackPlaying' ]];                    # if scroller file exists
                then
                echo >/tmp/trackPlaying " "                     # clear file to avoid error and stop scroll
                cp ~/Work/blank.png /tmp/cover.png              # blank out cover art
            fi
            ;;
        "playing")
            if  [ "${title}" != "${old_title}" ];              # song change, kill /tmp/trackPlaying
                then
                rm /tmp/trackPlaying 2> /dev/null              # ensure new one can get created
                GetArt                                         # retrieve & display album art
            fi
            ShowInfo                                           # Display song info
            if  [ "${title}" != "${old_title}" ];              # song change, rewrite /tmp/trackPlaying for scroll
                then
                # uncomment your preferred choice for scrolling
                # echo > /tmp/trackPlaying ${track_play}${title}"  -  "${artist}"  -  "${album}"  -  "${year}
                echo > /tmp/trackPlaying ${track_play}">   Title: "${title}"   *  Artist: "${artist}"   *   Album: "${album}"     <"
            fi
        old_title=title                                         # to keep /tmp/trackPlaying alive
            ;;
        *)
            ;;
    esac
    I'd forgotten how much fun it is to MAKE these things work - along with most of the actual knowledge of how to do it! Thanks to 42Dorian (and Mr Peachy) for building blocks along the way, too.

    freebird
    Last edited by freebird54; 1 Day Ago at 02:19 PM. Reason: typo! at my age!
    |Intel E6550 2.33 | Intel mb/gfx/snd | 4 Gb RAM | Seagate 500Gb | 64 Gb SSD|24" LCD |16.04/18.04 | AMD A10 5800K 3.8GHz / ATI gfx| Asus A88X-Pro mb/snd | 8 Gb RAM | Corsair Force 128 Gb SSD | Seagate 3+2TB | USB 2TB | Sony 40" | Ubuntu 16.04/18.04 |

  8. #23458
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Post your .conkyrc files w/ screenshots

    Nice Work. >>Looks Good!
    I really like the Audacious skin.
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags

  9. #23459
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Yes, I also think that is a great audacious skin; can I ask where you found it, or did you create it yourself?

    I use audacious as my default music player as it is small, relatively simple, and does exactly what I need it to, ie, plays music, but it does look very plain in its default skin.
    DISTRO: Xubuntu 18.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo --- Wireless-Info --- SolvedThreads

  10. #23460
    Join Date
    Jan 2007
    Location
    Toronto ON Canada
    Beans
    1,100
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Post your .conkyrc files w/ screenshots

    Umm, not sure how to answer this! Looking at skins for Audacious is on my someday-to-do list -- and it hasn't happened yet!
    The appearance you note is directly from the theme I picked up on Gnome-Look. It isn't perfect (leaves shadow borders around apps that prevent clicking on the one behind until away from its edge) but it looks so good that it keeps hanging around (doesn't remind you any other relationships in life, does it?). If you decide it is worth checking further, it and several 'family' members can be located on gnome look with a search for "eye-friendly". There are several variants, Dark, Light, Grey etc... I am pretty sure this is called Eye-Friendly-Bright.

    Have fun - it is tougher than it used to be to find a decent (non-flat) theme

    freebird
    |Intel E6550 2.33 | Intel mb/gfx/snd | 4 Gb RAM | Seagate 500Gb | 64 Gb SSD|24" LCD |16.04/18.04 | AMD A10 5800K 3.8GHz / ATI gfx| Asus A88X-Pro mb/snd | 8 Gb RAM | Corsair Force 128 Gb SSD | Seagate 3+2TB | USB 2TB | Sony 40" | Ubuntu 16.04/18.04 |

Page 2346 of 2347 FirstFirst ... 134618462246229623362344234523462347 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
  •