Tutorials/Kimpanel: Difference between revisions

From KDE UserBase Wiki
Line 18: Line 18:
cd kimpanel/backend
cd kimpanel/backend


编辑CMakeList.txt,修改(scim)成你要用的输入法。
Please edit CMakeList.txt so that scim is the intended default input method (backend)。


cd ..
cd ..
Line 24: Line 24:
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`


附注:如果你的KDE4是系统默认的话,那直接用
Note: If your KDE is from the official repository, then do the following:


cmake -DCMAKE_INSTALL_PREFIX=/usr
cmake -DCMAKE_INSTALL_PREFIX=/usr
Line 32: Line 32:
sudo make install
sudo make install


安装好后,添加部件-找到input method panel 这个部件,拖到面板或是桌面上。
After "sudo make install", place the "kimpanel" Plasmoid (likely "Input Method Panel") wherever you prefer.


:::*Archlinux的Aur里有[http://aur.archlinux.org/packages.php?ID=24652&O=&L=&C=&K=&SB=&SO=&PP=&do_Orphans=&SeB= kimpanel-plasmoid-svn]
:::Arch Linux users please check[http://aur.archlinux.org/packages.php?ID=24652&O=&L=&C=&K=&SB=&SO=&PP=&do_Orphans=&SeB= kimpanel-plasmoid-svn]in AUR.
:::*Kubuntu9.10已经附带了kimpanel(很悲剧,这kimpanel只支持scim和fcitx,竟然不支持9.10默认的ibus输入法,你要是用ibus还是得自己动手)
:::*Kubuntu9.10已经附带了kimpanel(很悲剧,这kimpanel只支持scim和fcitx,竟然不支持9.10默认的ibus输入法,你要是用ibus还是得自己动手)



Revision as of 03:42, 10 February 2010

KDE Input Method Panel Template:I18n/Language Navigation Bar

Acknowledgement

Translated "almost" verbatim from http://userbase.kde.org/Tutorials/Kimpanel_(zh_CN) .

Introduction

"kimpanel" is a panel Plasmoid for various input methods with concurrent Plasma theme.

kimpanel

Information

"kimpanel" is in the kdeplasma-addons part of the KDE SC 4.4(.x) release, so users need not build the Plasmoid on their own should package maintainers take up the reponsibility ("kimpanel" is hard to build anyway.).


  • Installation Instructions for Kubuntu 9.10

sudo apt-get install subversion cmake

  • 安装kimpanel

svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeplasma-addons/applets/kimpanel kimpanel

cd kimpanel/backend

Please edit CMakeList.txt so that scim is the intended default input method (backend)。

cd ..

cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`

Note: If your KDE is from the official repository, then do the following:

cmake -DCMAKE_INSTALL_PREFIX=/usr

make

sudo make install

After "sudo make install", place the "kimpanel" Plasmoid (likely "Input Method Panel") wherever you prefer.

Arch Linux users please checkkimpanel-plasmoid-svnin AUR.
  • Kubuntu9.10已经附带了kimpanel(很悲剧,这kimpanel只支持scim和fcitx,竟然不支持9.10默认的ibus输入法,你要是用ibus还是得自己动手)

fcitx-dbus

Fcitx的KIMPanel支持已经进入主分支,从r294开始支持,建议更新到最新版

svn co http://fcitx.googlecode.com/svn/trunk fcitx

cd fcitx

./configure --prefix=/usr && make && sudo make install

ibus

正常安装ibus,然后运行

ibus-daemon --panel=/home/user/kimpanel/backend/ibus/panel.py --xim

如果你是发行版包管理器安装的kimpanel,这样

ibus-daemon --panel=/usr/lib/ibus/dbus/panel.py

开机启动:

系统设置-高级-自动启动,添加程序:ibus-daemon --panel=/home/user/kimpanel/backend/ibus/panel.py --xim ,确定。

注意

ibus需要安装ibus-qt(在某些发行版叫ibus-qt4,比如Kubuntu)才能在Qt/KDE程序中输入中文

如果没出现输入框,检查输入法环境是否设置正确(打开konsole,输入 export QT_IM_MODULE=ibus&kate 就能临时设置kate的输入法为ibus,试试能否出现输入框)

链接

您对输入法的图形界面有什么建议

笔记fedora 10下安装fcitx和plasma主题的输入法面板

kimpanel + ibus 输入法