https://blog.csdn.net/tham_/article/details/41868831

Centos常用设置

1.当最大化时隐藏标题栏

或者使用tweak tool 在字体中将标题栏字体设置为0...建议这个方法.

2.添加epel源

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

3 添加 elrepo 源:
1 导入 key:
wget -c https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm --import RPM-GPG-KEY-elrepo.org
2 添加源:rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm

4  更新资源

yum -y install yum-fastestmirror //安装插件fastestmirror,可以让yum管理器自动搜索最快源下载
yum makecache //重建repolist资源缓存
yum update //更新。

5.安装基本工具

gnome2 的 “注册表编辑器” gconf-editor 正在被  dconf-editor 所取代,更多的隐藏设置也可以通过 dconf-editor 进行修改。不过目前您修改 gconf-editor 同样生效。

yum install dconf-editor

yum install gconf-editor

yum install ntfs-3g
 读取ntfs硬盘

yum -y install alacarte   自定义应用程序快捷方式

6.安装shell扩展
yum install gnome-tweak-tool

https://extensions.gnome.org/

使用默认火狐进入这个网站。。只有火狐安装了插件Gnome Shell Integration 才能正常访问 会安装到

TaskBar  设置头部图标

Topicons   会把fcitx输入法图标移动到顶部栏上

alt+f2 输入r  重起gnome shell

7.安装rar工具  注意不要下载错版本。这里用的是64位的

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安装输入法  国内一位兄台的源  https://copr.fedoraproject.org/coprs/mosquito/myrepo/。感谢分享

1 安装源

# 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. 安装搜狗输入法
# yum install sogou-pinyin sogou-pinyin-skins
3. 配置fcitx
以登陆用户运行以下命令,关闭ibus键盘监听  这个是普通用户执行。。root不行
# gsettings set org.gnome.settings-daemon.plugins.keyboard active false
切换输入法
# imsettings-switch fcitx
最后,最好重启系统,输入法会自动启动。
4. “美化”
- 输入法图标在底部的通知栏,安装gnome3的 top-icon 扩展,可以使图标移到顶部任务栏;
- 安装 gnome-shell 的 InputMethod Panel 扩展,使用与gnome3风格统一的输入法样式;
- sogou-pinyin-skins 包提供了 58 款皮肤,右击输入法图标,可以选择喜欢的皮肤

9. 安装cinnamon

yum install cinnamon*

输入法有问题

vi ~/.bashrc

if [ $DESKTOP_SESSION == "cinnamon" ]; then
export GTK_IM_MODULE=xim
fi

搜狗输入法不能自启动的话

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.关闭selinux

vi /etc/selinux/config

#SELINUX=enforcing #注释掉

#SELINUXTYPE=targeted #注释掉

SELINUX=disabled #增加

:wq! #保存退出

11.完成内核更新后。 再执行。。
vi /etc/grub.d/40_custom

menuentry "win7"{
set root=(hd0,1)
chainloader +1
}

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

12 禁用触摸版  在系统工具==启动应用程序中 添加启动项目

/usr/local/bin/FingerSensingPad.sh off

 
CentOS 7下安装fcitx
 搜狗输入法

CentOS 7下安装fcitx输入法的方法如下。

加入EPEL源

EPEL7几乎是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

添加mosquito-myrepo源

mosquito-myrepo是一个私人制作的第三方源,其中包含了fcitx输入法以及基于fcitx的搜狗输入法。

$ yum-config-manager --add-repo=https://copr.fedoraproject.org/coprs/mosquito/myrepo/repo/epel-7/mosquito-myrepo-epel-7.repo

安装搜狗输入法 安装

$ yum install sogou-pinyin sogou-pinyin-skins

配置

首先关闭gnome-shell 对键盘的监听,然后切换输入法为fcitx: (启用键盘键盘监听后,依然可以用键盘默认的ibus输入法)

$ gsettings set org.gnome.settings-daemon.plugins.keyboard active false
$ imsettings-switch fcitx

  1. 重载 fcitx, 启动搜狗面板 
    $ fcitx -r; fcitx-configtool 
    $ sogou-qimpanel

安装完后,fcitx 及搜狗输入法会出现在右下角的通知栏,这时候需要重启gnome-3桌面 按住”alt+F2" 输入 r ,fcitx状态即可出现在上面的状态栏。

似乎需要重启,或者退出用户重新登陆。

安装其他输入法

搜狗输入法基本够用了,也可以安装其他中文输入法:

$ yum install fcitx-googlepinyin fcitx-cloudpinyin # 谷歌拼音输入法
$ yum install fcitx-rime fcitx-cloudpinyin # 中州韵输入法
$ yum install fcitx-libpinyin fcitx-cloudpinyin # libpinyin输入法
$ yum install fcitx-sunpinyin sunpinyin-data fcitx-cloudpinyin # sunpinyin输入法

清理工作

