Ubuntu 13.10 & Ubuntu 14.04 64-bit installation and configuration of Google Pinyin input method and Adobe Flash Player, mp3 plug-in installation, Chinese GBK encoding, etc. __ encoding

Source: Internet
Author: User
Tags gz file unpack

have been playing under the virtual machine Ubuntu, today, the emergence of the hard disk directly installed on the Ubuntu 13.10 version, the installation of a computer disk empty, there is 68G, for the installation of Ubuntu, will download the system image using UltraISO production boot disk, production method reference this blog, The brief steps for,ultraiso-> open ISO file--(startup) write hard disk image, in the pop-up window, click on the "Convenient startup button" and write the new drive boot sector->syslinux. Then click on the Write button below to wait for the completion. Note This process overwrites the contents of the USB drive, please pay attention to the backup!

Update, Ubuntu just released a 14.04 of the LTS version, code trusty Tahr installation method and 13.10, if it was originally installed win 8, and then installed Ubuntu 14.04, after installation may win 8.1 of the startup items disappeared, Booting into Ubuntu by default, just perform sudo update-grub under Ubuntu.

Next is to restart the computer, select the U-disk start, how to choose Baidu or Google, in order to quickly install, unplug the network cable to start the installation, otherwise it will download language packs at the time of installation, if the network is not good, this process is very long, these can be left to the system after the installation of their own update on the good, remember Enter the installation program, choose the time zone, language, set the account password is very simple thing, which needs to be noted is the partition, I am the partition of the 68G is divided into two zones, due to the previous installation system, so this area is logical partition, logic partition, two partitions 64G EXT4 system partition and 4G swap partition, what is the swap partition for search resolution. The rest is all the way to the next resolution. Install complete unplug u disk, reboot system, install update language Pack, add Chinese language.

。 ~ Note: When using sudo to start the command, it is possible to ask for a password, this password is your system login password, command line input place is terminal, can be directly in the launcher search, similar to Windows DOS command cmd ~.

=================== google Pinyin installation ===================

Then is installed input method, I use FCITX, command installation sudo apt-get install FCITX

Then install Google Pinyin, open Ubuntu Software Center software Centre, search Fcitx Google, will find the "Fcitx wrapper for Google Pinyin IM engine" and install.

OK, the installation is complete, the next step is to uninstall the system comes with the input method, in the software center installed in the installation found SCIM, and then uninstall, or I command sudo apt-get removefcitx.

OK, you are done, logout system, re-login, you can press Ctrl+space switch Input method slightly ~ ~

Another way is to search for Google Pinyin directly in Software Center, find googlepinyin for IBUs engine, install, then log out, tap the language icon in the upper-right corner of the screen, and then click Text Entry Settings , in the pop-up interface click + Number, and then search Pinyin, will appear Google Pinyin, directly add can, in fact, the newly installed 14.04 has been self-contained Chinese pinyin input method, but used to know, with a bit of pain, Google Pinyin is now doing very well, with very comfortable ~ ~


=================== sogou Pinyin Installation ===================

In fact, Sogou Pinyin has launched the Linux version, the installation method is very simple, just install the download of the Deb package can be. If your FCITX version is too low, upgrade the FCITX first, then install the downloaded installation package. Please refer to the official website description: http://pinyin.sogou.com/linux/



=============== Flash Player Installation ==========================

Every time you open Firefox, the browser prompts indeed flash plugin, install browser prompt, this goods tell me not to find the right plug-in, tangled, and then only to do it yourself, first download flash Player plugin, I downloaded the compressed package. tar.gz file, unzip to local, follow the instructions in the ReadMe.txt file, step by step installation. Plugin Download Address: http://get.adobe.com/cn/flashplayer/

1. Unzip:

TAR-ZXVF install_flash_player_11_linux.x86_64.tar.gz
2. Open the Readme file, find the 30th line of "Installation Instructions" content, install the steps step by step:

Installation Instructions
-------------------------

