You are not logged in.
How do you get specific icons in the code?
StyleBats is a font like any other font, but rather than letters it's a graphical font.
Open your word processor and try it or if you have 'GNOME Specimen' open that and look.
For example from your conky lets strip this line to the bare minimum with regards to StyleBats:
${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}
${font StyleBats:size=9.9}k
There you go: SyyleBats font the lettert k =
Each letter has a different image -->
That explains the different 'icons' as you called them - just letters in a special font.
OpenLogos, WebDings, VariShapes are a few more that are the same.
Afterthought: I seriously doubt that conky renders the font at 'size=9.9' differently than 'size=10' or if it does that our eyes would detect the difference. Just an opinion but 'size=8.39' is the same. Try those at 8 or 9 and see what it looks like.
EDIT:
Just proved myself wrong ... it is a visible difference:
Last edited by Sector11 (2012-07-06 13:55:07)
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
^ Between 9.9 and 10 I don't see much difference, especially with that single dingbat...
Offline
Wow - you've done it again, many thanks. This is troubling me:
I've been testing the height/width. The min adjustable height I can get is:
minimum_size 255 270 ## width, height
maximum_width 255 ## width, usually a good idea to equal minimum width
If I add more text to my conkyrc I need to increase the height - so:
minimum_size 255 310 ## width, height
maximum_width 255 ## width, usually a good idea to equal minimum width
Once more:
minimum_size 255 380 ## width, height
maximum_width 255 ## width, usually a good idea to equal minimum width
This last conky is good - not too much wasted space top and bottom of the screen
However, when I add the calendar code
##################################
## CALENDAR (5-Line) ##
##################################
#DATE line with horiz line
${voffset 4}${font DroidSans:bold:size=8}${color4}DATE${offset 8}${color8}${voffset -2}${hr 2}${font}
#vertical position of everything below DATE line
${voffset 18}${font DroidSansMono:size=7.55}${color3}${alignc 60}${time %A}${font}
#text inside box
${voffset -4}${font DroidSansFallback:bold:size=18}${if_match ${time %e}<=9}${color5}${alignc 65}${time %e}${font}${else}${if_match ${time %e}>=10}${color5}${alignc 60}${time %e}${endif}${endif}${font}
#moves box up
${voffset 0}${font DroidSansMono:size=7.55}${color3}${alignc 60}${time %B}${font}
#moves box
${voffset 0}${font DroidSansMono:size=7.6}${color3}${alignc 60}${time %Y}${font}
#outside box rim
${voffset -83}${font CutOutsFor3DFX:size=67}${color8}${alignc 99}2${font}
####
## Uncomment for Conky 1.8.1 (use mono fonts only)
${voffset -64}${offset 0}${font DroidSansMono:size=7.55}${color3}${execpi 60 VinDSL_Cal_9=`date +%-d`; cal -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e 's/\<'"$VinDSL_Cal_9"'\>/${color4}&${color3}/'}
I get this conky:
Suddenly there is a hugh amount of empty space at the bottom of the window. I cannot find out what is causing this empty space - or how to reduce it.
Offline
Wow - you've done it again, many thanks. This is troubling me:
Suddenly there is a hugh amount of empty space at the bottom of the window. I cannot find out what is causing this empty space - or how to reduce it.
You're welcome.
That huge amount of extra space is because of abusing the ${voffset} command.
It's like this, for every line under TEXT conky 'draws a screen line', even if it is a blank line.
so if you have:
TEXT
a conky command
a conky command
a conky command
a conky command
a conky command
Conky will draw five lines on the screen, now do this:
TEXT
conky command 1
${voffset -10}conky command 2
${voffset -10}conky command 3
${voffset -10}conky command 4
${voffset -10}conky command 5
so what you see is this:
conky command 1 conky command 2 conky command 3 conky command 4 conky command 5
However - conky is still drawing 4 lines below that line you see.
Another thing you need to know. the ${voffset} be it negative (moves up) or positive (moves down) works with pixels but if you have:
TEXT
${font monospace:size=25}conky command 1
${voffset -10}conky command 2
${font monospace:size=15}${voffset -10}conky command 3
${font monospace:size=5}${voffset -10}conky command 4
${voffset -10}conky command 5
You'll find it's NOT the same results since the font size changed.
Look here: Goto/offset/voffset and Spacing in Conky
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
I took that calendar and added it to the StyleBats test conky I did.
After some editing I have this:
Here's the code that is important:
minimum_size 240 0 ## width, height
maximum_width 240 ## width, usually a good idea to equal minimum width
TEXT
${font StyleBats:size=9.9}${color2}k${color}${font} ${font DroidSansFallback:size=8.39}${time %T}${font}
${font StyleBats:size=9}${color2}k${color}${font} ${font DroidSansFallback:size=8}${time %T}${font}
${font StyleBats:size=9.9}${color2}k${color}${font} ${font DroidSansFallback:size=8.3}${time %T}${font}
${font StyleBats:size=9.9}${color2}k${color}${font} ${font DroidSansFallback:size=8.4}${time %T}${font}
${font StyleBats:size=10}${color2}k${color}${font} ${font DroidSansFallback:size=9}${time %T}${font}
${font DroidSans:bold:size=8}${color4}DATE${offset 8}${color8}${cpubar cpu0 1,220}${font}
${font CutOutsFor3DFX:size=67}${color8}${alignc 104}2${font}
${voffset -60}${font DroidSansMono:size=7.5}${color3}${alignc 65}${time %A}${font}
${color5}${font DroidSansFallback:bold:size=18}${if_match ${time %e}<=9}${alignc 69}${time %e}${font}${else}${alignc 65}${time %e}${endif}${font}
${font DroidSansMono:size=7.5}${color3}${alignc 65}${time %B}
${alignc 65}${time %Y}${font}
${voffset -65}${font DroidSansMono:size=8}${color3}${execpi 60 VinDSL_Cal_9=`date +%-d`; cal -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e 's/\<'"$VinDSL_Cal_9"'\>/${color4}&${color3}/'}${voffset -150}
Because of the ${alignc xx} values to get Friday, 6, July & 2012 centred in the box the:
minimum_size 240 0 ## width, height
maximum_width 240 ## width, usually a good idea to equal minimum width
... is a critical factor in spacing.
I cleaned up the code a bit and added a final '${voffset -150}' to bring the bottom up to the end of the visible output.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
arclance wrote:mrpeachy wrote:the best way to combat memory leaks is to localize as many of your variables as possible
just remember that local variables cant be "seen" outside of the function that they are in OR outside of the loop or if statement they are inI would not call an if statement a loop since it does not repeat the command multiple times.
Just to be sure, you only have to use "local" when you create the variable not when you assign a new value to it correct?
So in this example the first "print" would print "1" the second would print "2" and the third would cause a nil value error.
function test() local a = 1 print(a) a = 2 print(a) end print(a)
i would differentiate ifs and loops also
in the code example above you would need to localize both instances as the second instance of "a" will overwrite the first, but will be a global variable
edit - to answer your question more specifically... the print command outside of the function would print "2" , the value of the string "a" as set in the second instance
I got power back yesterday and I tested this and it worked the way I though it would.
Here is better example than the one above and it's corresponding output.
function conky_main()
test2()
end
function test2()
local a = 1
print(a)
a = 2
print(a)
test()
end
function test()
print(a) --# causes all nil other than first
end
print(a) --# causes first nil only
Output
nil
1
2
nil
1
2
nil
Last edited by arclance (2012-07-07 16:19:09)
Offline
Hey folks,
Been getting more and more into conky and I'm having issues with a new display that I'm trying to work with. Whenever I start it via terminal, regardless of where I have it aligned to, the top is always cut off. The "No fortunes found" error is expected as I haven't set that yet.
Right now I have the alignment set to bottom_right so that it's more visible but it would normally be set to top_right. Interesting note, where it gets cut off it right where the screen ends, not sure if that would have any bearing on it or not.
background yes
use_xft yes
xftfont 123:size=8
xftalpha 0.2
update_interval 30
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 1020 240
maximum_width 1020
no_buffers yes
cpu_avg_samples 2
net_avg_samples 2
use_spacer yes
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
border_inner_margin 0
border_outer_margin 0
override_utf8_locale yes
default_color white
alignment bottom_right
uppercase no
text_buffer_size 8196
imlib_cache_size 0
gap_x 5
gap_y 0
TEXT
$color${execpi 36000 /home/sinjoro/scripts/horical.sh}${color}
${voffset 5}${goto 198}${color}${hr 1}
${color 72A4DB}${voffset -64}${goto 46}${font Caviar Dreams:bold:size=18}${time %A}${font Caviar Dreams:bold:size=40}${goto 175} ${color}${voffset 0}${time %d}$color
${color 72A4DB}${voffset -50}${font Caviar Dreams:bold:size=24}${goto 46}${time %b}${font Caviar Dreams:bold:size=16}${goto 128}${color}${voffset 4}${time %Y}$color
${voffset -32}${font Sahara:italic:size=15}${goto 280}${color E0EBF1}${execi 30 fortune fran}
Offline
Here's my conky. I tweaked one of the conky's from PinguyOS:
I'm sorry if the code is a little messy, I haven't cleaned/worked on it in a while.
# conky 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.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
background yes
use_xft yes
xftfont HandelGotD:size=8
xftalpha 0.5
update_interval 1.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 170 5
maximum_width 190
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color aaaaaa
default_shade_color red
default_outline_color green
alignment middle_right
gap_x 5
gap_y 5
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
TEXT
SYSTEM ${hr 2}
${goto 6}${voffset 6}${font OpenLogos:size=22}t${font}${goto 36}${voffset -18}${pre_exec cat /etc/issue.net} $machine
${goto 36}Kernel: ${kernel}
${hr 2}
${goto 6}${font StyleBats:size=16}A${font}${voffset -4}${goto 32}CPU1: ${cpu cpu0}% ${alignr}${cpubar cpu0 8,60}
#${goto 6}${voffset 4}${font StyleBats:size=16}A${font}${voffset -4}${goto 32}CPU2: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
#${goto 6}${voffset 4}${font StyleBats:size=16}A${font}${voffset -4}${goto 32}CPU3: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
#${goto 6}${voffset 4}${font StyleBats:size=16}A${font}${voffset -4}${goto 32}CPU4: ${cpu cpu3}% ${alignr}${cpubar cpu3 8,60}
${goto 6}${voffset 4}${font StyleBats:size=16}g${font}${voffset -4}${goto 32}RAM: ${mem} ${alignr}${membar 8,60}
${goto 6}${voffset 4}${font StyleBats:size=16}x${font}${voffset -4}${goto 32}DISK: ${diskio}${alignr}${diskiograph 8,60 F57900 FCAF3E}
${goto 6}${voffset 4}${font StyleBats:size=16}j${font}${voffset -4}${goto 32}SWAP: $swapperc% ${alignr}${swapbar 8,60}
${goto 6}${voffset 4}${font StyleBats:size=16}q${font}${voffset -4}${goto 32}Uptime: ${alignr}${uptime}
${goto 6}${voffset 4}${font StyleBats:size=16}k${font}${voffset -4}${goto 32}Processes: ${alignr}$processes ($running_processes running)
${goto 7.5}${voffset 4}${font Poky:size=15}a${font}${goto 32}${voffset -10}Highest: ${alignr 13}CPU${alignr}RAM
${goto 32}${voffset -5.5}${hr 1}
${voffset -1}${goto 32}${top name 1} ${goto 124}${top cpu 1}${alignr }${top mem 1}
${voffset -1}${goto 32}${top name 2} ${goto 124}${top cpu 2}${alignr }${top mem 2}
${voffset -1}${goto 32}${top name 3} ${goto 124}${top cpu 3}${alignr }${top mem 3}
${voffset -1}${goto 32}${top name 4} ${goto 124}${top cpu 4}${alignr }${top mem 4}
${voffset -1}DATE ${hr 2}
${alignc 35}${font Blackjack:size=26}${time %l:%M}${font}
${alignc}${time %A %d %B}
HD ${hr 2}
${goto 3}${voffset 4}${font Poky:size=16}H${font}${goto 29}${voffset -11} Root: ${fs_used_perc /}%${alignr}${fs_size /}
${goto 29} Free: ${fs_free /}${alignr}${fs_bar 8,60 /}
KEYBINDINGS ${hr 2}
Alt+F2$alignr Run Dialog
Alt+F3$alignr Alt Menu
Super+space$alignr Main Menu
Super+t$alignr Terminal
Super+f$alignr File Manager
Super+e$alignr Editor
Super+m$alignr Media Player
Super+w$alignr Web Browser
Super+g$alignr Graphics Editor
Super+l$alignr Lock Screen
Super+v$alignr Volume Control
Super+x$alignr Logout
PrtSc$alignr Screenshot
${voffset -1}NETWORK ${hr 2}
${if_up wlan0}
${font Poky:size=14}Y${font}${goto 32}${voffset -8}SSID: ${wireless_essid wlan0}
${goto 32}Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font VariShapes Solid:size=14}q${font}${goto 32}${voffset -6}Up: ${upspeed wlan0}${font} ${alignr}${upspeedgraph wlan0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totalup wlan0}
${voffset 4}${font VariShapes Solid:size=14}Q${font}${goto 32}${voffset -6}Down: ${downspeed wlan0}${font} ${alignr}${downspeedgraph wlan0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totaldown wlan0}
${voffset 4}${font Poky:size=13}w${font}${goto 32}${voffset -8}Local IP: ${alignr}${addr wlan0}
${goto 32}Public IP: ${alignr}${execi 3600 wget -O - http://automation.whatismyip.com/n09230945.asp | tail}
# |--ETH0
${else}${if_up eth0}
${voffset -13}${font VariShapes Solid:size=14}q${font}${goto 32}${voffset -6}Up: ${upspeed eth0}${font} ${alignr}${upspeedgraph eth0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totalup eth0}
${voffset -2}${font VariShapes Solid:size=14}Q${font}${goto 32}${voffset -6}Down: ${downspeed eth0}${font} ${alignr}${downspeedgraph eth0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totaldown eth0}
${voffset -2}${font Poky:size=13}w${font}${goto 32}${voffset -4}Local IP: ${alignr}${addr eth0}
${goto 32}Public IP: ${alignr}${execi 3600 wget -O - http://automation.whatismyip.com/n09230945.asp | tail}
# |--PPP0
${endif}${else}${if_up ppp0}
${voffset -13}${font VariShapes Solid:size=14}q${font}${goto 32}${voffset -6}Up: ${upspeed ppp0}${font} ${alignr}${upspeedgraph ppp0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totalup ppp0}
${voffset -2}${font VariShapes Solid:size=14}Q${font}${goto 32}${voffset -6}Down: ${downspeed ppp0}${font} ${alignr}${downspeedgraph ppp0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totaldown ppp0}
${voffset -2}${font Poky:size=13}w${font}${goto 32}${voffset -4}Local IP: ${alignr}${addr ppp0}
${endif}${else}${voffset 4}${font PizzaDude Bullets:size=12}4${font}${goto 32}Network Unavailable${endif}${endif}
All hail the Grand Garboozle!
Offline
Hey folks,
Been getting more and more into conky and I'm having issues with a new display that I'm trying to work with. Whenever I start it via terminal, regardless of where I have it aligned to, the top is always cut off. The "No fortunes found" error is expected as I haven't set that yet.
You conky is looking for this:
/home/sinjoro/scripts/horical.sh
and can't find it.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
You conky is looking for this:
/home/sinjoro/scripts/horical.sh
and can't find it.
Oh yeah, that one I'm expecting; haven't set where I'm going to point it to. What I was really wondering about was why the day of the week and the number are cut off and how to get it to normal.
Offline
Oh yeah, that one I'm expecting; haven't set where I'm going to point it to. What I was really wondering about was why the day of the week and the number are cut off and how to get it to normal.
This:
${voffset -64}
is pulling everything up out the top of your conky window.
If I may make a suggestion:
1. Strip your conky the elements that are not working yet. ie: the two bash scripts
2. concentrate on formatting the date and the horizontal line you have ...
3. once those are done, bring in the bash scripts.
TEXT
${color 72A4DB}${font Caviar Dreams:bold:size=18}${time %A}${font Caviar Dreams:bold:size=40}${goto 129} ${color}${time %d}${color}
${color 72A4DB}${voffset -50}${font Caviar Dreams:bold:size=24}${time %b}${font Caviar Dreams:bold:size=16}${goto 82}${voffset 0}${color}${time %Y}${color}
${goto 152}${color}${hr 1}
${font Sahara:italic:size=15}${goto 280}${color E0EBF1}fortune here
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Sector11 wrote: I took that calendar and added it to the StyleBats test conky I did.
After some editing I have this:
Again, many thanks for the time and effort you have put in - I now have my perfect conky. You have helped me understand many of the essentials of this wonderful tool.
Offline
I am confused about something. Surprise surprise. I need to put the outputs of Home, Ram ect in my rings. And I am not sure how the best way to do it. I could do it in conky with {goto } and {voffset } but that wouldn't be right. I know there is a way to do it in lua and that would be the right way to do it, but I can't figure it out. I have read thru the lua tutorial but It left me scratching my head.
Conky line
${font StyleBats:size=10}${color1}x${font}${color2} HOME${goto 95}${fs_used /home}${goto 133}/ ${fs_size /home}${goto 200}${fs_free_perc /home}% Free
lua
--background gradient ############################
--start color
sbr,sbg,sbb,sba=0.9,0.9,0.9,1
--middle color
mbr,mbg,mbb,mba=0.6,0.6,0.6,1
--end color
ebr,ebg,ebb,eba=0.3,0.3,0.3,1
--indicator gradient ##############################
--start color
sir,sig,sib,sia=0,1,0,1
--middle color
mir,mig,mib,mia=1,1,0,1
--end color
eir,eig,eib,eia=1,0,0,1
--settings #########################################
--conky value
num=conky_parse("${fs_used_perc /home}")
--line width
width=10
--circle radius
radius=50
--position
x,y=350,350
--start and end angles for ring
sangle,fangle=0,360
--if you see line artefacts in the circle drawn
--then increase this number in increments of 0.01 until they disappear
--otherwise set 1
overlap=1.09
--call drawing function ############################################################################################################################
gcircle (num,x,y,radius,width,sangle,fangle,sbr,sbg,sbb,sba,mbr,mbg,mbb,mba,ebr,ebg,ebb,eba,sir,sig,sib,sia,mir,mig,mib,mia,eir,eig,eib,eia,overlap)
--###########################################################################################################
If someone can help me get started on that it wuld be great. Thanks
Offline
Sector11 wrote: I took that calendar and added it to the StyleBats test conky I did.
After some editing I have this:Again, many thanks for the time and effort you have put in - I now have my perfect conky. You have helped me understand many of the essentials of this wonderful tool.
I am glad to have helped.
And now a word to the wise: be careful, conky is addictive.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
@ S11, you got that right!!!!!!!!!!!!!!!!!
Offline
@ S11, you got that right!!!!!!!!!!!!!!!!!
I know there is an answer for you with LUA in text - I've been looking for it....
... and here it is: HOW TO: using lua scripts in conky direct link to how to use text. Thank mrpeachy.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Hey folks,
Been getting more and more into conky and I'm having issues with a new display that I'm trying to work with. Whenever I start it via terminal, regardless of where I have it aligned to, the top is always cut off. The "No fortunes found" error is expected as I haven't set that yet.
Right now I have the alignment set to bottom_right so that it's more visible but it would normally be set to top_right. Interesting note, where it gets cut off it right where the screen ends, not sure if that would have any bearing on it or not.
background yes use_xft yes xftfont 123:size=8 xftalpha 0.2 update_interval 30 total_run_times 0 own_window yes own_window_type normal own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes minimum_size 1020 240 maximum_width 1020 no_buffers yes cpu_avg_samples 2 net_avg_samples 2 use_spacer yes draw_shades no draw_outline no draw_borders no draw_graph_borders no border_inner_margin 0 border_outer_margin 0 override_utf8_locale yes default_color white alignment bottom_right uppercase no text_buffer_size 8196 imlib_cache_size 0 gap_x 5 gap_y 0 TEXT $color${execpi 36000 /home/sinjoro/scripts/horical.sh}${color} ${voffset 5}${goto 198}${color}${hr 1} ${color 72A4DB}${voffset -64}${goto 46}${font Caviar Dreams:bold:size=18}${time %A}${font Caviar Dreams:bold:size=40}${goto 175} ${color}${voffset 0}${time %d}$color ${color 72A4DB}${voffset -50}${font Caviar Dreams:bold:size=24}${goto 46}${time %b}${font Caviar Dreams:bold:size=16}${goto 128}${color}${voffset 4}${time %Y}$color ${voffset -32}${font Sahara:italic:size=15}${goto 280}${color E0EBF1}${execi 30 fortune fran}
${voffset} object not only prints text in desired offset but also sets cursor position from which next printed text is counted.
So lets do the math.
First you set font to 8px hight.
Then you draw 3 lines in Conky normally and add 5px to it with ${voffset 5} - it gives you 3 lines by 8px = 24px + 5px = 29px.
Then you add next line output ( +8px = 37px cursor position) and ${voffset -64} is illegal so it sets cursor at 8px position (still 8px font, remember?). There you print 18px and 40px text. 10px and 32px of it will print above Conky window.
So next line with 40px font size (+40px = 48px cursor position) you move cursor to ${voffset -50} which is illegal and set cursor at 40px (still 40px font, remember?), where you print with 24px and 16px with font size which prints normally (and adds ${voffset 4} to the cursor position = 44px).
Then next line (+16px = 60px cursor, font 16px from previous line) you go -32px (${voffset -32}) = 28px cursor position where you print with 15px font size (should be normally visible)
So there you have your "cut off".
PS: I've forgot to give you some advice for voffseting.
Set your default font to 10px size (xftfont 123:size=10) - it will come in handy when voffseting as every new line could be set 10px belove previous one. But to complete that you need to end your every line with ${font} object which reset font settings to default.
That way it's easier to comprehend where text cursor actually is "right now".
Last edited by dk75 (2012-07-08 16:26:28)
Debian Sid (Minted) x86_64/3.12-10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Intel X3100
Lenovo T61, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
Linux user No.: 483055 | Conky Pitstop
Offline
@S11 So have I off and on. Some things I just can't wrap my head around
Offline
@S11 So have I off and on. Some things I just can't wrap my head around
oil & water
lua & sector11
What can I say. I can edit them, manipulate them - can't create one worth a dime!
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
OK - I have a new look:
Desktop 1 of 2 · · · · Desktop 2 of 2 - really busy!····
If you are interested in one of the conkys just let me know.
sqlpython asked here they are: Conky-10.tar.gz
Take note: 5.13MB it has everything found here: 2086 - I think!!!!
Even changed my tint2.
Last edited by Sector11 (2014-04-10 20:14:01)
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
So there you have your "cut off".
Extremely well said! Best explanation I have seen to date about ${voffset} and it's pitfalls.
Thank you.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
S11 that is a very cool New Look!!
Peachy's Wun Lua / Peachy's v9000 / Conky PitStop / My DA Page
........
Offline
Sector11 wrote:OK - I have a new look:
S11 that is a very cool New Look!!
Thanks. It'll probably last a long time, I don't change things that often.
I like all those conkys and still running between 1 & 4% CPU Average.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
OK - I have a new look:
If you are interested in one of the conkys just let me know.
Even changed my tint2.
WOW!!! That is amazing.. Nice work mate!
Offline
Just updating my necro post #2045 4 days and 30 posts ago..
if anyone had any solution ideas they weren't talking.
So, after some banging my head against the wall I fixed my two issues which were... both on Xfce4 desktops...
#1...Transparent in Wheezy BUT the Processes displayed (Last 8 lines) ghost over the previous 8 proceses as they up date in the bottom of the Conky display..
#2...Sid Black Background won't go transparent except by CLI command..
Turned out not to be particular to my Conkyrc in the final repair, anyway..
Last edited by sqlpython (2012-07-09 03:32:18)
OHCG #!, Jessie,, Siduction-13.1, Slackware 14, Bridge,, Sabayon 13.4,
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat