|
Learn under Ubuntu, first of all I wanted to use Windows desktop.
Desktop shortcut is to / usr / share / applications / startup file copy the following application to the desktop;
Here mainly to talk about how to add a desktop control. I use Conky
Look at the effect, in fact, there are many other controls, but require additional download:
installation method:
You must first install Conky:
sudo apt-get install conky-all
Then install the GUI manager:
sudo add-apt-repository ppa: teejee2008 / ppa
sudo apt-get update
sudo apt-get install conky-manager
After the start of the interface is shown in the picture above.
Choose one of the control check will be displayed on the desktop, you can also set it up, you can also directly edit the script control.
Time control shown in the figure above me is my modified script, mainly Chinese garbled remove, modify the layout. I modified the script as follows:
use_xft yes
xftfont 123: size = 8
xftalpha 0.1
update_interval 1
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent no
own_window_hints undecorated, below, sticky, skip_taskbar, skip_pager
own_window_colour 000000
own_window_argb_visual yes
own_window_argb_value 51
double_buffer yes
#minimum_size 250 5
#maximum_width 500
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color red
default_outline_color green
alignment top_right
gap_x 0
gap_y 0
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer yes
minimum_size 0 0
TEXT
$ {Voffset 10} $ {color EAEAEA} $ {font GE Inspira: pixelsize = 100} $ {time% H:% M} $ {font} $ {voffset -80} $ {offset 50} $ {color FFA300} $ {voffset 0} $ {offset 50} $ {color EAEAEA} $ {font GE Inspira: pixelsize = 40} $ {time% m} $ {time% Y} $ {font} $ {voffset 24} $ {font GE Inspira : pixelsize = 58} $ {offset -50} $ {time% d} $ {font}
$ {Voffset 1} $ {offset 12} $ {font Ubuntu: pixelsize = 12} $ {color FFA300}
$ {Offset 10} HD $ {offset 9} $ color $ {fs_free /} / $ {fs_size /} $ {offset 30} $ {color FFA300} RAM $ {offset 9} $ color $ mem / $ memmax $ {offset 30} $ {color FFA300} CPU $ {offset 9} $ color $ {cpu cpu0}% |
|
|
|