More

    XFCE4 安裝倉頡輸入法


    fcitx 精簡安裝

    $ sudo apt-get install fcitx fcitx-ui-classic fcitx-config-gtk

    新酷音輸入法

    $ sudo apt-get install fcitx-chewing

    無蝦米輸入法

    $ sudo apt-get install fcitx-table-boshiamy

    倉頡輸入法

    $ sudo apt-get install fcitx-table-cangjie5

    日文輸入法

    $ sudo apt-get install fcitx-anthy

    讓fcitx控制面板可選輸入法(非必要)

    $ sudo apt-get install fcitx-module-dbus (可選)

    如果無法切換輸入法

    $ sudo su
    # echo export GTK_IM_MODULE=fcitx > /etc/profile.d/fcitx.sh
    # sed -i '$a export QT_IM_MODULE=fcitx' /etc/profile.d/fcitx.sh
    # sed -i '$a export XMODIFIERS="@im=fcitx"' /etc/profile.d/fcitx.sh

    ===========================================
    fcitx 面板圖示去支化
    ===========================================
    Mit-X主題+fcitx
    Ubuntu
    cinnamon

    $ wget https://github.com/Mint-Fans/linux-package/raw/ubuntu/cinn-fcitx-del-gina-green.tar.gz
    $ tar -zxvf cinn-fcitx-del-gina-green.tar.gz
    $ sudo ./fcitx-del-gina
    rm /usr/share/fcitx/skin/default/active.png
    rm /usr/share/fcitx/skin/default/inactive.png
    cp /usr/share/icons/Adwaita/22x22/devices/input-keyboard.png /usr/share/fcitx/skin/default/active.png
    cp /usr/share/icons/Adwaita/22x22/devices/input-keyboard.png /usr/share/fcitx/skin/default/inactive.png

    xfce / mate

    $ wget https://github.com/Mint-Fans/linux-package/raw/ubuntu/xfce-fcitx-del-gina-black.tar.gz
    $ tar -zxvf xfce-fcitx-del-gina-black.tar.gz
    $ sudo ./fcitx-del-gina

    Debian
    cinnamon

    $ wget https://github.com/Mint-Fans/linux-package/raw/debian/fcitx-del-gina-green.tar.gz
    $ tar -zxvf fcitx-del-gina-green.tar.gz
    $ sudo ./fcitx-del-gina

    xfce / mate

    $ wget https://github.com/Mint-Fans/linux-package/raw/debian/fcitx-del-gina-black.tar.gz
    $ tar -zxvf fcitx-del-gina-black.tar.gz
    $ sudo ./fcitx-del-gina

    ===========================================
    手動修改
    ===========================================
    修改 fcitx 鍵盤圖示為Mint-x主題風格
    通知區域鍵盤圖示

    sudo rm /usr/share/fcitx/skin/default/active.png
    sudo rm /usr/share/fcitx/skin/default/inactive.png
    sudo cp /usr/share/icons/Mint-X/status/22/ibus-keyboard.png /usr/share/fcitx/skin/default/active.png
    sudo cp /usr/share/icons/Mint-X/status/22/ibus-keyboard.png /usr/share/fcitx/skin/default/inactive.png

    指示器鍵盤圖示

    sudo cp /usr/share/icons/Mint-X/status/22/ibus-keyboard.png /usr/share/icons/Mint-X/devices/22/input-keyboard.png
    sudo cp /usr/share/icons/Mint-X/status/24/ibus-keyboard.png /usr/share/icons/Mint-X/devices/24/input-keyboard.png
    sudo cp /usr/share/icons/Mint-X/status/22/ibus-keyboard.png /usr/share/icons/Mint-X/status/scalable/keyboard.png
    sudo update-icon-caches /usr/share/icons/Mint-X

    Recent Articles

    spot_img

    Related Stories

    Stay on op - Ge the daily news in your inbox