Page 1113 of 2299 FirstFirst ... 1136131013106311031111111211131114111511231163121316132113 ... LastLast
Results 11,121 to 11,130 of 22981

Thread: Post your .conkyrc files w/ screenshots

  1. #11121
    Join Date
    Feb 2008
    Location
    North Carolina
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    It's been awhile since I was on here last. I've had the same Conky set-up for quite some time, and I think it's time for a change. I honestly don't know what I'm looking for though. As seen in the screenshot, I have 2 Screenlets for RSS news feeds. I'd like to have a Conky for multiple news feeds, but don't know where to start. I really like the weather data, but would like something with a little bit more flair. I hope someone here has some suggestions on what I should do. Any assistance is greatly appreciated.

    Code:
    # UBUNTU-CONKY.
    
    # Update interval in seconds
    update_interval 1.0
    
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_type override #try also 'normal' or 'desktop' 
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    text_buffer_size 6100 # large buffer needed
    
    max_specials 512
    max_user_text 4000
    
    # Minimum size of text area
    #minimum_size 250 5
    #maximum_width 250
    
    draw_shades no
    draw_outline no # amplifies text if yes
    draw_borders no
    draw_graph_borders no
    
    use_xft yes
    xftalpha 0.9
    xftfont Candera:size=8
    uppercase no
    override_utf8_locale yes
    use_spacer no
    
    stippled_borders 3
    border_margin 9
    border_width 10
    
    # Gap between borders of screen and text
    gap_x 10
    gap_y 10
    
    # Default colors and also border colors, grey90 == #e5e5e5
    default_color grey
    color1 orange
    
    #	colours below used by colorize script
    color7 lightblue
    color8 yellow
    color9 red
    
    # Text alignment, other possible values are commented
    #alignment top_left
    alignment top_right
    #alignment bottom_left
    #alignment bottom_right
    
    # stuff after 'TEXT' will be formatted on screen
    
    TEXT
    ${offset 75}${color lightsteelblue}${font OpenLogos:size=100}v${font}
    
    ${offset 45}${voffset -60}${color1}${font LCDMono:size=40}${time %I:%M:%P}${font}
    ${color slate grey}SYSTEM:
    ${offset 5}${color }Distro${alignr}${color}${pre_exec cat /etc/issue.net}
    ${offset 5}${color }Gnome${alignr}${color}${pre_exec gnome-about --gnome-version | head -n 1 | awk '{print $2}'}
    ${offset 5}${color }Kernel${alignr}${color}$sysname $kernel
    ${offset 5}${color }UpTime${alignr}${color}${uptime}
    
    ${color slate grey}PROCESSOR: 
    ${color }${execi 1000 cat /proc/cpuinfo | grep "model name" | cut -c14-36}
    ${color lightgrey}${tab 20}Freqency: ${alignr}${color }${freq_g cpu0}Ghz
    ${color lightgrey}${tab 20}Temperature: ${alignr}${color #ddaa00}${acpitemp}C   ${color }(${acpitempf}F)
    ${color lightgrey}${tab 20}Load: ${color #ddaa00}${cpu}%${alignr }${color }${cpubar 6,175}	
    ${color lightgrey}${tab 20}CPU History ${color }${tab 47}${cpugraph cpu0 10,175 000000 ffffff}
    ${color lightgrey}${tab 20}Processes Running: ${color }${running_processes}
    ${color lightgrey}${tab 20}Processes Sleeping: ${color }${processes}
    	
    ${color lightgrey}${tab 20}Top CPU Processes: $alignr CPU%
    ${color #ddaa00}${tab 40}${top name 1}$alignr${top cpu 1}
    ${color }${tab 40}${top name 2}$alignr${top cpu 2}
    ${color }${tab 40}${top name 3}$alignr${top cpu 3}
    
    ${color slate grey}MEMORY:
    ${color }${tab 20}Real:  ${memmax} total / ${mem} in use
    ${color lightgrey}${tab 20}Used: ${color #ddaa00}${memperc}%${alignr}${color }${membar 6,175}
    ${color }${tab 20}Swap: ${swapmax} total / ${swap} in use
    ${color lightgrey}${tab 20}Used:  ${color #ddaa00}${swapperc}%${alignr}${color }${swapbar 6,175}
    
    ${color lightgrey}${tab 20}Top Memory Processes: $alignr MEM%
    ${color #ddaa00}${tab 40}${top_mem name 1}$alignr${top_mem mem 1}
    ${color }${tab 40}${top_mem name 2}$alignr${top_mem mem 2}
    ${color }${tab 40}${top_mem name 3}$alignr${top_mem mem 3}
    
    ${color slate grey}VIDEO: ${color }
    ${tab 20}${execi 30 nvclock -i | grep 'Card:' | cut -c9-27}
    ${tab 20}GPU Temp: ${alignr}${execpi 8 nvidia-settings -q GPUCoreTemp -t | xargs /home/peter1/Conky/scripts/colorizegpu.sh}°C
    ${tab 20}${color lightgrey}NVidia Driver Version:$alignr ${color} ${exec nvidia-settings -q NvidiaDriverVersion | grep Attribute | cut -d ' ' -f 6}
    ${tab 20}${color lightgrey}Current GPU Clock:$alignr ${color} ${exec nvidia-settings -q GPUPerfModes | grep perf=0 | cut -d ' ' -f 7 | cut -c 9-11} MHz
    
    ${color slate grey}DISK: 
    ${color }/dev/hda3 Linux (ext3)
    ${color lightgrey}${tab 20}Total: ${color }${fs_size} 
    ${color lightgrey}${tab 20}Used: ${color }${fs_used}
    ${color lightgrey}${tab 20}Available: ${color }${fs_free}
    ${color lightgrey}${tab 20}Free: ${color #ddaa00}${fs_free_perc}%${tab 45}${color }${alignr}${fs_bar 6,175}
    ${color lightgrey}${tab 20}I/O History: ${tab 47}${diskiograph 10,175 000000 ffffff}
    
    ${execpi 1800 conkyForecast --location=USNC0204 --template=/home/peter1/Conky/scripts/conkyForecast.template}
    Attached Images Attached Images

  2. #11122
    Join Date
    May 2008
    Beans
    13

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by searchOne View Post
    Hi inigo48,

    why so complicated?
    Please go to this line, which does the same as your script:
    Code:
    ${execpi 60 DJS=`date +%_d`; cal | sed '/./!d' | sed 's/$/                     /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color orange}'"$DJS"'${color}'" "/}
    Add it to the body of your script in the .conkyrc
    Thank you searchOne! It is perfect =D>

    It isn't too important, but is it possible to change the calendar without much work to start the weak with Monday? (I know the ${exec cal -m} does this with the simple calendar) edit: OK, I realised I just have the add the -m to your line. so it is solved and my new calendar is even better than the old one
    Last edited by inigo48; December 20th, 2009 at 04:09 PM.

  3. #11123
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by koleoptero View Post
    So that's why my conky window was taking up half my screen to display 5 lines. Damn voffsets
    You could add ${voffset -??} on the last line to bring it back up again.

  4. #11124
    Join Date
    Nov 2008
    Location
    Wirral, UK
    Beans
    277
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    OK, it seems I have a problem. I was looking at another thread and someone was asking for alternatives to conky,
    I got the gkrellm package from the repository and ran the program.
    it shows that I have 2 CPU's

    when I ask conky to display anything regarding CPU0 and CPU1 I get the same info for both

    Code:
    TEXT
    ${font Purisa:size=8}${color #016BFF}${goto 0}CPU ${cpu 0}%
    ${voffset -9}${goto 0}${cpugraph 0 20,156 016BFF 00ff00}
    ${voffset -11}${goto 0}CPU ${cpu 1}%
    ${voffset -9}${goto 0}${cpugraph 1 20,156 016BFF 00ff00}
    Can someone please offer me some guidance.

    Thanks in Advance
    Phil
    Attached Images Attached Images
    I'll never drink water again....Fish poo in it!
    XP for iTunes Only : Ubuntu10.04 : Crunchbang : DSL
    I'm Pushing Narcoleptic Numbat for ubuntu11.04
    Proper Funny Stuff

  5. #11125
    Join Date
    Nov 2008
    Location
    Wirral, UK
    Beans
    277
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    It's OK I fixed it.

    Code:
    TEXT
    ${font Purisa:size=8}${color #016BFF}${goto 0}CPU ${cpu cpu0}%
    ${voffset -9}${goto 0}${cpugraph cpu0 20,156 016BFF 00ff00}
    ${voffset -11}${goto 0}CPU ${cpu cpu1}%
    ${voffset -9}${goto 0}${cpugraph cpu1 20,156 016BFF 00ff00}
    Code:
    man conky
    is your friend!!!

    Thanks anyway.
    Phil
    I'll never drink water again....Fish poo in it!
    XP for iTunes Only : Ubuntu10.04 : Crunchbang : DSL
    I'm Pushing Narcoleptic Numbat for ubuntu11.04
    Proper Funny Stuff

  6. #11126
    Join Date
    Jan 2009
    Location
    Montréal , France
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    hi 5BallJuggler,
    just one thing: if you have 2 cpus, cpu1 is for cpu n°1, cpu2 is for cpu n°2, and cpu0 is for the both together

  7. #11127
    Join Date
    Nov 2008
    Location
    Wirral, UK
    Beans
    277
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by arpinux View Post
    hi 5BallJuggler,
    just one thing: if you have 2 cpus, cpu1 is for cpu n°1, cpu2 is for cpu n°2, and cpu0 is for the both together
    Thanks arpinux, I'll get there in the end!
    I'll never drink water again....Fish poo in it!
    XP for iTunes Only : Ubuntu10.04 : Crunchbang : DSL
    I'm Pushing Narcoleptic Numbat for ubuntu11.04
    Proper Funny Stuff

  8. #11128
    Join Date
    Apr 2008
    Beans
    246

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by 5BallJuggler View Post
    Code:
    TEXT
    ${font Purisa:size=8}${color #016BFF}${goto 0}CPU ${cpu 0}%
    ${voffset -9}${goto 0}${cpugraph 0 20,156 016BFF 00ff00}
    ${voffset -11}${goto 0}CPU ${cpu 1}%
    ${voffset -9}${goto 0}${cpugraph 1 20,156 016BFF 00ff00}
    Can someone please offer me some guidance.

    Thanks in Advance
    Phil
    I am pretty sure that you need to put cpu in front of the number. Also, cpu0 represents the overall status of your processors, while cpu1 and cpu2 are individual processors. Try this:

    Code:
    TEXT
    ${font Purisa:size=8}${color #016BFF}${goto 0}CPU ${cpu cpu1}%
    ${voffset -9}${goto 0}${cpugraph cpu1 20,156 016BFF 00ff00}
    ${voffset -11}${goto 0}CPU ${cpu cpu2}%
    ${voffset -9}${goto 0}${cpugraph cpu2 20,156 016BFF 00ff00}
    EDIT: Oh wow, I guess I should've refreshed the page before replying.

  9. #11129
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by 5BallJuggler View Post
    you can set a minimum size for your conky by using the command

    Code:
    minimum_size x y
    substitute x & y for the dimensions required,

    unfortunately you can only set a maximum size for the width

    Code:
    maximum_width x
    again substitute x for the desired value

    there is no command for
    Code:
    maximum_height
    I'm going to have to really play with those because I have one conky that has:
    Code:
    minimum_size 200 0
    and that doesn't work at all.

    Have a nice day
    Bruce

  10. #11130
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by londonali1010 View Post
    WAIT! Moving your icon isn't the ONLY solution!

    See, Conky draws a window big enough for all your lines of text, even if you use a negative $voffset to squish them all up. In that case, you are left with a bunch of empty space at the bottom that you can't get rid of (which is what's happening to you).

    Before you resign yourself to moving your icon, see if you can't condense some of your code onto fewer lines...for instance, all of your weather, including windspeed, etc. can be condensed into a single template, which will save you probably 10 lines.
    I HATE YOU!

    You're right! I saw ${voffset} and fell into the hole.
    Did think to look closer as see things like weather.

    Good Call!
    C H I M O!!
    Bruce

Page 1113 of 2299 FirstFirst ... 1136131013106311031111111211131114111511231163121316132113 ... 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
  •