Verified with Conky 1.9.0 on Mint 14 Xfce.
Install Conky Digital Clock
-
Save the following configurations in a file named "conkyrc":
use_xft yes xftfont 123:size=8 xftalpha 0.1 update_interval 3 total_run_times 0 own_window yes own_window_type conky own_window_argb_visual no own_window_argb_value 0 own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes minimum_size 250 150 maximum_width 650 draw_shades yes draw_outline no draw_borders no draw_graph_borders no default_color e0e0e0 default_shade_color black default_outline_color green alignment tr gap_x 15 gap_y 25 no_buffers yes uppercase no cpu_avg_samples 2 net_avg_samples 1 override_utf8_locale yes use_spacer right TEXT \({voffset 10}\)\({font Ubuntu:pixelsize=120}\)\({font}\)\({offset 10}\)\({font Ubuntu:pixelsize=42}\)\({voffset -14}\)\({font Ubuntu:pixelsize=22} ${time %B} ${time %Y}\)\({voffset 24}\)\({offset -165}\)\({font} ${voffset -2}\)\({font Ubuntu:pixelsize=10}\)HD \({offset 5}\)color\({fs_free /home} / ${fs_size /home}\)\({color #FCD97B}RAM ${offset 5}\)color\(mem / $memmax\)\({color #FCD97B}CPU ${offset 5}\)color\({cpu cpu0}%\)\({color #FCD97B}DOWN\)color\({offset 5}\)\({downspeed eth1}\)\({if_existing /proc/net/route eth0}\)\({else}\)\({downspeed eth0}\)\({endif}\)\({offset 15}\)UP\(color\)\({if_existing /proc/net/route eth1}\)\({else}\)\({upspeed eth0}\)\({if_existing /proc/net/route eth0}\)\({endif}\)${endif}
-
start conky with
conky -d -c conkyrc
;
Conky Customization
Conky Configuration File
In above configuration file, texts above "TEXT" is "configuration" segment.
If you want a transparent background, "own_window yes, own_window_type conky, own_window_argb_visual no, own_window_argb_value 0, own_window_transparent yes" is the keys;
If the clock only displays a half, you can enlarge the value in "minimum_size".
Use "man conky" for exact meaning of all above configuration parameters.
Under "TEXT" is "how to draw conky panel" segment. You can see all the details like ${time %H:%M} and its appearance (like ${font ...}, ${color ...}), position (like ${voffset...}) in this section.
Debugging Conky Configuration File
When you modify conkyrc and save the file, conky will automatically reload the file. No need to "shutdown - modify - restart", which make it very convinient to see the effect of your modification.
Make Conky Clock Autostart
AppFinder -> Session and Startup -> Application Autostart -> Add: Name: Conky, Command: conky -d -c ~/apps/conky/conkyrc
Reference: http://www.noobslab.com/2012/09/install-gotham-conky-in-ubuntulinux.html
More Conky Style: http://www.noobslab.com/2012/07/conky-collection-for-ubuntulinux.html