SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2010-02-15 22:06:30

cometa2k7
Member
From: UK
Registered: 2010-01-19
Posts: 26

[SOLVED] Conky troubles - strange positioning issues

I'm trying to put a Tux at the bottom of my Conky using the OpenLogos font, however it leaves me with a large gap at the top, and cuts the bottom of Tux off, leaving just the top of his head. When I comment out the line referring to Tux (the bottom line), the rest of the texts takes it's usual position.

Also, I had some slight issues with the centering of Tux, but I seem to have fixed it by adding the "70" to the "alignc", although I don't know why it did it in the first place.

Here's my Conky config.

##############################################
#  Settings
##############################################
background yes
use_xft yes
xftfont Sans:size=8
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 240
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
default_color yellow
default_shade_color black
default_outline_color white
alignment top_right
gap_x 12
gap_y 12
no_buffers yes
uppercase no
cpu_avg_samples 3
override_utf8_locale no
color0 ffff00
##############################################
##Disk usage:$alignr${fs_used /}/${fs_size /}
#  Output
##############################################
TEXT
${color white}${font FreeSans:bold:size=11}SYSTEM: ${hr 2}${color0}${font FreeSans:size=9}#$nodename $alignr$machine
$sysname $kernel $alignr $machine
Uptime:$alignr$uptime
CPU usage:$alignr${cpu cpu0}%
$cpubar
RAM:$alignr$mem/$memmax
$membar
Swap usage:$alignr$swap/$swapmax
$swapbar
Temperature:$alignr$acpitemp 'C

${color white}${font FreeSans:bold:size=11}NETWORK: ${hr 2}${color0}${font FreeSans:size=9}
Download: $alignr${downspeed wlan0}
Upload: $alignr${upspeed wlan0}

${color white}${font FreeSans:bold:size=11}SHORTCUTS: ${hr 2}${color0}${font FreeSans:size=9}
Alt+F2$alignr Run Dialog
Alt+F3$alignr Alt Menu
Super+space$alignr Main Menu
Super+tab$alignr Client Menu
Super+t$alignr Terminal
Super+f$alignr PCManFM
Super+e$alignr GEdit
Super+m$alignr Rhythmbox
Super+w$alignr Firefox
Super+g$alignr GIMP#Super+c$alignr Clock
Super+l$alignr Lock Screen
Super+v$alignr Volume Control
Super+u$alignr System Update
Super+x$alignr Logout
#PrtSc$alignr Screenshot
${color white}${font FreeSans:bold:size=11}$alignc${time %c}

${alignc 70}${font OpenLogos:size=150}t

Any help will be much appreciated.

Last edited by cometa2k7 (2010-02-16 11:03:45)


If a door can be ajar, why can a jar not be adoor?

Offline

Help fund CrunchBang, donate to the project!

#2 2010-02-16 00:01:09

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: [SOLVED] Conky troubles - strange positioning issues

you could try something like this

${alignc 70}${font OpenLogos:size=150}t${font FreeSans:size=11}

so that the font size is set smaller right after the tux.

if you cant figure it out then find a image of tux and display it with the image function in conky

Offline

#3 2010-02-16 11:03:21

cometa2k7
Member
From: UK
Registered: 2010-01-19
Posts: 26

Re: [SOLVED] Conky troubles - strange positioning issues

Thank you, that worked perfectly. I didn't think of doing that.


If a door can be ajar, why can a jar not be adoor?

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo