Page 1175 of 2327 FirstFirst ... 1756751075112511651173117411751176117711851225127516752175 ... LastLast
Results 11,741 to 11,750 of 23265

Thread: Post your .conkyrc files w/ screenshots

  1. #11741
    Join Date
    Dec 2009
    Location
    MT
    Beans
    43
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    I figure I could probably get the effect I'm looking for by using if_match, but unfortunately the documentation is a little incomplete, so I don't quite know how to use it.

    here's what I want to do:
    use if_match to compare the current ${time %H:%M} with the sunrise and sunset times given by execi 1800 conkyForecast --datatype=SR and --datatype=SS. If current time is less than one and greater than or equal to the other, show one image, and show another image if the conditions are reversed.

    I just don't know how to call the execi parts inside the if_match.

    Edit:
    I think I got it figured now.

    #if Sunrise <= Time and Time < Sunset, show Sun, else, show Moon
    ${if_match ${execi conkyForecast --datatype=SR} <= ${time %H:%M} } ${if_match ${time %H:%M} < ${execi conkyForecast --datatype=SS} } SUN${endif}${else}MOON${endif}

    Edit2:
    Not quite. I replaced the SUN and MOON in the above code with miegiel's wget image code, but I can't get the images to show up at all. It works with the words, but not with the ${image ...} tags.

    Edit3:
    Ok, it works. I just copied the code from my conkytest file into the regular .conkyrc file, and it works, I think... I'll have to wait until morning to find out if it switches images like it's supposed to.
    Last edited by abumaia; January 24th, 2010 at 05:58 AM.

  2. #11742
    Join Date
    Sep 2007
    Location
    New York, USA
    Beans
    48

    Re: Post your .conkyrc files w/ screenshots

    Linux Mint 8! There's some stuff in there custom to my machine (OS name, NVIDIA version, and some Perl scripts to convert C to F), but enjoy!

    Code:
    # Position
    alignment top_right
    maximum_width 250
    gap_x 13
    gap_y 33
    
    # Background/Window
    background no
    own_window yes
    own_window_class Conky
    own_window_type override
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    
    # Colors/Fonts
    default_color white
    use_xft yes
    xftfont OpenLogos DejaVu Sans Mono:size=8
    draw_shades no
    
    # Misc
    update_interval 3
    total_run_times 0
    double_buffer yes
    text_buffer_size 2048
    net_avg_samples 2
    
    TEXT
    ${color 8DB555}SYSTEM ${voffset -2}${hr 3}${color white}
    ${voffset 4}${font OpenLogos:size=16}u${font}   ${voffset -6}Release:  ${alignr}Linux Mint 8 "Helena"
    ${voffset 4}${font OpenLogos:size=16}t${font}   ${voffset -6} Kernel:  ${alignr}${kernel}
    ${voffset 4}${font Poky:size=12}p${font}   ${voffset -4}Hostname:  ${alignr}${exec hostname}
    ${voffset 5}${font StyleBats:size=16}q${font}   ${voffset -3}Uptime: ${alignr}${uptime}
    ${voffset 4}${font Poky:size=12}a${font}    ${voffset -3}Processes:  ${alignr}${running_processes} (${processes} total)
    
    PROCESS NAME ${alignr}CPU        MEM
    ${voffset -7}${hr 1}
    ${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}%
    
    ${color 8DB555}CPU ${voffset -2}${hr 3}${color white}
    ${voffset 4}Temperature: ${alignr}${exec perl /home/justin/conky/cpu-temp.pl}
    ${voffset 4}Total CPU Usage: ${alignr}$cpu%
    $cpubar
    ${voffset 2}CPU1: ${cpu cpu1}% ${alignr}CPU2: ${cpu cpu2}%
    ${cpugraph cpu1 25,110 42AE4A 00FF00} ${alignr}${cpugraph cpu2 25,110 42AE4A 00FF00}
    
    ${color 8DB555}GPU ${voffset -2}${hr 3}${color white}
    ${voffset 4}Temperature: ${alignr}${exec perl /home/justin/conky/nvidia-temp.pl}
    ${voffset 4}NVIDIA Driver Version: ${alignr}${exec cat /proc/driver/nvidia/version | awk '/NVIDIA/ {print $8}'}
    
    ${color 8DB555}HDD/MEMORY ${voffset -2}${hr 3}${color white}
    ${voffset 4}Temperature: ${alignr}${exec perl /home/justin/conky/hdd-temp.pl}
    ${voffset 4}${font Pie charts for maps:size=14}7${font} ${voffset -5} / ${alignr}${fs_used /} / ${fs_size /} (${fs_free_perc /}% free)
    ${voffset 4}${fs_bar /}
    ${voffset 4}${font Pie charts for maps:size=14}7${font} ${voffset -5} /home ${alignr}${fs_used /home} / ${fs_size /home} (${fs_free_perc /home}% free)
    ${voffset 4}${fs_bar /home}
    ${voffset 4}${font StyleBats:size=16}g${font}   ${voffset -3}RAM ${alignr} $mem / $memmax ($memperc% used)
    ${voffset 4}${membar}
    ${voffset 4}${font StyleBats:size=16}j${font}   ${voffset -3}SWAP ${alignr} $swap / $swapmax ($swapperc% used)
    ${voffset 4}${swapbar}
    
    ${if_existing /proc/net/route eth0}${color 8DB555}WIRED NETWORK ${voffset -2}${hr 3}${color white}
    ${voffset 4}Local IP: ${alignr}${addr eth0}
    ${voffset 4}Up: ${upspeedf eth0}Kbps ${alignr}Down: ${downspeedf eth0}Kbps
    ${upspeedgraph eth0 25,110 42AE4A 00FF00}${alignr}${downspeedgraph eth0 25,110 42AE4A 00FF00}
    Total: ${totalup eth0}${alignr}Total: ${totaldown eth0}
    ${endif}${if_existing /proc/net/route wlan0}${color 8DB555}WIRELESS NETWORK ${voffset -2}${hr 3}${color white}
    ${voffset 4}Local IP: ${alignr}${addr wlan0}
    ${voffset 4}Signal:  ${alignr}${wireless_link_qual_perc wlan0}%   ${wireless_link_bar 8,100 wlan0}
    ${voffset 4}Up: ${upspeedf wlan0}Kbps ${alignr}Down: ${downspeedf wlan0}Kbps
    ${upspeedgraph wlan0 25,110 42AE4A 00FF00}${alignr}${downspeedgraph wlan0 25,110 42AE4A 00FF00}
    Total: ${totalup wlan0}${alignr}Total: ${totaldown wlan0}
    ${endif}
    Attached Images Attached Images
    Laptop: Lenovo Thinkpad SL500 Elite, 3GB RAM, 250GB HDD, Intel Core 2 Duo T6570, NVIDIA GeForce G 105M 256MB

  3. #11743
    Join Date
    Jul 2007
    Location
    Toronto, Ontario, Canada
    Beans
    265

    Re: Post your .conkyrc files w/ screenshots

    Hey guys. I recently updated to a newer version of conky (1.8.0_rc1), and everything works fine except the following line used to show the progress of a song for amarok:

    Code:
    ${execibar 1 ~/.conky/amarok progress}
    Rather than showing a bar as it's supposed to, it instead just shows a number (the number handed to it by the amarok function to turn into a bar).

    Anyone know how to fix this?

  4. #11744
    Join Date
    Jul 2007
    Location
    The U. S. of A.
    Beans
    163
    Distro
    Kubuntu Development Release

    Thumbs down Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by abumaia View Post
    Thanks for the moon script.

    Anyone else know how I can make it change to display the current SOHO sun image at the forecast sunrise time, and change back to the moon phase image at the forecast sunset time?
    Um... Just because the Sun has set doesn't imply that the moon has risen.

    but there is a modified version of the conkymoon.sh that does the SOHO image as well... well, 1 of them.
    Code:
    #!/bin/bash
    ############################################################
    # This work is licensed under the Creative Commons         #
    # Attribution-Share Alike 3.0 Unported License.            #
    # To view a copy of this license, visit                    #
    # http://creativecommons.org/licenses/by-sa/3.0/           #
    # or send a letter to Creative Commons, 171 Second Street, #
    # Suite 300, San Francisco, California, 94105, USA.        #
    ############################################################
    # conkytemplate.sh
    # by Crinos512
    # Usage:
    # ${execpi 3600 ~/.conky/conkyparts/conkymoon.sh}
    #
    MoonPic=http://static.die.net/moon/320.jpg
    MoonImage="320.jpg"
    MoonImageDir="$HOME/Images/moon"
    MoonImageX="280"
    MoonImageY="110"
    
    SunPic=http://sohowww.nascom.nasa.gov/data/realtime/mdi_igr/512/latest.jpg
    SunImage="latest.jpg"
    SunImageDir="$HOME/Images/sun"
    SunImageX="30"
    SunImageY="110"
    
    ImageSize="75x75"
    
    ### FIX FOR KDE4 TRANSPARENCY
    #feh --bg-scale "`grep 'wallpaper=' ~/.kde/share/config/plasma-desktop-appletsrc | head -n1 | tail --bytes=+11`"
    
    mkdir $MoonImageDir
    cd $MoonImageDir
    rm -f $MoonImage ${MoonImage/./-1.} difference.png threshold_mask.png
    wget $MoonPic -O $MoonImageDir/$MoonImage
    convert $MoonImage \( +clone -fx 'p{0,0}' \) -compose Difference -composite -modulate 100,0 +matte difference.png
    convert difference.png -threshold 1% threshold_mask.png
    convert $MoonImage threshold_mask.png +matte -compose CopyOpacity -composite ${MoonImage/./-1.}
    convert ${MoonImage/./-1.} -sigmoidal-contrast 2,0% $MoonImage
    
    mkdir $SunImageDir
    cd $SunImageDir
    rm -f $SunImage ${SunImage/./-1.} difference.png threshold_mask.png
    wget $SunPic -O $SunImageDir/$SunImage
    convert $SunImage \( +clone -fx 'p{0,0}' \) -compose Difference -composite -modulate 100,0 +matte difference.png
    convert difference.png -threshold 1% threshold_mask.png
    convert $SunImage threshold_mask.png +matte -compose CopyOpacity -composite ${SunImage/./-1.}
    convert ${SunImage/./-1.} -sigmoidal-contrast 2,0% $SunImage
    
    
    ### DO NOT EDIT BELOW THIS LINE
    echo "\${image $MoonImageDir/$MoonImage -p $MoonImageX,$MoonImageY -s $ImageSize}"
    echo "\${image $SunImageDir/$SunImage -p $SunImageX,$SunImageY -s $ImageSize}"
    exit 0
    From here I just need to figure how to tell whether or not it's dark outside.
    Last edited by Crinos512; January 24th, 2010 at 07:58 AM.
    || Kubuntu x86_64 (15.10 Dev.) || KDE 4.9.00 ||
    || Dell Inspiron 570 || 8GB PC3-10600 DDR3 RAM || AMD Phenom II X4 820 @ 2.8Ghz ||
    || Logitech M570 Trackball || Logitech G15 Gaming Keyboard ||
    Conky: ... no such configuration: 'normal'

  5. #11745
    Join Date
    Dec 2009
    Location
    MT
    Beans
    43
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    Thanks Crinos, but I got it figured out already, a few posts up.

  6. #11746
    Join Date
    Oct 2009
    Location
    Los Angeles, CA
    Beans
    380
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    Could someone please direct me to some good (i.e., simple to understand for noobs like me) documentation on how to get conky to output angled text? Any help would be much appreciated.
    Main: Intel Core i7 920 D0 @ 4.0GHz | Asus P6X58D Premium | 6 x 2GB Mushkin Redline 1600 7-8-7-24 | EVGA GeForce GTX 560 Ti | 6 x 1TB WD Caviar Black | Mint 15 Cinnamon / OS X 10.7.3
    Portable: Dell Mini 9 | OS X 10.6.7

  7. #11747
    Join Date
    Jul 2007
    Location
    The U. S. of A.
    Beans
    163
    Distro
    Kubuntu Development Release

    Thumbs down Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by abumaia View Post
    Thanks Crinos, but I got it figured out already, a few posts up.
    I see that... gave me what I needed to lay it all out. this method has the added benefit of being transparent with alphachannel. (which is the reason for the all of the converts)

    Code:
    #if Sunrise <= Time and Time < Sunset, show Sun, else, show Moon
    ${if_match ${execi conkyForecast --datatype=SR} <= ${time %H:%M} } ${if_match ${time %H:%M} < ${execi conkyForecast --datatype=SS} }${execpi 3600 ~/.conky/conkyparts/conkymoon.sh SUN}${endif}${else}${execpi 3600 ~/.conky/conkyparts/conkymoon.sh MOON}${endif}
    conkymoon.sh
    Code:
    #!/bin/bash
    ############################################################
    # This work is licensed under the Creative Commons         #
    # Attribution-Share Alike 3.0 Unported License.            #
    # To view a copy of this license, visit                    #
    # http://creativecommons.org/licenses/by-sa/3.0/           #
    # or send a letter to Creative Commons, 171 Second Street, #
    # Suite 300, San Francisco, California, 94105, USA.        #
    ############################################################
    # conkytemplate.sh
    # by Crinos512
    # Usage:
    #${if_match ${execi conkyForecast --datatype=SR} <= ${time %H:%M} } ${if_match ${time %H:%M} < ${execi conkyForecast --datatype=SS} }${execpi 3600 ~/.conky/conkyparts/conkymoon.sh SUN}${endif}${else}${execpi 3600 ~/.conky/conkyparts/conkymoon.sh MOON}${endif}
    #
    MoonPic=http://static.die.net/moon/320.jpg
    MoonImage="320.jpg"
    MoonImageDir="$HOME/Images/moon"
    MoonImageX="280"
    MoonImageY="110"
    
    SunPic=http://sohowww.nascom.nasa.gov/data/realtime/mdi_igr/512/latest.jpg
    SunImage="latest.jpg"
    SunImageDir="$HOME/Images/sun"
    SunImageX="30"
    SunImageY="110"
    
    ImageSize="75x75"
    
    ### FIX FOR KDE4 TRANSPARENCY
    #feh --bg-scale "`grep 'wallpaper=' ~/.kde/share/config/plasma-desktop-appletsrc | head -n1 | tail --bytes=+11`"
    
    mkdir $MoonImageDir
    cd $MoonImageDir
    rm -f $MoonImage ${MoonImage/./-1.} difference.png threshold_mask.png
    wget $MoonPic -O $MoonImageDir/$MoonImage
    convert $MoonImage \( +clone -fx 'p{0,0}' \) -compose Difference -composite -modulate 100,0 +matte difference.png
    convert difference.png -threshold 1% threshold_mask.png
    convert $MoonImage threshold_mask.png +matte -compose CopyOpacity -composite ${MoonImage/./-1.}
    convert ${MoonImage/./-1.} -sigmoidal-contrast 2,0% $MoonImage
    
    mkdir $SunImageDir
    cd $SunImageDir
    rm -f $SunImage ${SunImage/./-1.} difference.png threshold_mask.png
    wget $SunPic -O $SunImageDir/$SunImage
    convert $SunImage \( +clone -fx 'p{0,0}' \) -compose Difference -composite -modulate 100,0 +matte difference.png
    convert difference.png -threshold 1% threshold_mask.png
    convert $SunImage threshold_mask.png +matte -compose CopyOpacity -composite ${SunImage/./-1.}
    convert ${SunImage/./-1.} -sigmoidal-contrast 2,0% $SunImage
    
    
    ### DO NOT EDIT BELOW THIS LINE
    
    if [[ $1 == "SUN" ]]
       then echo "\${image $SunImageDir/$SunImage -p $SunImageX,$SunImageY -s $ImageSize}"
    elif [[ $1 == "MOON" ]]
       then echo "\${image $MoonImageDir/$MoonImage -p $MoonImageX,$MoonImageY -s $ImageSize}"
    fi
    exit 0

    ### More tinkering later.... bed time. ###
    || Kubuntu x86_64 (15.10 Dev.) || KDE 4.9.00 ||
    || Dell Inspiron 570 || 8GB PC3-10600 DDR3 RAM || AMD Phenom II X4 820 @ 2.8Ghz ||
    || Logitech M570 Trackball || Logitech G15 Gaming Keyboard ||
    Conky: ... no such configuration: 'normal'

  8. #11748
    Join Date
    Dec 2009
    Location
    MT
    Beans
    43
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Ginsu543 View Post
    Could someone please direct me to some good (i.e., simple to understand for noobs like me) documentation on how to get conky to output angled text? Any help would be much appreciated.
    http://ubuntuforums.org/showthread.p...ed#post8686178

  9. #11749
    Join Date
    Dec 2009
    Location
    MT
    Beans
    43
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Crinos512 View Post
    I see that... gave me what I needed to lay it all out. this method has the added benefit of being transparent with alphachannel. (which is the reason for the all of the converts)
    ah, sweet then. I could use transparency ^_^ getting a little tired of the black box.

  10. #11750
    Join Date
    Jun 2007
    Location
    Bilbao
    Beans
    2

    Re: Post your .conkyrc files w/ screenshots

    Somebody knows how to make a link in conky?

    Can I link an rss an open a browser to see the web page of the news?

Page 1175 of 2327 FirstFirst ... 1756751075112511651173117411751176117711851225127516752175 ... 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
  •