What have I done to my desktop? :D
Printable View
What have I done to my desktop? :D
A couple of things to try.
Run an identical conkyrc with just the bargraph section.
PS
is the only window setting that works for me in Raring.Code:own_window_type normal
own_window_type desktop makes conky disappear when clicking the desktop.
own_window_type override makes windows opaque when using transparency.
Could also try running your conky in a gnome-classic(no-effects) session which uses metacity as the window manager.
You need to install...
...then choose the gnome-classic(no-effects) session at the login screen.Code:sudo apt-get install gnome-panel
Also after an upgrade I like to set compiz back to default to avoid old config conflicts.
In Raring...
...then reload unity/compiz withCode:dconf reset -f /org/compiz/
Code:setsid unity
Here is the result in a new conky with own_window_type normal:
http://i41.tinypic.com/6ivax3.png
Here is the test conkyrc i used:
Since I haven't upgraded, its a fresh install of 13.04. I don't think I need to reset compiz.Code:# Create own window instead of using desktop (required in nautilus)
#own_window_class Conky
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes
# own_window_argb_value 00000000
# own_window_colour 000000
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer none
use_xft yes
# Update interval in seconds
update_interval 1.0
# Minimum size of text area
minimum_size 345 620
maximum_width 345
# text_buffer_size 8096
# max_user_text 90000
# Draw shades?
draw_shades no
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
xftfont Droid Sans Mono:size=9
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 0
# border width
border_width 0
# Default colors and also border colors, grey90 == #e5e5e5
default_color white
# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
gap_x 600
gap_y 30
# stuff after ‘TEXT’ will be formatted on screen
TEXT
${if_existing /proc/net/route wlan0}${color grey}NETWORK ($color${color green}${wireless_essid wlan0}$color${color grey}) ${hr 2}$color
Down: $color${downspeed wlan0} /s ${alignr}Up: ${upspeed wlan0} /s
${downspeedgraph wlan0 25,140 000000 ff0000} ${alignr}${upspeedgraph wlan0
25,140 000000 00ff00}$color
Total: ${totaldown wlan0} ${alignr}Total: ${totalup wlan0}
Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768
61000 count}${alignr}${wireless_ap wlan0}
Public IP: ${execi 60 /home/saad/Code/conkyIp}${alignr}${execi 15 /home/saad/Code/wireless_thoroughput.sh}
Local IP: ${addr wlan0}${alignr}${execpi 1800 vnstat -i wlan0 -m | grep "`date +"%b '%y"`" | awk '{print $1, $3 $4}'}
Signal: ${wireless_link_qual_perc wlan0}%\
${alignr}${if_up wlan0}${exec nm-tool | grep DNS | awk -vORS=, '{print $2}' | sed 's/,$//'}$endif
${else}${if_existing /proc/net/route eth0}${color grey}NETWORK$color (${color #40E0D0}Ethernet$color) ${color grey}${hr 2}$color
Down: $color${downspeed eth0} /s ${alignr}Up: ${upspeed eth0} /s
${downspeedgraph eth0 25,140 000000 ff0000} ${alignr}${upspeedgraph eth0
25,140 000000 00ff00}$color
Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768
61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
Public IP: ${execi 60 /home/saad/Code/conkyIp}${alignr}${execi 15 /home/saad/Code/eth_thoroughput.sh}
Local IP: ${addr eth0}${alignr}${execpi 1800 vnstat -i eth0 -m | grep "`date +"%b '%y"`" | awk '{print $1, $3 $4}'}
DNS: ${if_up eth0}${exec nm-tool | grep DNS | awk -vORS=, '{print $2}' | sed 's/,$//'}$endif\
${alignr}${execi 99999 cat /sys/class/net/eth0/address}${endif}
Hence the What have I done to my desktop? :)
Anyways thanks for your help and ideas. If anybody figures it out please let me know.
Actually - no, I wasn't, I was sound asleep when he posted. Hi back ... together we got them day and night. :)
However with some tweaks for things I don't have, (nm-tool, bash scripts) and a missing ${endif} error - probably in the changes made to match my triple core CPU so I stripped them all out so colour isn't a factor.
No battery so that's faked. :D
@ sbjaved & stinkeye
but the graphs: PERFECT
What have I done to offend the Gods? :) It works for everybody but me.
Oh I wouldn't go blaming the Gods just yet. ... what about other "graphs" --- do they work?
Try this conky as is, just change M/5 to something you mount, and see is it works. If you don't have the mono font Monofur the alignment might be an issue
DejaVu San Mono:bold:size=11 will work well enough to see it but not the same, (right image below). The conky was built for Monofur. One of the nicest mono fonts I've found.
Gotta run ... back later.Code:# killall conky && conky -c /media/5/Conky/S11_Disk_Activity.conky &
### Begin Window Settings ##################################################
# Create own window instead of using desktop (required in nautilus)
own_window yes
# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_class Conky
own_window_title Disk Activity
### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type override
# own_window_argb_visual yes
### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
#own_window_argb_value 150
minimum_size 270 0 #225 ## width, height
maximum_width 270 ## width, usually a good idea to equal minimum width
gap_x 10 ### left &right
gap_y 10 ### up & down
alignment tl
#################################################### End Window Settings ###
### Font Settings ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont monofur:bold:size=14
#xftfont DejaVu San Mono:bold:size=11
# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes
uppercase no
###################################################### End Font Settings ###
### Color Settings #########################################################
draw_shades yes # <-- To see it easier on light screens.
default_shade_color 000000
draw_outline no # <-- Amplifies text if yes
default_outline_color 000000
#default_color 000000 # 0 0 0 Black
default_color DCDCDC #220 220 220 Gainsboro
color0 ffe595 #Teo Gold
color1 778899 #LightSlateGrey
color2 FF8C00 #Darkorange
color3 7FFF00 #Chartreuse
color4 FFA07A #LightSalmon
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 00FFFF #Cyan #48D1CC #MediumTurquoise
color8 FFFF00 #Yellow
color9 FF0000 #Red #A52A2A #DarkRed
##################################################### End Color Settings ###
### Borders Section ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders yes #no
##################################################### End Borders Secton ###
### Miscellaneous Section ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background no
# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none
# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 256
# Subtract (file system) buffers from used memory?
no_buffers yes
# change GiB to G and MiB to M
short_units yes
# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2
# Maximum size of user text buffer, i.e. layout below TEXT line in config file
# (default is 16384 bytes)
# max_user_text 16384
## default bar size
default_bar_size 200 20
## Specify a default width and height for graphs.
## Example: 'default_graph_size 0 25'. This is particularly useful for execgraph
## and execigraph as they do not take size arguments
## default_graph_size 220 100
#draw_graph_borders
############################################## End Miscellaneous Section ###
### LUA Settings ###########################################################
## Above and After TEXT - requires a composite manager or blinks.
##
# lua_load /media/5/Conky/LUA/dra2w-bg.lua
#TEXT
#${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}
#
## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
##
## OR Both above TEXT (No composite manager required - no blinking!)
#
#lua_load /media/5/Conky/LUA/draw-bg.lua
#lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.2
### mount.lua ##################################################################
#
##instructions
##load script
##lua_load ~/path_to/mounted.lua
#lua_load /media/5/Conky/LUA/mounted.lua
## first lua command below text:
## ${lua get_mounted_data interval}, where interval is a number. This starts data gathering
## to get output:
## ${lua mount partition_number data_type}, where partition number is a number
## data_type can be
## total - shows total number of partitions mounted, requires a partition_number also, use 1, could be used in an if_match
## fsys - shows filesystem
## size - shows space used in appropriate units
## free - shows free space in appropriate units
## use% - shows % used
## mount - shows mountpoint
####################################################### End LUA Settings ###
#The all important - How often conky refreshes.
update_interval 1
TEXT
${alignc}${time %A %d %B %Y}
${time %T}${alignr 15}${uptime_short}
${alignc}Hosted by: ${nodename}
${alignc}${color}${kernel}
Disk Activity
${goto 10}${diskiograph 50,250 FF0000 0000FF -t -l}${goto 10}${cpubar cpu4 50,250}${color}\
${voffset -35}${goto 80}SDA: R: ${diskio_read /dev/sda}
${goto 80} W: ${diskio_write /dev/sda}
${voffset 5}${goto 60}${color1}${fs_bar /}${color}
${voffset -31}/Root ${fs_size /}${goto 170}Used${goto 220}${fs_used_perc /}%
${goto 60}${color1}${fs_bar /home}${color}
${voffset -31}/Home ${fs_size /home}${goto 170}Used${goto 220}${fs_used_perc /home}%
${goto 60}${color1}${fs_bar /media/5}${color}
${voffset -31} /M/5 ${fs_size /media/5}${goto 170}Used${goto 220}${fs_used_perc /media/5}%
${goto 10}CPU Frequency ${freq_g}Ghz
${voffset 5}${goto 10}CPU1\
${voffset -8}${goto 60}${color1}${cpubar cpu1}${goto 60}${cpugraph cpu1 -t 20,200 FF0000 FFFF00}\
${voffset -12}${goto 70}${color}${if_match ${cpu cpu1}<10} ${cpu cpu1}\
${else}${if_match ${cpu cpu1}<100} ${cpu cpu1}\
${else}${cpu cpu1}${endif}${endif}%
${voffset 5}${goto 10}CPU2\
${voffset -8}${goto 60}${color1}${cpubar cpu2}${goto 60}${cpugraph cpu2 -t 20,200 FF0000 FFFF00}\
${voffset -12}${goto 70}${color}${if_match ${cpu cpu2}<10} ${cpu cpu2}\
${else}${if_match ${cpu cpu2}<100} ${cpu cpu2}\
${else}${cpu cpu2}${endif}${endif}%
${voffset 5}${goto 10}CPU3\
${voffset -8}${goto 60}${color1}${cpubar cpu3}${goto 60}${cpugraph cpu3 -t 20,200 FF0000 FFFF00}\
${voffset -12}${goto 70}${color}${if_match ${cpu cpu3}<10} ${cpu cpu3}\
${else}${if_match ${cpu cpu3}<100} ${cpu cpu3}\
${else}${cpu cpu3}${endif}${endif}%
${voffset 5}${goto 10}Avg\
${voffset -8}${goto 60}${color1}${cpubar cpu0}${goto 60}${cpugraph cpu0 -t 20,200 FF0000 FFFF00}\
${voffset -12}${goto 70}${color}${if_match ${cpu cpu0}<10} ${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100} ${cpu cpu0}\
${else}${cpu cpu0}${endif}${endif}%
RAM: ${mem} / ${memmax}
Network
Dn${goto 40}${downspeedgraph eth0 14,130 0000ff fff000 5 -lt}${alignr 5}${color5}${downspeedf eth0}${color}
Up${goto 40}${upspeedgraph eth0 14,130 fff000 0000ff 5 -lt}${alignr 5}${color5}${upspeedf eth0}${color}
Here is the result of your supplied conky. The offsets are naturally screwed up because our screen res don't match but the speed graph's lower borders are still missing.
http://i39.tinypic.com/35a6dk4.png