mosquito-myrepo在不断地支持更多的软件,这也进一步造成该repo中的软件与base、EPEL中的软件存在版本冲突,在该repo的项目主页中建议安装yum的优先级插件yum-plugin-priorities,这在一定程度上会缓解版本冲突问题,但无法从根本上避免。

鉴于多个repo的版本冲突会造成一些麻烦,最好的办法还是在安装完需要的软件之后就禁用该repo,需要的时候再启用。

编辑/etc/yum.repos.d/mosquito-myrepo-epel-7.repo,将其中的enable=1改成enable=0即可。

CentOS 7 需要安装的常用工具,及centos安装fcitx 搜狗输入法的坑旅的更多相关文章

  1. Ubuntu 常用工具、指令安装

    修改source list,使用阿里云的软件源 sed -i s/archive.ubuntu.com/mirrors.aliyun.com/g /etc/apt/sources.list sed - ...

  2. CentOS 笔记(五) 常用工具

    远程 :XShell6  ,PuTTy FPT:Xfpt ,pscp.exe

  3. CentOS 6.3 中安装VirtualBOX增强工具失败:Building the main Guest Additions module[FAILED]

    在VirtualBox里安装CentOS系统,会遇到“增强工具”无法正常安装,主要的原因是出在Kernel 库找不到. 错误提示如下:  通过查看日志文件: cat /var/log/vboxadd- ...

  4. ios开发环境配置及cordova安装与常用命令

    一.ios开发环境配置 1.首先要有台Mac Book,如果有Mac Book,跳过步骤2.3.4,如果没有,执行步骤2.3.4: 2.下载并安装VMware Workstation,最好是下最新版本 ...

  5. 安装Goland开发工具

    安装Goland开发工具 开发工具: 文本类的编辑器:记事本,notepad,sublime text,atom... ​ 通过命令执行程序 IED:集成开发环境(integrated develop ...

  6. 记录redis安装及常用命令

    Redis安装及常用命令 一.安装 1.下载,解压,进入redis解压目录,make. make PREFIX=目录/redis install :安装到指定目录文件名为redis. 2.将解压目录里 ...

  7. win10纯净版安装及其常用软件集锦(2020新年湘岳阳万江波整理)

    win10纯净版安装及其常用软件集锦 1.安装win10纯净版:链接:https://pan.baidu.com/s/1L9yl-LNxxDQbEN_TGswzcA 提取码:u0pt 2.安装WPS2 ...

  8. 关于ubuntu服务器上部署postgresql 以及安装pgadmin4管理工具(web版)

    进入目录:cd pgadmin4   source bin/activate     cd pgadmin4-1.6/ 启动pgadmin4:python web/pgAdmin4.py pgadmi ...

  9. Git安装和常用命令

    Git是目前世界上最先进的分布式版本控制系统!!! Git能自动帮我们记录每次文件的改动,还可以让同事协作编辑. 接下来,简单的介绍下Git的安装和常用命令: Git安装: 1.Windows系统,进 ...

随机推荐

  1. react 入门的好东西 可以做出一个完整的网站

    链接  (包含了antd 组件的使用) 安装依赖报错问题                            可能需要按顺序安装,  不能cnpm npm 混合安装,  参考这个package.js ...

  2. Linux:grub密码设置与修改

    grub密码设置与修改 默认GRUB启动参数可以的进入单用户模式从而修改root密码,如果想要给GRUB菜单设置密码,可以修改/etc/grub.conf文件 (/boot/grub/grub.con ...

  3. asp页面快速找到菜单按钮转向的页面的方法

    asp页面快速找到菜单按钮转向的页面的方法: 鼠标放在按钮上,右键属性即可查看

  4. easyUI---分页插件

    设置 //分页组件 $('#detailLayer .detailPag').pagination({ pageNumber: 1, pageSize: 10, total: result.Total ...

  5. Springboot yml获取系统环境变量的值

    注意,这里说的是获取系统环境变量的值,譬如Windows里配置的JAVA_HOME之类的,可以直接在Springboot的配置文件中获取. 我们经常使用一些docker管理平台,如DaoCloud.r ...

  6. ng-if 判断条件中不能 使用变量名字拼接,switch可以

  7. [Python] RuntimeError: Invalid DISPLAY variable

    1.问题:在本地用matplotlib绘图可以,但是在ssh远程绘图的时候会报错 RuntimeError: Invalid DISPLAY variable 2.原因:matplotlib的默认ba ...

  8. NSStringFromSelector(_cmd)和self

    1._cmd是隐藏的参数,代表当前方法的selector,他和self一样都是每个方法调用时都会传入的参数,动态运行时会提及如何传的这两个参数, 你在方法里加入CCLOG(@\"%@, %@ ...

  9. base64 和 Blob 相互转换

    Base64 to Blob function dataURLtoBlob(dataurl) { var arr = dataurl.split(','), mime = arr[0].match(/ ...

  10. 【javascript】利用jquery ajaxPrefilter防止ajax重复提交

    利用jquery ajaxPrefilter中断请求 var pendingRequests = {}; $.ajaxPrefilter(function( options, originalOpti ...