Landscaping configuration process under 7.Ubuntu 16.04

Source: Internet
Author: User
Tags sublime text aliyun

original link: http://blog.csdn.net/wangweiqiang1325/article/details/53447123Let's look at the final effect:

One: Optimization

1. Switch the software source

The default Chinese server, we switch it to Aliyun.

In Settings--software and updates--download from--Other sites--China--http://mirrors.aliyun.com/ubuntu

2. First update all software sources and software to the latest

[Plain] View plainCopy
    1. sudo apt-get update
    2. sudo apt-get upgrade



3. Update the Chinese support completely

In Settings-language support, click the automatic prompt.

4. Remove some useless plugins

1) Uninstalling LibreOffice

[Plain] View plainCopy 
    1. <span style= "FONT-SIZE:18PX;" >sudo apt-get Remove Libreoffice-common </span>

2) Uninstall the Amazon link

[Plain] View plainCopy 
    1. <span style= "FONT-SIZE:18PX;" >sudo Apt-get Remove Unity-webapps-common
    2. </span>

3) Remove the infrequently used software

[HTML] View plainCopy
    1. <span style="FONT-SIZE:18PX;" >sudo apt-get Remove Thunderbird totem Rhythmbox empathy Brasero simple-scan gnome-mahjongg Aisleriot
    2. sudo apt-get remove gnome-mines cheese transmission-common gnome-orca webbrowser-app Gnome-sudoku Landscape-client-ui-install
    3. sudo apt-get remove onboard deja-dup
    4. </span>

Two: Install the software

1. Installing Gdebi

The system comes with Ubuntu Software Center under the things can also, software installation is too chicken, three-party verification is always not through.

[Plain] View plainCopy
    1. <span style= "FONT-SIZE:18PX;" >sudo Apt-get Install Gdebi
    2. </span>

After installing the Ded package, you can right-click Open mode--gdebi.

can also be under the terminal

[Plain] View plainCopy
    1. <span style= "FONT-SIZE:18PX;" >sudo Gdebi xxx.ded</span>

2. Without LibreOffice, we switched to WPS.

The WPS official website downloads the corresponding installation package to be possible.

3. Input Method

Although fcitx support Pinyin, but I still used to use Sogou, and Sogou also support the Linux.

Sogou Pinyin official website directly download the corresponding installation package for installation.

Configure input methods

Click on the letter A that icon-configuration-Add Input method, the Sogou added to the can, the useless delete, only left Sogou and English keyboard.

4. Install the music player

How can I not have some music during my code writing?

We use NetEase cloud, of course you can also use deep music.

NetEase Cloud Music Official website, direct download installs can.

5. Install QQ

Longjing Open Source community QQ, after QQ2012 version stop, QQ7.8 update back.

Longjing QQ Direct, directly download Ded installation package can be.

If you are 64-bit Ubuntu may require a 32-bit runtime.

[Plain] View plainCopy
    1. <span style= "FONT-SIZE:18PX;" >sudo dpkg--add-architecture i386
    2. echo "Deb http://old-releases.ubuntu.com/ubuntu/raring main restricted universe multiverse" |\
    3. ? sudo tee-a/etc/apt/sources.list.d/ia32-libs-raring.list
    4. sudo apt-get update
    5. sudo apt-get install ia32-libs</span>

Known Issues:

1) The password will not be saved.

2) Sometimes and the expression may not be used.

3) Sometimes QQ main panel will not open.

can also use wine1.8, run WinDOS platform QQ. Installation time will prompt the installation path is wrong, how to get wrong.

As for the depth of Deepin QQ is also good, has not found the installation method, if necessary, Baidu itself.

6. Installation

wine1.8 can still be installed under the Windows platform, but the input does not go into things. Only messages can be received.

The web version is also good.

Three: Productivity

1.vim

Ubuntu has integrated VI, the function is not complete, so we have to perform under the terminal:

[Plain] View plainCopy
    1. <span style= "FONT-SIZE:18PX;" >sudo Apt-get Install vim</span>


Configure VIM

Highlight + Auto Indent + line number + collapse + optimize

Configuration files in the/etc/vim/directory

Terminal Open

[Plain] View plainCopy
    1. <span style= "FONT-SIZE:18PX;" >sudo vi/etx/vim/vimrc</span>

Here are the configuration information that you can add to your needs

[Plain] View plainCopy
  1. <span style= "FONT-SIZE:18PX;" >set nocompatible "Turn off VI compatibility mode
  2. Syntax on "Automatic syntax highlighting
  3. ColorScheme Molokai "Set color scheme
  4. Set number "Displays line numbers
  5. Set Cursorline "highlight when moving forward
  6. Set ruler "Open the status bar ruler
  7. Set shiftwidth=4 "Settings << and >> command width of 4 when moving
  8. Set Softtabstop=4 "allows you to delete 4 spaces at a time by pressing BACKSPACE
  9. Set tabstop=4 "Set tab length to 4
  10. Set Nobackup "Overwrite file without backup
  11. Set Autochdir "Automatically switches the current directory to the directory where the current file is located
  12. FileType plugin indent on "Open plugin
  13. Set Backupcopy=yes "The behavior when setting up a backup is overwrite
  14. Set ignorecase smartcase "ignores case when searching, but remains case sensitive when one or more uppercase letters are available
  15. Set Nowrapscan "Prohibit re-searching when searching to both ends of a file
  16. Set Incsearch "Search results are displayed when you enter search content
  17. Set Hlsearch "Highlight found text when searching
  18. Set Noerrorbells "Shutdown error message ring
  19. Set Novisualbell "off using visual bells instead of calls
  20. Set t_vb= "Empty error ringtone terminal code
  21. Set Showmatch "When inserting parentheses, briefly jump to matching corresponding parentheses
  22. Set matchtime=2 "briefly jumps to the time of matching parentheses
  23. Set Magic
  24. Set hidden "allows the buffer to be toggled when there are unsaved modifications, where the modification is saved by vim
  25. Set Guioptions-=t "Hide the toolbar
  26. Set guioptions-=m "Hide Menu bar
  27. Set smartindent "Use Smart Auto indent when new rows are turned on
  28. Set Backspace=indent,eol,start
  29. "No setting in Insert State cannot remove carriage return with backspace and delete keys
  30. Set Cmdheight=1 "Sets the number of lines on the command line to 1
  31. Set laststatus=2 "Show status bar (default = 1, cannot display status bar)
  32. Set statusline=\%<%f[%1*%m%*%n%r%h]%=\%y\%0 (%{&fileformat}\%{&encoding}\%c:%l/%L%) \
  33. "Sets the information displayed in the status line
  34. Set foldenable "Start folding
  35. Set Foldmethod=syntax "Setting syntax folding
  36. Set foldcolumn=0 "Sets the width of the collapsed area
  37. Setlocal foldlevel=1 "Sets the number of collapsed layers to
  38. Set Foldclose=all "to automatically turn off folding
  39. Nnoremap <space> @= ((Line ('. ')) < 0)? ' Zc ': ' zo ') <CR>
  40. "Use the SPACEBAR to switch folding </span>


