Ubuntu uses conky to add desktop controls
After learning about Ubuntu, I first wanted to use Windows desktop.
The desktop shortcut is to copy the app startup file under/usr/share/applications/to the desktop;
The following describes how to add a desktop control. I use Conky.
Check the effect. There are actually many other controls, but you need to download them separately:
Installation Method:
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
The page after startup is shown in the figure above.
Select the control to display it on the desktop. You can also set it and edit the script of the control.
The time control shown in the figure above is the script I have modified. It mainly removes Chinese garbled characters and modifies the layout. The modified script is as follows:
Use_xft yes
Xft font 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 CPU 0} %