Tutorials/Kimpanel: Difference between revisions

From KDE Wiki Sandbox
No edit summary
Line 8: Line 8:


==kimpanel==
==kimpanel==
{{info|"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.).}}  
{{info|"kimpanel" is in the kdeplasma-addons part of the KDE SC 4.4(.x) release, so you should update your system to KDE SC 4.4.x, install kimpanel via package manager.}}  


*Installing Dependencies for Kubuntu 9.10
For '''Kubuntu 9.10 + KDE SC 4.4.x''':


sudo apt-get install subversion cmake
sudo apt-get install plasma-widget-kimpanel
*Installation Instructions for Kubuntu 9.10
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeplasma-addons/applets/kimpanel kimpanel


cd kimpanel/backend
right click desktop, choose "add widgets", place the "kimpanel" Plasmoid (likely "Input Method Panel") wherever you prefer.


Please edit CMakeList.txt so that scim is the intended default input method (backend)。
[[Image:Zhcnkimpaneladd.png|300px|center]]
 
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 check [http://aur.archlinux.org/packages.php?ID=24652&O=&L=&C=&K=&SB=&SO=&PP=&do_Orphans=&SeB= kimpanel-plasmoid-svn] in AUR.
:::*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.
:::*The package for Kubuntu 9.10 ships backends ONLY for scim and fcitx (NO support for ibus yet.).


==fcitx-dbus==
==fcitx-dbus==
Line 54: Line 37:
[[File:Zhcnkimpanel2.png]]
[[File:Zhcnkimpanel2.png]]


Install ibus as usual. Then run
Install ibus as usual. Then  


ibus-daemon --panel=/home/user/kimpanel/backend/ibus/panel.py --xim
For '''Kubuntu 9.10 + KDE SC 4.4.x''':


If kimpanel is installed through your favourite package manager, then run
*install kimpanel-backend-ibus


ibus-daemon --panel=/usr/lib/ibus/dbus/panel.py
sudo apt-get install plasma-widget-kimpanel-backend-ibus


Add the following to the exec line of your $XDG_CONFIG_HOME/autostart/foo.desktop :
*open systemsettings -> autostart ,add


ibus-daemon --panel=/home/user/kimpanel/backend/ibus/panel.py --xim
ibus-daemon --panel=/usr/lib/ibus/ibus-ui-kde
.


==Note==
==Note==

Revision as of 05:03, 12 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 you should update your system to KDE SC 4.4.x, install kimpanel via package manager.


For Kubuntu 9.10 + KDE SC 4.4.x:

sudo apt-get install plasma-widget-kimpanel

right click desktop, choose "add widgets", place the "kimpanel" Plasmoid (likely "Input Method Panel") wherever you prefer.

fcitx-dbus

Support for FCITX has been in trunk since r294. Users are encouraged to upgrade.

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

cd fcitx

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

ibus

Install ibus as usual. Then

For Kubuntu 9.10 + KDE SC 4.4.x:

  • install kimpanel-backend-ibus

sudo apt-get install plasma-widget-kimpanel-backend-ibus

  • open systemsettings -> autostart ,add
ibus-daemon --panel=/usr/lib/ibus/ibus-ui-kde

Note

ibus requires ibus-qt or ibus-qt4 to input special characters in KDE/Qt applications. (I doubt it --- there is XIM still.)

If the "kimpanel" Plasmoid is absent, please check $QT_IM_MODULE and set that to ibus.

Links

Suggestions for Input Method UIs (Chinese)

Install kimpanel on a Fedora 10 notebook (Chinese)

kimpanel + ibus (Chinese)