2. Add as Notes

A cross-platform cloud-based note

[Plain] View plainCopy
    1. <span style= "FONT-SIZE:18PX;" >sudo add-apt-repository Ppa:wiznote-team
    2. sudo apt-get update
    3. sudo apt-get install wiznote</span>


3. Add git

Programmer Essentials

[Plain] View plainCopy
    1. <span style= "FONT-SIZE:18PX;" >sudo Apt-get Intsall git</span>


4. Installing Sublime Text 3

Sublime Text 3 is a good choice for the main editor, as well as a variety of plug-in support.

Under Terminal execution:

[Plain] View plainCopy
    1. <span style= "FONT-SIZE:18PX;" >sudo add-apt-repository ppa:webupd8team/sublime-text-3
    2. sudo apt-get update
    3. sudo apt-get install sublime-text</span>

Add some plugins in the sublime text:

Package Control

The package control is a tool for installing plug-ins online and needs to be installed before use. The installation method is as follows:

Click "View"-"Show console" in the menu to bring up the console. Then paste the following code into the return, you need to wait a little while.

import urllib.request,os,hashlib; h = ‘df21e130d211cfc94d9b0905775a7c0f‘ + ‘1e3d39e33b79698005270310898eea76‘; pf = ‘Package Control.sublime-package‘; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( ‘http://packagecontrol.io/‘ + pf.replace(‘ ‘, ‘%20‘)).read(); dh = hashlib.sha256(by).hexdigest(); print(‘Error validating download (got %s instead of %s), please try manual install‘ % (dh, h)) if dh != h else open(os.path.join( ipp, pf), ‘wb‘ ).write(by) 

How to install the plug-in to material Theme (a dark system flat theme) for example

    • Press and hold ctrl+shift+p to open the command panel
    • Press ENTER after entering the install package in the input box, then search for "Material Theme" and press the ENTER key to install

Recommended Plugins:

Material Theme: a nice flat theme

The effect is as follows:

    • ConvertToUTF8

Sublime-text itself is not supported in Chinese encoding, through this plugin can effectively solve the problem of Chinese garbled.

    • Sublimeastyleformatter

Sublime Text 3 under the C + + code grooming tool, as if Java is also supported.

    • Brackethighlighter

The plug-in highlighting the parentheses in the code

    • Insertdate

You can quickly insert a time in a document, and the initial shortcut key is Ctrl+f5. The effect is as follows

[Plain] View plainCopy
    1. <span style= "FONT-SIZE:18PX;" >2016 November 27 Sunday </span>

Four. Ubuntu Theme beautification

Unity-tweak-tool

Tuning the Unity desktop environment, or the use of the Unity Tweak tool, is a very useful unity graphical management tool that modifies the number of workspaces, hot zones, and so on.

[Plain] View plainCopy
    1. <span style= "FONT-SIZE:18PX;" >sudo apt-get Install Unity-tweak-tool </span>


Flatabulous Themes

Flatabulous theme is a flat theme of Ubuntu, and I have tried many of the themes of the favorite one! The final effect is shown in the figure above.

Install the flatabulous topic by executing the following command:

[Plain] View plainCopy
    1. <span style= "FONT-SIZE:18PX;" >sudo add-apt-repository Ppa:noobslab/themes
    2. sudo apt-get update
    3. sudo apt-get install flatabulous-theme</span>


The theme has a matching icon, which is installed as follows:

[Plain] View plainCopy
    1. <span style= "FONT-SIZE:18PX;" >sudo add-apt-repository ppa:noobslab/icons
    2. sudo apt-get update
    3. sudo apt-get install ultra-flat-icons</span>

After the installation is complete, open the Unity-tweak-tool software and modify the themes and icons:

Enter theme, change to Flatabulous

Recommended a matching wallpaper:

3D Desktop is also a small highlight of the unity desktop

To install the video driver:

Add your own drivers to the settings-software and updates-additional drivers

Installing Compiz

[Plain] View plainCopy
    1. sudo apt-get install Compiz-plugins
    2. sudo apt-get install Compizconfig-settings-manager


Open Compiz Self-configuring:

Effect Demo

Reference:

1.http://blog.csdn.net/terence1212/article/details/52270210

2.http://www.cnblogs.com/wangj08/archive/2013/03/13/2957309.html

Landscaping configuration process under 7.Ubuntu 16.04

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.