1. 安装 fcitx + 搜狗拼音
$ su root
$ pacman -S fcitx fcitx-configtool
$ pacman -S fcitx-gtk2 fcitx-gtk3 fcitx-qt4 fcitx-qt5
$ su 用户名
$ yaourt -S fcitx-sogoupinyin
重启
2. 设置
$ su 用户名
$ fcitx-configtool # Fcitx 设置界面
Input Method Configuration - Input Method - 加入 Sogou Pinyin
重启
如果搜狗拼音已经可以用了, 那以下就不需要继续..
$ gedit /home/用户名/.bashrc
或
$ su root
$ gedit /etc/profile
export XIM_PROGRAM=fcitx
export XIM=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
$ source /etc/profile
# 检查错误
$ fcitx-diagnose
广告
本站里的文章大部分经过自行整理与测试
2016年7月13日星期三
2016年7月9日星期六
Linux - Pepper Flash 更新
Linux - Pepper Flash 安装
http://jasonmun.blogspot.my/2016/07/linux-pepper-flash.html
# 安装新版 (如果有)
$ update-pepperflashplugin-nonfree --install
# 看目前安装的是什么版本
$ update-pepperflashplugin-nonfree --status
http://jasonmun.blogspot.my/2016/07/linux-pepper-flash.html
# 安装新版 (如果有)
$ update-pepperflashplugin-nonfree --install
# 看目前安装的是什么版本
$ update-pepperflashplugin-nonfree --status
2016年7月1日星期五
Linux - Pepper Flash 安装
Ubuntu 16.04
$ su
$ apt-get install pepperflashplugin-nonfree
$ apt-get install browser-plugin-freshplayer-pepperflash
# 可以撤了 Adobe Flash 11.2
$ apt-get remove adobe-flashplugin
Linux Mint 18
$ su
$ apt-get install pepperflashplugin-nonfree
# 只能安装到 Shockwave Flash 13.1
$ apt-get install browser-plugin-freshplayer-pepperflash
或
# 可以安装到 Shockwave Flash 22 ( 取代 browser-plugin-freshplayer-pepperflash )
$ apt-get install cmake gcc g++ pkg-config ragel libasound2-dev libssl-dev libglib2.0-dev libpango1.0-dev libgl1-mesa-dev libevent-dev libgtk2.0-dev libxrandr-dev libxrender-dev libxcursor-dev libv4l-dev libgles2-mesa-dev libavcodec-dev libva-dev libvdpau-dev libdrm-dev libpulse-dev libconfig-dev libicu-dev git
# 编译 libfreshwrapper-flashplayer.so
$ git clone https://github.com/i-rinat/freshplayerplugin.git
$ cd freshplayerplugin
$ mkdir build
$ cd build
$ cmake ..
$ make
# 将编译好的 libfreshwrapper-flashplayer.so 放去 firefox
$ cp libfreshwrapper-flashplayer.so /usr/lib/mozilla/plugins/
# 可以撤了 Adobe Flash 11.2
$ apt-get remove adobe-flashplugin
Debian 8.5
$ su
# 从以下安装 pepperflashplugin-nonfree
# https://packages.debian.org/jessie/amd64/pepperflashplugin-nonfree/download
$ gedit /etc/apt/sources.list
deb http://ftp.cn.debian.org/debian jessie main contrib
$ apt-get update
$ apt-get install pepperflashplugin-nonfree
# 可以安装到 Shockwave Flash 22 ( 取代 browser-plugin-freshplayer-pepperflash )
$ apt-get install cmake gcc g++ pkg-config ragel libasound2-dev libssl-dev libglib2.0-dev libpango1.0-dev libgl1-mesa-dev libevent-dev libgtk2.0-dev libxrandr-dev libxrender-dev libxcursor-dev libv4l-dev libgles2-mesa-dev libavcodec-dev libva-dev libvdpau-dev libdrm-dev libpulse-dev libconfig-dev libicu-dev git
# 编译 libfreshwrapper-flashplayer.so
$ git clone https://github.com/i-rinat/freshplayerplugin.git
$ cd freshplayerplugin
$ mkdir build
$ cd build
$ cmake ..
$ make
# 将编译好的 libfreshwrapper-flashplayer.so 放去 firefox
$ cp libfreshwrapper-flashplayer.so /usr/lib/mozilla/plugins/
Fedora 25
$ su -c 'dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
$ su
$ dnf install http://mirror.yandex.ru/fedora/russianfedora/russianfedora/free/fedora/russianfedora-free-release-stable.noarch.rpm
$ dnf install http://mirror.yandex.ru/fedora/russianfedora/russianfedora/nonfree/fedora/russianfedora-nonfree-release-stable.noarch.rpm
$ dnf install chromium-pepper-flash
$ dnf install freshplayerplugin
# 可以撤了 Adobe Flash 11.2
$ dnf remove flash-plugin
OpenSUSE 42.2
$ su
$ zypper addrepo http://packman.inode.at/suse/openSUSE_Leap_42.2/ packman
$ zypper install chromium-pepper-flash
$ zypper install freshplayerplugin
# 可以撤了 Adobe Flash 11.2
$ zypper remove flash-player
Manjaro 16.06
$ yaourt -S chromium-pepper-flash
$ yaourt -S freshplayerplugin
# 可以撤了 Adobe Flash 11.2
$ sudo pacman -R flashplugin
Firefox - Add-ons - Plugins - 会多一个 Shockwave Flash 22.0 (Always Activate)
将旧版的 Shockwave Flash 11.2 改去 Never Activate (如果撤了就不会出现)
订阅:
博文 (Atom)