Ubuntu uses conky to add desktop controls

Source: Internet
Author: User
After learning about Ubuntu, I first wanted to use Windows desktop. The desktop shortcut is to copy the application startup file under/usr/share/applications/to the desktop. The following describes how to add a desktop control. I used Conky to check the effect. In fact, there are many other controls. I just need to download the following: Installation Method: first install Conky: sudoapt-getinstallconky-all and then install the GUI manager.

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} %

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-01/112624.htm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.