Originally Posted by
MoralAnarchy
btw here's the conky i made from sort of scratch. using a lot of the tips i get here. also a nice little screen shot of big bang theory for you all
Looks nice ...
But if I may, a few suggestions as there are some things that need fixing.
Above TEXT:
- background yes #<<-- transparent is not an option - see own_window section
- xftfont Neuropol:size=8 ## you use size=8 the most and NO size=12
I suggest this for your "own_window section":
Code:
own_window yes
own_window_type normal ## now you should use normal so HINTS work
own_window_transparent yes ## this is what you declare transparency
own_window_hints undecorated,sticky,below,skip_taskbar,skip_pager
own_window_class Conky
Below TEXT:
every place you have:
Code:
${font Neuropol:size=8}
You can now change to
And the same of every place you have:
If you use 'search/replace' for the two above you will need to:
Search for: ${font}${font}
Replace with: ${font}
RE ${font 16}
That does nothing except call up your "default" screen font since you are actually calling for a font named "16" that doesn't exist - see the bottom section of the image. My screen font is "sans"
Code:
${font}This is a test:
this is ${font 16}font 16${font}
this is ${font 50}font 50${font}
this is ${font 5}font 5${font}
this is ${font sans}font sans${font}
this is ${font sans:size=16}font sans 16${font}
this is ${font sans:size=20}font sans 20${font}
this is ${font sane:size=5}font sans 5${font}
One last thing. There are time that commands like $color $mem / $memperc without the {} around them will cause problems in certain circumstances. kaivalagi, conkyForecast, showed it in a post quite a while back, whish I could remember where. So I always 'suggest' that people use the {} around all conky commands.
ALL of the above are only SUGGESTIONS.
Here is the code with the above suggestions and two additions:
and the test lines above are removed.
Code:
# killall conly && conky -c ~/conky/test284.MoralAnarchy.conky &
# Conky, a system monitor, based on torsmo
#
alignment top_right
background yes #transparent <<-- not an option
background no
border_width 0
cpu_avg_samples 2
default_color red
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
use_xft yes
xftfont Neuropol:size=8 ## you use size=8 the most and NO size=12
gap_x 10
gap_y 10
minimum_size 250 0
maximum_width 250
net_avg_samples 2
double_buffer yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_class Conky
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no
TEXT
#
####Title####
${font OpenLogos:size=48}${color grey}SH${color red}${hr}${font}
${font Neuropol:size=18} ${nodename}
${font} ${kernel}
${hr}
#
####Memory####
${color grey}${font OpenLogos:size=38}t${font}Memory ${color red}${hr}
${color grey}Frequency :${color} ${freq MHz}
${color grey}RAM Usage:${color} ${mem}/${memmax}
${memperc}% ${alignr}${membar 4, 200}
${color grey}Swap Usage:${color} ${swap}/${swapmax}
${swapperc}% ${alignr}${swapbar 4, 200}
#
#
####CPU####
${color grey}${font Illustrate IT:size=12}r${font} ${font}Robit Use ${color red}${hr}
${color grey}CPU1 ${color red}${cpu cpu0}% ${alignr}${cpugraph cpu0 14, 175}
${color grey}CPU2 ${color red}${cpu cpu1}% ${alignr}${cpugraph cpu1 14, 175}
${color grey}CPU3 ${color red}${cpu cpu2}% ${alignr}${cpugraph cpu2 14, 175}
${color grey}CPU4 ${color red}${cpu cpu3}% ${alignr}${cpugraph cpu3 14, 175}
${color grey}Process ${alignc}PID ${alignr}CPU%
${font Neuropol:size=6}${color white} ${top name 1} ${alignc}${top pid 1} ${alignr}${top cpu 1}
${color white} ${top name 2} ${alignc}${top pid 2} ${alignr}${top cpu 2}
${color white} ${top name 3} ${alignc}${top pid 3} ${alignr}${top cpu 3}
#
#
####File Systems####
${color grey}${font Illustrate IT:size=16}a${font}Access Granted ${color red}${hr}
${color grey} / $color${fs_used /}/${fs_size /}
${fs_bar 6 /}
${color grey} HD0 $color${fs_used /media/AHD0}/${fs_size /media/AHD0}
${fs_bar 6 /media/AHD0}
${color grey} HD1 $color${fs_used /media/AHD1}/${fs_size /media/AHD1}
${fs_bar 6 /media/AHD1}
${color grey} Thumb $color${fs_used /media/2E48-9992}/${fs_size /media/2E48-9992}
${fs_bar 6 /media/2E48-9992}
#
#
####Internet#####
${color gray}${font LMS Poke'mon Master Dingbat:size=48}M${font}Welcome2theInternet ${color red}${hr}
${color red}${font} Up: ${upspeed wlan0}${alignr}${color white}${font} Down: ${downspeed wlan0}
${color red}${upspeedgraph wlan0 30, 115}${alignr}${color white}${downspeedgraph wlan0 30,115}
${color red}Sauce! ${color white}${alignr}${addr wlan0}
As I said: Just suggestions. It's really a nice conky, I like it.
Finally a conky with 'digbat' style fonts I like.
Bookmarks