Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 20th October 2012, 12:37 PM
Bazu135's Avatar
Bazu135 Offline
Registered User
 
Join Date: Aug 2011
Location: Luton, UK
Age: 27
Posts: 291
linuxfirefox
Conky vertical clipping problem

I've been playing my with conky configuration this morning, and have found that once the height crosses a certain point, it just gets clipped off:

Normal
Clipped

Is there a known way to resolve this? I've tried playing with the minimum_size setting, but that hasn't made a difference. The only other window height setting I've found in the man pages involves the Lua API, which is something I'll need to look into in more detail as I don't currently use Lua in my config and have no idea what it's all about!

In the meantime, is there a non-Lua method to resolve it? For reference sake, my .conkyrc is as follows:

Code:
# --- Window Layout & Options --- #
own_window yes
own_window_colour brown
own_window_argb_visual yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
use_spacer right
use_xft yes
alignment top_right
gap_x 10
gap_y 30

# --- Colours, Sizes, Fonts & Margins --- #
update_interval 2.0
maximum_width 280
stippled_borders 3
border_margin 9
border_width 10
default_color grey

# --- Text --- #
draw_outline no
draw_borders no
font Monospace:size=7.5
uppercase no
draw_shades yes

TEXT
${color #16701A}SYSTEM INFORMATION ${hr 2}$color
${color white}${time %A},${time %e} ${time %B} ${time %G}${alignr}${time %H:%M:%S}
${color white}Machine$color $nodename ${alignr}${color white}Uptime$color $uptime
${color white}Kernel$color  $kernel ${alignr}${color white}Arch$color $machine

${color #16701A}CPU ${hr 2}$color
${font Arial:bold:size=8}${color #B9211A}${execi 99999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2- | sed 's#Processor ##'}$font$color
${color white}Freq:$color ${freq_g 2}GHz $color${alignr}${color white}Processes:$color $running_processes/ $processes
${cpugraph cpu1 25,120 000000 ff6600} ${cpugraph cpu2 25,120 000000 cc0033}
${color #ff6600}${cpubar cpu1 3,120} ${color #cc0033}${cpubar cpu2 3,120}$color

${color #16701A}NVIDIA ${execi 23 nvidia-settings -q gpus | grep 'gpu:0' | awk '{print $3 " " $4 " " $5}'}${hr 2}$color
${color white}Temp:           $color${execi 30 nvidia-settings -q gpucoretemp | grep '):' | awk '{print $4}' | cut -c -2}°C ${alignr}${color white}Driver:$color ${execi 38 nvidia-settings -q NvidiaDriverVersion | grep 'NvidiaDriverVersion' | awk '{print $4}'}
${color white}Graphics clock: $color${execi 39 nvidia-settings -q GPUCurrentClockFreqs | grep 'neko:0.0' | awk '{print $4}' | cut -c -3} MHz${alignr}${color white}VRAM:  $color${execi 27 nvidia-settings -q VideoRam | grep 'neko:0.0' | awk '{print $4 -c -7}'}
${color white}Memory clock:   $color${execi 39 nvidia-settings -q GPUCurrentClockFreqs | grep 'neko:0.0' | awk '{print $4}' | cut -c 5-7} MHz
${color white}GPU clock:      $color${execi 48 nvidia-settings -q gpucurrentprocessorclockfreqs | grep 'neko:0.0' | awk '{print $4}'} MHz

${color #16701A}TEMPERATURES ${hr 2}$color
${color white}CPU:         $color${execi 24 sensors k10temp-pci-00c3 | grep 'temp1' | awk '{print $2}'} ${alignr}${color white}Fan 1: $color${execi 26 sensors w83627dhg-isa-0290 | grep fan2 | awk '{print $2, $3}'}
${color white}System:      $color${execi 26 sensors w83627dhg-isa-0290 | grep 'temp1' | awk '{print $2}'} ${alignr}${color white}Fan 2: $color${execi 26 sensors w83627dhg-isa-0290 | grep fan3 | awk '{print $2, $3}'}
${color white}N. Bridge:   $color${execi 26 sensors w83627dhg-isa-0290 | grep 'temp2' | awk '{print $2}'}
${color white}S. Bridge:   $color${execi 26 sensors w83627dhg-isa-0290 | grep 'temp3' | awk '{print $2}'}

${color #16701A}TOP PROCESSES ${hr 2}$color
${color #B9211A}NAME                 PID     CPU %    MEM
${color #E2E2E2} 1. ${top name 1}${top pid 1}  ${top cpu 1}  ${top mem 1}$color
 2. ${top name 2}${top pid 2}  ${top cpu 2}  ${top mem 2}
 3. ${top name 3}${top pid 3}  ${top cpu 3}  ${top mem 3}
 4. ${top name 4}${top pid 4}  ${top cpu 4}  ${top mem 4}
 5. ${top name 5}${top pid 5}  ${top cpu 5}  ${top mem 5}
 6. ${top name 6}${top pid 6}  ${top cpu 6}  ${top mem 6}
 7. ${top name 7}${top pid 7}  ${top cpu 7}  ${top mem 7}
 8. ${top name 8}${top pid 8}  ${top cpu 8}  ${top mem 8}
 9. ${top name 9}${top pid 9}  ${top cpu 9}  ${top mem 9}

${color #16701A}MEMORY & SWAP ${hr 2}$color
${color white}RAM$color   $memperc% ${alignr}$mem/ $memmax
${membar 3}
${color white}Swap$color  $swapperc% ${alignr}$swap/ $swapmax
${swapbar 3}

${color #16701A}ETHERNET ${hr 2}$color
Download: ${totaldown eth0} ${alignr}Upload: ${totalup eth0}
Speed: ${downspeedf eth0}k/s ${alignr}Speed: ${upspeedf eth0}k/s
${downspeedgraph eth0 25,120 000000 ff6600} ${alignr}${upspeedgraph eth0 25,120 000000 cc0033}

${color #16701A}DRIVES - FREE SPACE ${hr 2}$color
${color white}Neko$color            ${fs_free_perc /home/neko}%$alignr${fs_free /home/neko}/ ${fs_size /home/neko}
${fs_bar 3 /home/neko}$color 
${color white}Root$color            ${fs_free_perc /}%$alignr${fs_free /} / ${fs_size /}
${fs_bar 3 /}$color 
${color white}Neko.Storage$color    ${fs_free_perc /mnt/Neko.Storage}%$alignr${fs_free /mnt/Neko.Storage}/ ${fs_size /mnt/Neko.Storage}
${fs_bar 3 /mnt/Neko.Storage}$color
__________________
I generally use two tools - trial and error. They fix most things eventually!
Reply With Quote
  #2  
Old 21st October 2012, 01:32 AM
ozjd's Avatar
ozjd Online
Registered User
 
Join Date: Feb 2008
Location: Sydney Australia
Age: 57
Posts: 2,228
linuxchrome
Re: Conky vertical clipping problem

I've noticed similar behaviour in the past. If using a conditional section such as with 'if running' as the last section it wouldn't display properly. But I don't think that is your problem.

Am I correct in assuming you are editing conkyrc between shots adding some blank lines? If so it is possible that it isn't Conky. Do you have a hidden panel or anything else at the bottom of the screen?
Reply With Quote
  #3  
Old 21st October 2012, 10:56 AM
Bazu135's Avatar
Bazu135 Offline
Registered User
 
Join Date: Aug 2011
Location: Luton, UK
Age: 27
Posts: 291
linuxfirefox
Re: Conky vertical clipping problem

In the example above, I just added some blank lines for speed - it has the same effect if I add conky features too though (graphs, speed dials, text etc etc).

There's nothing below conky in those shots - I'd estimate 200-300 pixels of free space, and then a panel at the bottom of the screen. I usually have four desktop icons sat in that gap, but I moved them while playing, and had the same outcome. I'll try logging out of and back into my account with them relocated, on the off-chance that some sort of permanent boundary is being set on start-up, but I wouldn't expect that to be a solution...

---------- Post added at 10:56 AM ---------- Previous post was at 08:15 AM ----------

As expected, the icons didn't make a difference. On with looking into Lua, then!
__________________
I generally use two tools - trial and error. They fix most things eventually!
Reply With Quote
  #4  
Old 21st October 2012, 11:01 PM
ozjd's Avatar
ozjd Online
Registered User
 
Join Date: Feb 2008
Location: Sydney Australia
Age: 57
Posts: 2,228
linuxchrome
Re: Conky vertical clipping problem

I just did some testing and panels don't affect it anyway. I managed to move conky down into the panel. That's on Xfce, other DE's might be different.

Is this the only conky you have? I have 2 and need to start them in a particular order or one doesn't display properly. It has variable width, maximum width is set to just under screen size, and if started after the main one it is restricted to the width set in there. Not your problem I know and I haven't seen the same thing with height but not sure what else to suggest.
Reply With Quote
Reply

Tags
clipping, conky, problem, vertical

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with conky Sanatas F15 Development 0 6th May 2011 05:52 PM
[SOLVED] chkconfig problem:cannot add conky rudra-b Using Fedora 3 12th September 2010 09:19 PM
Another conky problem infernosoft Using Fedora 3 24th August 2010 02:05 AM
How to install conky/setup conky in F10? Von-Dyke Using Fedora 14 10th July 2009 11:24 AM
Conky MPD problem JPopMango Using Fedora 1 31st December 2006 06:26 PM


Current GMT-time: 11:41 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat