CentOS 7 Common tools to install, and CentOS installation Fcitx Sogou Input method of the Pit brigade

Source: Internet
Author: User
Tags gpg rar centos

CentOS Common Settings

1. Hide title bar when maximized

Or use Tweak tool to set the title bar font to 0 in the font ... Suggest this method.


2. Add Epel Source

Yum-y--nogpgcheck Install http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm

3 Add Elrepo Source:
1 Import Key:
Wget-c https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
RPM--import rpm-gpg-key-elrepo.org
2 Add Source: RPM-UVH http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm

4 Update Resources

Yum-y Install Yum-fastestmirror//install plugin Fastestmirror, allows Yum Manager to automatically search for the fastest source download
Yum Makecache//Rebuild Repolist Resource Cache
Yum Update//update.

5. Installation Basic Tools

Gnome2 's Registry Editor Gconf-editor is being replaced by dconf-editor, and more hidden settings can be modified by Dconf-editor. However, at present you modify the Gconf-editor also effective.

Yum Install Dconf-editor

Yum Install Gconf-editor

Yum install ntfs-3g read NTFS hard drives

Yum-y Install Alacarte custom application shortcuts

6. Install shell extensions
Yum Install Gnome-tweak-tool

https://extensions.gnome.org/

Use the default Firefox to access this site. Only Firefox installed the plugin gnome Shell integration to normal access will install to

Taskbar set head icon

Topicons will move the Fcitx Input method icon to the top bar

ALT+F2 input R Reset Gnome Shell

7. Install RAR tool Note Do not download the wrong version. This is a 64-bit.

wget http://rarlab.com/rar/rarlinux-x64-5.1.1.tar.gz
TAR-ZXVF rarlinux-x64-5.1.1.tar.gz
CD rar
Su Root
Make
Make install


8 Install Input Method domestic one elder brother Taiwan's source https://copr.fedoraproject.org/coprs/mosquito/myrepo/. Thanks for sharing

1 installation Source

# wget Https://copr.fedoraproject.org/coprs/mosquito/myrepo/repo/epel-7/mosquito-myrepo-epel-7.repo-O/etc/ Yum.repos.d/mosquito-myrepo-epel-7.repo
2. Install Sogou Input Method
# yum Install Sogou-pinyin Sogou-pinyin-skins
3. Configure FCITX
To log on the user to run the following command, turn off the IBUs keyboard monitoring This is the ordinary user to perform. Root not.
# Gsettings Set Org.gnome.settings-daemon.plugins.keyboard active false
Toggle Input Method
# Imsettings-switch FCITX
Finally, it is best to restart the system, the input method will automatically start.
4. "Landscaping"
-Input Method icon at the bottom of the notification bar, install gnome3 top-icon extension, you can move the icon to the top of the taskbar;
-Install Gnome-shell inputmethod Panel extension, using a uniform input method style with Gnome3 style;
-Sogou-pinyin-skins Package provides 58 skin, right click on the input icon, you can choose to like the skin

9. Install cinnamon

Yum Install cinnamon*

Problem with Input method

VI ~/.BASHRC

if [$DESKTOP _session = = "cinnamon"]; Then
Export Gtk_im_module=xim
Fi

Sogou Input method can not start from the words

sudo rm/etc/xdg/autostart/fcitx-ui-sogou-qimpanel.desktop

Cat/home/zhepama/.config/autostart/sogou-qimpanel.desktop
[Desktop Entry]
Type=application
Exec=sogou-qimpanel
Hidden=false
Nodisplay=false
X-gnome-autostart-enabled=true
Name[zh_cn]=sogou-qimpanel
Name=sogou-qimpanel
Comment[zh_cn]=sogou-qimpanel
Comment=sogou-qimpanel

10. Close SELinux

Vi/etc/selinux/config

#SELINUX =enforcing #注释掉

#SELINUXTYPE =targeted #注释掉

Selinux=disabled #增加

: wq! #保存退出

11. After completing the kernel update. Re-execute.
Vi/etc/grub.d/40_custom

Menuentry "Win7" {
Set root= (hd0,1)
Chainloader +1
}

Grub2-mkconfig-o/boot/grub2/grub.cfg

12 Disable Touch version add Startup Project in System tool = = Start Application

/usr/local/bin/fingersensingpad.sh off
CentOS 7 Install FCITX Sogou Input Method

The method of installing Fcitx IME under CentOS 7 is as follows.

Join Epel Source

EPEL7 is almost an essential source of CentOS:

$ wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-1.noarch.rpm
$ sudo rpm-ivh epel-release-7-1.noarch.rpm
$ sudo rpm--import/etc/pki/rpm-gpg/rpm-gpg-key-epel-7
Add Mosquito-myrepo Source Mosquito-myrepo is a privately produced third-party source that contains the Fcitx input method as well as the Sogou input method based on FCITX. Project address: https://copr.fedoraproject.org/coprs/mosquito/myrepo/supported distributions: Fedora 19/20/21/rawhide and Rhel/centos 7
$ Yum-config-manager--add-repo=https://copr.fedoraproject.org/coprs/mosquito/myrepo/repo/epel-7/ Mosquito-myrepo-epel-7.repo
Install Sogou Input Method installation
$ yum Install Sogou-pinyin Sogou-pinyin-skins
Configuration

First turn off the Gnome-shell on the keyboard, and then switch the input method for FCITX: (after keyboard monitoring enabled, still can use the keyboard default IBUs input method)

$ gsettings Set Org.gnome.settings-daemon.plugins.keyboard active false
$ imsettings-switch FCITX
Overload FCITX, start Sogou panel
$ fcitx-r; Fcitx-configtool
$ sogou-qimpanel

After installation, FCITX and Sogou input method will appear in the lower right corner of the notice bar, this time need to restart Gnome-3 desktop hold down the "alt+f2" input R, FCITX status can appear in the status bar above.

It appears that a reboot is required or that the user is logged back. installing additional input methods

Sogou Input method is basically enough, you can also install other Chinese input methods:

$ yum Install fcitx-googlepinyin fcitx-cloudpinyin # Google Pinyin Input Method
$ yum Install fcitx-rime Fcitx-cloudpinyin # Zhongzhou Input Method
$ Yum install fcitx-libpinyin Fcitx-cloudpinyin # libpinyin IME
$ yum Install Fcitx-sunpinyin Sunpinyin-data Dpinyin # Sunpinyin Input Method
clean-up Work Mosquito-myrepo is constantly supporting more software, which further causes the software in the repo to conflict with the software in base and Epel. It is recommended that you install the Yum Priority plug-in yum-plugin-priorities in the Repo Project home page, which in some ways alleviates version conflict issues but cannot be fundamentally avoided.

Given that multiple repo version conflicts can cause problems, the best approach is to disable the repo after you install the software you need, and then enable it when needed.

Edit/etc/yum.repos.d/mosquito-myrepo-epel-7.repo, the enable=1 of which can be changed into enable=0.

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.