installing using the plugin tar.gz:
	o Unpack the Plugin tar.gz and copy the files to the appropriate location.  
	o Save the plugin tar.gz locally and note the location the file is saved to.
	o Launch terminal and change directories to the location the file is saved to.
	o Unpack the tar.gz file.  Once unpacked you'll see the following:
		+ libflashplayer.so
		+/usr o Identify the location of the
	browser Pl Ugins directory, based on your Linux distribution and Firefox version
	o Copy libflashplayer.so to the appropriate bro Wser Plugins directory.  At the prompt type:
		+ cp libflashlayer.so <BrowserPluginsLocation>
	o Copy the Flash Player Local Settings Configurations files to the/usr directory.  At the prompt type:
		+ sudo cp-r usr/*/usr

3. From the 5th step, confirm the Firefox plugin directory plugins directory. My Ubuntu 13.10 64bit full directory is/usr/lib/mozilla/plugins/, next copy libflashplayer.so to this directory, replace <browserpluginslocation in command >, copy complete can be checked for success by command "File/usr/lib/mozilla/plugins/libflashplayer.so". Then copy the extracted USR directory to the/usr directory, and the "/usr" directory is the USR under the system root directory. command to post it:

sudo mv libflashplayer.so/usr/lib/mozilla/plugins/  
sudo cp-r usr/*/usr

OK, restart Firefox browser, on Youku, is not the video come out ~ ~

Flash Installation Reference article: http://www.linuxidc.com/Linux/2012-11/73629.htm

Also recommended Firefox translation plugin:

Quick Translator, Word translation, very convenient ~ ~ https://addons.mozilla.org/zh-cn/firefox/addon/quick-translator/

For full page translation, Gtranslator http://mozilla.com.cn/addon/24/


=============== MP3 Plug-in installation ==========================

Ubuntu system default does not support MP3 decoding, egg pain goods, open mp3 files, tips

Rhythmbox requires to install plugins to play media files of the following Type:mpeg-1 Layer 3 (MP3) decoder
Search on the internet for half a day, some people say install GStreamer plug-in, do a half-day, not, in the Ubuntu software Center in the search for this plug-in, also installed, the result or not, finally in the official website of the question and answer to find a way to hit the method: Installation Ubuntu-restricted-extras, you can search for an installation directly in Ubuntu software Center, or you can order the address

sudo apt-get install Ubuntu-restricted-extras
There is a problem of egg pain, is the Chinese garbled, according to the Internet, the following methods:

sudo apt-get install Python-mutagen
Then, in the folder where you placed the mp3 file, execute the following command. Note: If you have a child file, you also need to execute the same command within the subfolder

MID3ICONV-E GBK *.mp3
OK, Chinese garbled problem solved.

Reference: http://www.cnblogs.com/peixiuen/archive/2013/05/21/3091435.html

Another reference to this also set up, do not know later will not be effective, now see no effect. http://my.oschina.net/fanxiao/blog/61494

=============== Install configuration GBK solve Chinese garbled ========================== The default supported Chinese encoding for Linux is UTF-8 encoding, while Windows supports GBK encoding.

We can install the GBK code, and then set it to the default, remember not to set this encoding as a global, otherwise it will cause a lot of problems.

Install GBK locale,

sudo vi/var/lib/locales/supported.d/local 
Add the following content
ZH_CN. GBK GBK
zh_cn. GBK2312 GBK2312

Then execute:

Just fine.

Then temporarily set the encoding in the terminal:

Export LANG=ZH_CN. GB18030  
Choose GBK or GBK18030 as needed here GBK2312
Then start the program in the terminal, like Eclipse, when the encoding in eclipse defaults to that encoding, and if your project is from Windows, the Chinese encoding problem can be solved.

In the future only need to start the program in the terminal, before the start of export Lang, you can write a shell script to automate these things, more convenient.
Reference: http://blog.chinaunix.net/uid-20314312-id-1967279.html



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.