Page 49 of 83 FirstFirst ... 39474849505159 ... LastLast
Results 481 to 490 of 828

Thread: Howto: Get a beautiful Conky 1.4.2 setup

  1. #481
    Join Date
    May 2006
    Beans
    64

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Quote Originally Posted by wnelson View Post
    ${color #0077ff}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${color lightgrey}${freq_dyn}Mhz
    execi is the line causing updates to be slow modify that line.

    Walt
    The script is only executing every 1000 seconds. Should It be closer to the interval of 1 second?

  2. #482
    Join Date
    Mar 2006
    Beans
    1,123

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Quote Originally Posted by prkfriryce View Post
    The script is only executing every 1000 seconds. Should It be closer to the interval of 1 second?
    I think it is ms
    "I'd rather be hated for what I am, than loved for what I'm not."

  3. #483
    Join Date
    Mar 2006
    Location
    Lisbon, Portugal
    Beans
    1,909

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    It's in seconds
    My blog | Arch User | Linux user #439142 | Ubuntu user #10974
    "God is real unless you declare it as integer"

  4. #484
    Join Date
    May 2006
    Beans
    64

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Quote Originally Posted by OffHand View Post
    I think it is ms

    thanks guys, updated to '1000000' ( 1000s ) and it's updating fine now


  5. #485
    Join Date
    May 2006
    Beans
    64

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Quote Originally Posted by prkfriryce View Post
    thanks guys, updated to '1000000' ( 1000s ) and it's updating fine now

    well, after about 20 hours, it is back to updating every 10 seconds or so again. the only two processes that are using any CPU are

    Code:
     5180 root      15   0  321m  42m  10m S    0  4.2  10:30.44 Xorg                                   
        1 root      15   0  2912 1848  524 S    0  0.2   0:01.71 init
    anyone else experiencing this?

  6. #486
    Join Date
    Jan 2005
    Beans
    65
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Hi! I've just finished switching from gkrellm to conky and am really impressed!

    I'm having two issues, maybe someone can help me:

    1) I want to add the calendar output (/usr/bin/cal) aligned to the right margin of conky, but I'm just getting the first line aligned in this way (month/year), the rest is on the left margin. Any idea how to fix this ?

    2) How can I divide by two the speed displayed by my CPU Fan sensor in order to have it correcly displayed ?
    Thanks for any info!
    JC

  7. #487
    Join Date
    Aug 2006
    Location
    Connecticut
    Beans
    37
    Distro
    Gutsy Gibbon Testing

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Hi, just wondering if anyone here has tried getting core temps from a quad core cpu yet.. I have conky all setup and working great except for the temps that i'm after. My problem is that I can't figure out what to put in conky for it to display the cpu core temps.. I can get other temps to show (mb chips)but those are "i2c temp1, 2 , 3". The ones I'm after are listed from sensors as coretemp-isa0000 , 0001 , 0002 and 0003.

    here's sensors full output:


    it8718-isa-0290
    Adapter: ISA adapter
    in0: +1.12 V (min = +0.00 V, max = +4.08 V)
    in1: +2.02 V (min = +0.00 V, max = +4.08 V)
    in2: +3.38 V (min = +0.00 V, max = +4.08 V)
    in3: +2.85 V (min = +0.00 V, max = +4.08 V)
    in4: +0.30 V (min = +0.00 V, max = +4.08 V)
    in5: +0.00 V (min = +0.00 V, max = +4.08 V) ALARM
    in6: +0.83 V (min = +0.00 V, max = +4.08 V)
    in7: +3.09 V (min = +0.00 V, max = +4.08 V)
    in8: +3.07 V
    fan1: 1102 RPM (min = 0 RPM)
    fan2: 0 RPM (min = 0 RPM)
    fan3: 0 RPM (min = 0 RPM)
    temp1: +52°C (low = +127°C, high = +127°C) sensor = thermistor
    temp2: +40°C (low = +127°C, high = +127°C) sensor = diode
    temp3: -2°C (low = +127°C, high = +127°C) sensor = thermistor
    vid: +0.000 V

    coretemp-isa-0000
    Adapter: ISA adapter
    temp1: +62°C (high = +100°C)

    coretemp-isa-0001
    Adapter: ISA adapter
    temp1: +63°C (high = +100°C)

    coretemp-isa-0002
    Adapter: ISA adapter
    temp1: +58°C (high = +100°C)

    coretemp-isa-0003
    Adapter: ISA adapter
    temp1: +57°C (high = +100°C)

  8. #488
    Join Date
    Jun 2006
    Beans
    7,419
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    nice tutorial. I just used the conky deb straight from the Feisty repos though, and it works fine. I installed wmctrl, added 'dbe' module to xorg.conf, and added the bottom part of your conyrc.conf stuff (after 'TEXT') to my own conky file (plus a few other tweaks of my own). Here is what works for me:
    # Conky sample configuration
    #
    # the list of variables has been removed from this file in favour
    # of keeping the documentation more maintainable.
    # Check http://conky.sf.net for an up-to-date-list.

    # set to yes if you want Conky to be forked in the background
    background no

    # 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 no

    # Xft font when Xft is enabled
    xftfont Bitstream Vera Sans Mono:size=8

    # Text alpha when using Xft
    xftalpha 0.8

    # Print everything to stdout?
    # out_to_console no

    # MPD host/port
    # mpd_host localhost
    # mpd_port 6600
    # mpd_password tinker_bell

    # Print everything to console?
    # out_to_console no

    # mail spool
    mail_spool $MAIL

    # 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

    # If own_window is yes, you may use type normal, desktop or override
    own_window_type override

    # Use pseudo transparency with own_window?
    own_window_transparent yes

    # If own_window_transparent is set to no, you can set the background colour here
    own_window_colour hotpink

    # If own_window is yes, these window manager hints may be used
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes

    # Minimum size of text area
    #minimum_size 280 5

    # Draw shades?
    draw_shades no

    # Draw outlines?
    draw_outline no

    # Draw borders around text
    draw_borders no

    # Draw borders around graphs
    draw_graph_borders yes

    # Stippled borders?
    stippled_borders 3

    # border margins
    border_margin 9

    # border width
    border_width 10

    # Default colors and also border colors
    default_color white

    own_window_colour grey
    own_window_transparent yes

    # Text alignment, other possible values are commented
    #alignment top_left
    alignment top_right
    #alignment bottom_left
    #alignment bottom_right
    #alignment none

    # Gap between borders of screen and text
    # same thing as passing -x at command line
    gap_x 10
    gap_y 10

    # Subtract file system buffers from used memory?
    no_buffers yes

    # set to yes if you want all text to be in uppercase
    uppercase no

    # number of cpu samples to average
    # set to 1 to disable averaging
    cpu_avg_samples 2

    # number of net samples to average
    # set to 1 to disable averaging
    net_avg_samples 2

    # Force UTF8? note that UTF8 support required XFT
    override_utf8_locale no

    # Add spaces to keep things from moving about? This only affects certain objects.
    use_spacer no

    # Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
    #max_port_monitor_connections 256

    # Maximum number of special things, e.g. fonts, offsets, aligns, etc.
    #max_specials 512

    # Maximum size of buffer for user text, i.e. below TEXT line.
    #max_user_text 16384

    # variable is given either in format $variable or in ${variable}. Latter
    # allows characters right after the variable and must be used in network
    # stuff because of an argument

    # stuff after 'TEXT' will be formatted on screen

    TEXT
    $color
    ${color orange}SYSTEM ${hr 2}$color
    $nodename $sysname $kernel on $machine

    ${color orange}CPU ${hr 2}$color
    ${freq}MHz Load: ${loadavg} Temp: ${acpitemp}
    $cpubar
    ${cpugraph 000000 ffffff}
    NAME PID CPU% MEM%
    ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
    ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
    ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
    ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}

    ${color orange}MEMORY / DISK ${hr 2}$color
    RAM: $memperc% ${membar 6}$color
    Swap: $swapperc% ${swapbar 6}$color

    Root: ${fs_free_perc /}% ${fs_bar 6 /}$color
    Home: ${fs_free_perc /home}% ${fs_bar 6 /home}$color
    hda1: ${fs_free_perc /media/hda1}% ${fs_bar 6 /media/hda1}$color
    hda5: ${fs_free_perc /media/hda5}% ${fs_bar 6 /media/hda5}$color
    hda8: ${fs_free_perc /media/hda8}% ${fs_bar 6 /media/hda8}$color

    ${color orange}NETWORK (${addr eth0}) ${hr 2}$color
    Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
    ${downspeedgraph eth0 25,140 000000 ff0000} ${alignr}${upspeedgraph eth0
    25,140 000000 00ff00}$color
    Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
    Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768
    61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}

    ${color orange}LOGGING ${hr 2}$color
    ${execi 30 tail -n3 /var/log/messages | fold -w50}

    ${color orange}FORTUNE ${hr 2}$color
    ${execi 120 fortune -s | fold -w50}

  9. #489
    Join Date
    Jun 2007
    Beans
    166
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Anybody been able to get battery_bar to work? As I understand it uses height, width & number BAT0 being default...

    I have status and time remaining working but the bar wont go for anything

  10. #490
    Join Date
    Feb 2007
    Beans
    443

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Here is my conky setup, maybe someone will find it useful.



    Conky (very minimal) is in upper right corner. Other apps on the screenshot are pypanel (top left) and tint (bottom left). The WM is Openbox.

    # conky configuration

    # set to yes if you want Conky to be forked in the background
    background no

    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 7x12
    #font 6x10
    #font 7x13
    #font 8x13
    #font 7x12
    #font *mintsmild.se*
    #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
    #font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
    #font -artwiz-snap-normal-r-normal-*-10-100-75-75-*-*-*-*
    #font -*-terminus-medium-*-*-*-12-*-*-*-*-*-*-*
    #font *nu*

    # Use Xft?
    use_xft yes

    # Xft font when Xft is enabled
    #xftfont Sans:size=8
    xftfont nu


    # Text alpha when using Xft
    xftalpha 0.8

    # Print everything to console?

    # out_to_console no

    # Update interval in seconds
    update_interval 2.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_transparent yes
    own_window_type desktop
    #own_window_type override
    own_window_hints below,undecorated,skip_taskbar

    #own_window_type desktop

    #own_window_hints below

    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes

    # Minimum size of text area

    #minimum_size 190
    minimum_size 400
    #maximum_width 500

    # Draw shades?
    draw_shades no

    # Draw outlines?
    draw_outline no

    # Draw borders around text
    draw_borders no

    # Stippled borders?
    stippled_borders 0

    # border margins
    border_margin 5

    # border width

    border_width 1

    # Default colors and also border colors

    #default_color A29F84
    default_color ffffff

    default_shade_color black

    default_outline_color black


    # 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

    # same thing as passing -x at command line
    gap_x 7
    gap_y 5

    # Subtract file system buffers from used memory?
    no_buffers yes

    # set to yes if you want all text to be in uppercase
    uppercase no

    # number of cpu samples to average

    # set to 1 to disable averaging
    cpu_avg_samples 2

    # set to 1 to disable averaging
    net_avg_samples 2

    # Force UTF8? note that UTF8 support required XFT

    override_utf8_locale yes

    # Add spaces to keep things from moving about? This only affects certain objects.
    use_spacer no
    TEXT
    $alignr${color #6FA637}CPU: ${color }$cpu% / ${color }${freq_g} GHz ${color #6FA637}Bat: ${color }${execi 45 /home/filip/Scripts/readbattery.sh} ${color #6FA637}RAM: ${color }$mem/$memmax
    I also need a little script to read the battery charge:

    #!/bin/sh
    acpi -b | awk '{print $3, $4}' | sed -e s/,//2
    This is a very useful thread, btw!
    Last edited by fwojciec; August 7th, 2007 at 10:55 PM.

Page 49 of 83 FirstFirst ... 39474849505159 ... LastLast

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
  •