Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36122

Conky vertical clipping problem

$
0
0
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


Viewing all articles
Browse latest Browse all 36122

Trending Articles