Ubuntu using Conky to add desktop controls

Source: Internet
Author: User
Tags file copy

Weekend's okay. For fun, Ubuntu, first you want to use Windows desktop.

Desktop shortcut is to the/usr/share/applications/below the application launch file copy to the desktop;

The following is mainly about how to add a desktop control. I'm using a conky.

Look at the effect, actually there are many other controls that just need to be downloaded separately:


Installation method:

The first thing to install is 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 interface after launch is shown in the image above.

Select the controls, and the check box will appear on the desktop, you can set it, and you can edit the control's script directly.

The time control I have shown in the above figure is the script I modified, mainly to remove the Chinese characters and modify the layout. My revised script is as follows:

Use_xft yesxftfont 123:size=8xftalpha 0.1update_interval 1total_run_times 0own_window yesown_window_type normalown_ Window_transparent noown_window_hints Undecorated,below,sticky,skip_taskbar,skip_pagerown_window_colour 000000own _window_argb_visual yesown_window_argb_value 51double_buffer yes#minimum_size, 5#maximum_width 500draw_shades Nodraw_outline nodraw_borders nodraw_graph_borders nodefault_color whitedefault_shade_color reddefault_outline_ Color greenalignment top_rightgap_x 0gap_y 0no_buffers yesuppercase nocpu_avg_samples 2net_avg_samples 1override_utf8_ Locale yesuse_spacer yesminimum_size 0 0text${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}%

All right, let's add some more fun!

Ubuntu using Conky to add desktop controls

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.