Page 570 of 2284 FirstFirst ... 7047052056056856957057157258062067010701570 ... LastLast
Results 5,691 to 5,700 of 22835

Thread: Post your .conkyrc files w/ screenshots

  1. #5691
    Bruce M. is offline Chocolate Ubuntu Mocha Blend
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Grukmuck View Post
    okay, so im still trying to get my temps to work. i have lm-sensors and hddtemp. im trying to get my hddtemp to display but this is what i get
    Your line:
    Code:
    ${color red} hda: ${hddtemp /dev/sda3 FUJITSU MHV2080AT PL:}
    I have this:
    Code:
    ${voffset 5}${color2}sda: ${color7}<= ${color8}Temp: ${color9}=> ${execpi 8 hddtemp /dev/sda | cut --characters 31-32 | xargs ~/Conky/scripts/ColorTempHDD.sh}°$color
    Play with the cut "--characters 31-32" 23-24 looks like a good place to start for yours.


    I guess you'll need: ColorTempHDD.sh too and define three colors in your conky file:
    Code:
    #!/bin/bash
    # colorize.sh
    # by: Crinos512
    
    COOL=45
    WARM=56
    
    if [[ $1 < $COOL ]]
       then echo "\${color7}"$1    # COOL
    elif [[ $1 > $WARM ]]
       then echo "\${color9}"$1    # HOT
    else echo "\${color8}"$1       # WARM
    fi
    
    exit 0
    Mine are:
    Code:
    color7 lightblue
    color8 yellow
    color9 red
    Try that and see what happens.
    Bruce
    Last edited by Bruce M.; February 13th, 2009 at 02:20 PM.

  2. #5692
    Join Date
    Jul 2008
    Location
    Lost River Lake
    Beans
    233
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Bruce M. View Post
    TEXT
    ${font yell:bold:size=100}REHAB!$font Never! I don't need no ${goto 0}rehab. I can ${stop}anytime$stop.
    Hey Bruce, you forgot to add the screenshot!
    I'm afraid this time it sucks... Or have I done something wrong?
    Attached Images Attached Images
    I never use smilies, but there are exceptions that prove the rule [Hey, how do I disable showing colon & parenthesis as an emoticon in my signature?]
    Now playing: Last.fm

  3. #5693
    Join Date
    Feb 2009
    Location
    Poland
    Beans
    7
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Post your .conkyrc files w/ screenshots



    Those are actually three conky instances. I attach config for two of them, the third just takes one of my tomboy notes and displays it.
    Attached Files Attached Files

  4. #5694
    Bruce M. is offline Chocolate Ubuntu Mocha Blend
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Piraja View Post
    Hey Bruce, you forgot to add the screenshot!
    I'm afraid this time it sucks... Or have I done something wrong?
    Ilove it!

  5. #5695
    Join Date
    Dec 2008
    Location
    United States
    Beans
    64
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by eightmillion View Post
    I was thinking about that analog clock idea and I thought, "what's better than an analog clock?" A binary clock of course. So I wrote one in python. Check it out...



    I've attached the code. You can run it from any conkyrc, you just have to make sure that the text buffer size is set to something like 6076 or else conky will crash with buffer overruns. And you need to install the Pizza Dude Bullets font that's included in the tarball.
    thats just awesome. i just started learning binary in my classes. i think i will use this to help me remember how to count


    Quote Originally Posted by Bruce M. View Post
    Your line:
    Code:
    ${color red} hda: ${hddtemp /dev/sda3 FUJITSU MHV2080AT PL:}
    I have this:
    Code:
    ${voffset 5}${color2}sda: ${color7}<= ${color8}Temp: ${color9}=> ${execpi 8 hddtemp /dev/sda | cut --characters 31-32 | xargs ~/Conky/scripts/ColorTempHDD.sh}°$color
    Play with the cut "--characters 31-32" 23-24 looks like a good place to start for yours.


    I guess you'll need: ColorTempHDD.sh too and define three colors in your conky file:
    Code:
    #!/bin/bash
    # colorize.sh
    # by: Crinos512
    
    COOL=45
    WARM=56
    
    if [[ $1 < $COOL ]]
       then echo "\${color7}"$1    # COOL
    elif [[ $1 > $WARM ]]
       then echo "\${color9}"$1    # HOT
    else echo "\${color8}"$1       # WARM
    fi
    
    exit 0
    Mine are:
    Code:
    color7 lightblue
    color8 yellow
    color9 red
    Try that and see what happens.
    Bruce
    i tried ur code but this is what i got:

    Code:
    gruk@laptop:~$ conky
    Conky: use_spacer should have an argument of left, right, or none.  'yes' seems to be some form of 'true', so defaulting to right.
    Conky: desktop window (1c000ae) is subwindow of root window (6a)
    Conky: window type - normal
    Conky: drawing to created window (0x1e00001)
    Conky: drawing to double buffer
    : open: No such file or directory
    
    FUJITSU: open: No such file or directory
    
    MHV2080AT: open: No such file or directory
    
    : open: No such file or directory
    
    xargs: /home/gruk/Conky/scripts/ColorTempHDD.sh: Permission denied
    : open: No such file or directory
    this is the .conkyrc:
    Code:
    # conky configuration
    
    # set to yes if you want Conky to be forked in the background
    background yes
    
    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 5x7
    #font 6x10
    #font 7x13
    #font 8x13
    #font 9x15
    #font *mintsmild.se*
    #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
    
    
    # Use Xft?
    use_xft yes
    
    # Xft font when Xft is enabled
    #xftfont steve:size=9
    #xftfont Bitstream Vera Sans Mono:size=8
    xftfont metal lord:size=9
    #xftfont comic sans:size=9
    
    # Text alpha when using Xft
    xftalpha 0.8
    
    # Update interval in seconds
    update_interval 3.0
    
    # This is the number of times Conky will update before quitting.
    # Set to zero to run forever.
    total_run_times 0
    
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_hints undecorated,below,skip_taskbar,sticky
    #own_window_hints undecorated,below,sticky
    background no
    own_window_colour brown
    own_window_transparent yes
    #own_window_type desktop#! /bin/sh
    #str=`echo '\033[01;32m29'`
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    # Minimum size of text area
    minimum_size 50 5
    
    # Draw shades?
    draw_shades no
    
    # Draw outlines?
    draw_outline no
    
    # Draw borders around text
    draw_borders no
    
    # Stippled borders?
    stippled_borders 8
    
    # border margins
    border_margin 9
    
    # border width
    border_width 10
    
    # Default colors and also border colors
    default_color red
    default_shade_color red
    default_outline_color red
    
    # Text alignment, other possible values are commented
    #alignment top_left
    alignment middle_right
    #alignment bottom_left
    #alignment bottom_right
    
    # Gap between borders of screen and text
    # same thing as passing -x at command line
    gap_x 25
    gap_y 35
    
    # Add spaces to keep things from moving about?  This only affects certain objects.
    use_spacer yes
    
    # stuff after 'TEXT' will be formatted on screen
    
    TEXT
    ${color red}$nodename  ${hr}
    ${color red}time${color red}${alignr}${time %H:%M}
    ${color red}${time %Z,    }$alignr${color red}${time %H:%M:%S}
    ${color red}UpTime: $alignr${color red}$uptime
    ${color red}Kernel:$alignr${color red}$kernel
    ${color red}temp ${hr}
    ${voffset 5}${color2}sda3: ${color7}<= ${color8}Temp: ${color9}=> ${execpi 8 hddtemp /dev/sda3: FUJITSU MHV2080AT PL: | cut --characters 23-24 | xargs ~/Conky/scripts/ColorTempHDD.sh}°$color
    ${cpugraph 20,220 red}
    
    ${color red}Load: $alignr${color red}$loadavg 
    ${color red}Processes: $alignr${color red}$processes
    ${color red}Running:   $alignr${color red}$running_processes
    ${color red}Highest CPU:
    ${color yellow} ${top name 1}$alignr${top_mem cpu 1}
    ${color lightgrey} ${top name 2}$alignr${top cpu 2}
    ${color lightgrey} ${top name 3}$alignr${top cpu 3}
    ${color lightgrey} ${top name 4}$alignr${top cpu 4}
    
    ${color red}Highest MEM:
    ${color orange} ${top_mem name 1}$alignr${top_mem mem 1}
    ${color lightgrey} ${top_mem name 2}$alignr${top_mem mem 2}
    ${color lightgrey} ${top_mem name 3}$alignr${top_mem mem 3}
    ${color lightgrey} ${top_mem name 4}$alignr${top_mem mem 4}
    
    ${color red}MEM:  $alignr${color red} $memperc% $mem/$memmax
    ${membar 3,220}
    ${color red}SWAP: $alignr${color red}$swapperc% $swap/$swapmax
    ${swapbar 3,220
    
    ${color red}ROOT:    $alignr${color red}${fs_free /}/${fs_size /}
    ${fs_bar 3,220 /}
    also where, exactly, am i spose to put the ColorTempHDD.sh?

    thanks again!

    -gruk


    p.s i only mentions a rehab for conky because im sure there are people out there who have stopped using it for some reason or another (and i pity them), and thought that those people would need some help to move on and resume their live without utterly falling apart.
    Nothing travels faster than the speed of light with the possible exception of bad news, which obeys its own special laws.

  6. #5696
    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

    Remove the red part
    Code:
    ${color red} hda: ${execpi 8 hddtemp /dev/sda3 FUJITSU MHV2080AT PL: | cut --characters 23-24 | xargs ~/Conky/scripts/ColorTempHDD.sh}°$color
    the ColorTempHDD.sh goes into ~/Conky/scripts/ (also known as /home/<username>/Conky/scripts/)

    and see how that works for you.
    Last edited by Crinos512; February 13th, 2009 at 08:16 PM.
    || Kubuntu x86_64 (12.10 Dev.) || KDE 4.9.00 ||
    || Dell Inspiron 570 || 8GB PC3-10600 DDR3 RAM || AMD Phenom II X4 820 @ 2.8Ghz ||
    || Razer Lachesis Gaming Mouse || Logitech G15 Gaming Keyboard ||
    Conky: ... no such configuration: 'normal'

  7. #5697
    Join Date
    Feb 2007
    Location
    Detroit, Michigan
    Beans
    692

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by detroit/zero View Post
    I copied that script and I've been trying to work it into my conky, but whenever I use it I get two problems: First, it only shows my Root directory (no ~, no other mounted partitions, and no network shares); and Second, my whole conky winks out of existence after 3 or 5 seconds.

    [blah blah blah...]
    Answered my own question - had to increase text buffer size to 2048. Now it doesn't cut out on me any more.

    On to the other question - is there a way to get this script to show network shares?
    I switched to Windows because of all the disappointment Linux brought me.

  8. #5698
    Bruce M. is offline Chocolate Ubuntu Mocha Blend
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Crinos512 View Post
    Remove the red part
    Code:
    ${color red} hda: ${execpi 8 hddtemp /dev/sda3 FUJITSU MHV2080AT PL: | cut --characters 23-24 | xargs ~/Conky/scripts/ColorTempHDD.sh}°$color
    the ColorTempHDD.sh goes into ~/Conky/scripts/ (also known as /home/<username>/Conky/scripts/)

    and see how that works for you.
    Hi Crinos512, thanks for coming in. I was out for a while.

    Quote Originally Posted by Grukmuck View Post
    i tried ur code but this is what i got:

    also where, exactly, am i spose to put the ColorTempHDD.sh?

    thanks again!

    -gruk
    Just like Crinos512 said, and make sure it is executable, I forgot to mention that. By the way, I got that script from Crinos512, so he knows of what he speaks.

    Quote Originally Posted by Grukmuck View Post
    p.s i only mentions a rehab for conky because im sure there are people out there who have stopped using it for some reason or another (and i pity them), and thought that those people would need some help to move on and resume their live without utterly falling apart.
    That's OK, I'll probably need it soon, I've been heavily involved in conky for just over a year now. But I'm NOT ready to go now!

    DENY DENY DENY!

    Have a nice day.
    Bruce
    Last edited by Bruce M.; February 13th, 2009 at 11:01 PM.

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

    Re: Post your .conkyrc files w/ screenshots

    yeah shows how addicted I am ... I lurk ... while I work.
    || Kubuntu x86_64 (12.10 Dev.) || KDE 4.9.00 ||
    || Dell Inspiron 570 || 8GB PC3-10600 DDR3 RAM || AMD Phenom II X4 820 @ 2.8Ghz ||
    || Razer Lachesis Gaming Mouse || Logitech G15 Gaming Keyboard ||
    Conky: ... no such configuration: 'normal'

  10. #5700
    Join Date
    Dec 2008
    Location
    United States
    Beans
    64
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Crinos512 View Post
    Remove the red part
    Code:
    ${color red} hda: ${execpi 8 hddtemp /dev/sda3 FUJITSU MHV2080AT PL: | cut --characters 23-24 | xargs ~/Conky/scripts/ColorTempHDD.sh}°$color
    the ColorTempHDD.sh goes into ~/Conky/scripts/ (also known as /home/<username>/Conky/scripts/)

    and see how that works for you.
    alright, got it, and the only error is that now it tells me:
    Code:
    /dev/sda3: open: Permission denied
    Nothing travels faster than the speed of light with the possible exception of bad news, which obeys its own special laws.

Page 570 of 2284 FirstFirst ... 7047052056056856957057157258062067010701570 ... 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
  •