Ubuntu Chinese Input Method and login method after password is forgotten

Source: Internet
Author: User
1. Uninstall ibus Input Method: sudoapt-getremoveibussudo to get the root permission, Ubuntu System Default root Account closed, many operations need to get the root permission to killallibus-daemonsudoapt-getpurgeibusibus-gtkibus-gtk3ibus-pinyin * ibus-s

1. Uninstall the ibus Input Method: sudo apt-get remove ibus

Sudo indicates that the root account is disabled in Ubuntu by default. Many operations can be performed only when the root permission is obtained.

Killall ibus-daemon

Sudo apt-get purge ibus-gtk ibus-gtk3 ibus-pinyin * ibus-sunpinyin ibus-table python-ibus

Rm-rf ~ /. Config/ibus

Delete the keyboard prompt:

Apt-get autoremove indicator-keyboard

2. After the installation is complete, restart the Ubuntu system to avoid subsequent installation errors.

3. Add the installation Source

There are two methods (2 is recommended), (1) the sogou input method may not be installed ):

(1) sudo add-apt-repository ppa: fcitx-team/nightly

(2) sudo gedit/etc/apt/sources. list Add the following two lines to the opened sources. list: deb http://ppa.launchpad.net/fcitx-team/nightly/ubuntu quantal main deb-src http://ppa.launchpad.net/fcitx-team/nightly/ubuntu quantal main

4. Update Source

Sudo apt-get update

5. Install the fcitx and fcitx-sunpinyin input methods (optional)

Sudo apt-get install fcitx-config-gtk fcitx-sunpinyin (pinyin)

Sudo apt-get install fcitx-config-gtk fcitx-sogoupinyin (sogou)

6. Installation code table

Sudo apt-get install fcitx-table-all

7. enter im-switch-s fcitx-z default to set fcitx as the default input method or use system-system management-language support to enable the language and text settings, on the language page, select fcitx from the keyboard input system.

Ps: In addition, you can right-click the Input Method for configuration, including skin and shortcut keys. now all installation is complete. You need to restart fcitx and right-click the keypad icon in the upper right corner of the system to find the option. the English version is (restart ).

I haven't logged on to ubuntu for a long time. I found that I forgot my password and quickly found the answer. I will share it here for future use.

If it is a dual-system, select the advance version when you start the system. Then, you will see the recovery version. Do not enter the version. Press E on the disk to edit the version and find linux ...... After ro is changed to rw, press F10 and restart. Then select root and enter the following in the command line:

# Passwd yourusername,

Enter the new password on both sides. Press ctrl + shift + alt, restart system. Congratulations!

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/2014-05/101005.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.