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
- sudo apt-get update
- 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
- <span style= "FONT-SIZE:18PX;" >sudo apt-get Remove Libreoffice-common </span>
2) Uninstall the Amazon link
[Plain] View plainCopy
- <span style= "FONT-SIZE:18PX;" >sudo Apt-get Remove Unity-webapps-common
- </span>
3) Remove the infrequently used software
[HTML] View plainCopy
- <span style="FONT-SIZE:18PX;" >sudo apt-get Remove Thunderbird totem Rhythmbox empathy Brasero simple-scan gnome-mahjongg Aisleriot
- sudo apt-get remove gnome-mines cheese transmission-common gnome-orca webbrowser-app Gnome-sudoku Landscape-client-ui-install
- sudo apt-get remove onboard deja-dup
- </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
- <span style= "FONT-SIZE:18PX;" >sudo Apt-get Install Gdebi
- </span>
After installing the Ded package, you can right-click Open mode--gdebi.
can also be under the terminal
[Plain] View plainCopy
- <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
- <span style= "FONT-SIZE:18PX;" >sudo dpkg--add-architecture i386
- echo "Deb http://old-releases.ubuntu.com/ubuntu/raring main restricted universe multiverse" |\
- ? sudo tee-a/etc/apt/sources.list.d/ia32-libs-raring.list
- sudo apt-get update
- 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
- <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
- <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
- <span style= "FONT-SIZE:18PX;" >set nocompatible "Turn off VI compatibility mode
- Syntax on "Automatic syntax highlighting
- ColorScheme Molokai "Set color scheme
- Set number "Displays line numbers
- Set Cursorline "highlight when moving forward
- Set ruler "Open the status bar ruler
- Set shiftwidth=4 "Settings << and >> command width of 4 when moving
- Set Softtabstop=4 "allows you to delete 4 spaces at a time by pressing BACKSPACE
- Set tabstop=4 "Set tab length to 4
- Set Nobackup "Overwrite file without backup
- Set Autochdir "Automatically switches the current directory to the directory where the current file is located
- FileType plugin indent on "Open plugin
- Set Backupcopy=yes "The behavior when setting up a backup is overwrite
- Set ignorecase smartcase "ignores case when searching, but remains case sensitive when one or more uppercase letters are available
- Set Nowrapscan "Prohibit re-searching when searching to both ends of a file
- Set Incsearch "Search results are displayed when you enter search content
- Set Hlsearch "Highlight found text when searching
- Set Noerrorbells "Shutdown error message ring
- Set Novisualbell "off using visual bells instead of calls
- Set t_vb= "Empty error ringtone terminal code
- Set Showmatch "When inserting parentheses, briefly jump to matching corresponding parentheses
- Set matchtime=2 "briefly jumps to the time of matching parentheses
- Set Magic
- Set hidden "allows the buffer to be toggled when there are unsaved modifications, where the modification is saved by vim
- Set Guioptions-=t "Hide the toolbar
- Set guioptions-=m "Hide Menu bar
- Set smartindent "Use Smart Auto indent when new rows are turned on
- Set Backspace=indent,eol,start
- "No setting in Insert State cannot remove carriage return with backspace and delete keys
- Set Cmdheight=1 "Sets the number of lines on the command line to 1
- Set laststatus=2 "Show status bar (default = 1, cannot display status bar)
- Set statusline=\%<%f[%1*%m%*%n%r%h]%=\%y\%0 (%{&fileformat}\%{&encoding}\%c:%l/%L%) \
- "Sets the information displayed in the status line
- Set foldenable "Start folding
- Set Foldmethod=syntax "Setting syntax folding
- Set foldcolumn=0 "Sets the width of the collapsed area
- Setlocal foldlevel=1 "Sets the number of collapsed layers to
- Set Foldclose=all "to automatically turn off folding
- Nnoremap <space> @= ((Line ('. ')) < 0)? ' Zc ': ' zo ') <CR>
- "Use the SPACEBAR to switch folding </span>
2. Add as Notes
A cross-platform cloud-based note
[Plain] View plainCopy
- <span style= "FONT-SIZE:18PX;" >sudo add-apt-repository Ppa:wiznote-team
- sudo apt-get update
- sudo apt-get install wiznote</span>
3. Add git
Programmer Essentials
[Plain] View plainCopy
- <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
- <span style= "FONT-SIZE:18PX;" >sudo add-apt-repository ppa:webupd8team/sublime-text-3
- sudo apt-get update
- 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:
Sublime-text itself is not supported in Chinese encoding, through this plugin can effectively solve the problem of Chinese garbled.
Sublime Text 3 under the C + + code grooming tool, as if Java is also supported.
The plug-in highlighting the parentheses in the code
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
- <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
- <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
- <span style= "FONT-SIZE:18PX;" >sudo add-apt-repository Ppa:noobslab/themes
- sudo apt-get update
- sudo apt-get install flatabulous-theme</span>
The theme has a matching icon, which is installed as follows:
[Plain] View plainCopy
- <span style= "FONT-SIZE:18PX;" >sudo add-apt-repository ppa:noobslab/icons
- sudo apt-get update
- 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
- sudo apt-get install Compiz-plugins
- 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