Difference between revisions of "Tutorials/Kimpanel"

(Marked this version for translation)
 
(25 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<big>'''KDE Input Method Panel'''</big>
+
<languages />
{{Template:I18n/Language Navigation Bar|Tutorials/Kimpanel}}
+
<translate>
 +
 
 +
== KDE Input Method Panel == <!--T:1-->
 +
</translate>
 +
 
 
__NOTOC__
 
__NOTOC__
==Acknowledgement==
+
<translate>
Translated "almost" verbatim from http://userbase.kde.org/Tutorials/Kimpanel_(zh_CN) .
+
===Acknowledgement=== <!--T:2-->
==Introduction==
 
"kimpanel" is a panel Plasmoid for various input methods with concurrent Plasma theme.
 
  
==kimpanel==
+
<!--T:3-->
{{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.).}}
+
Translated "almost" verbatim from http://userbase.kde.org/Tutorials/Kimpanel_(zh_CN) (deprecated due to new translation system)
  
*Installing Dependencies for Kubuntu 9.10
+
===Introduction=== <!--T:4-->
  
sudo apt-get install subversion cmake
+
<!--T:5-->
*Installation Instructions for Kubuntu 9.10
+
'''KDE Input Method Panel''' is a panel Plasmoid for various input methods with concurrent '''Plasma''' theme.
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeplasma-addons/applets/kimpanel kimpanel
 
  
cd kimpanel/backend
+
===Input Method Panel=== <!--T:6-->
  
Please edit CMakeList.txt so that scim is the intended default input method (backend)。
+
<!--T:10-->
 +
Right click desktop, choose <menuchoice>Add Widgets</menuchoice>, place the<menuchoice> Input Method Panel</menuchoice> plasmoid wherever you prefer.
  
cd ..
+
<!--T:33-->
 +
[[File:KDE Input Method Panel.png|thumb|The KDE Input Method Panel Widget|center]]
  
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
+
===fcitx-dbus=== <!--T:13-->
  
Note: If your KDE is from the official repository, then do the following:
+
<!--T:14-->
 +
[[File:ZhcnKimpanel.png|center]]
  
cmake -DCMAKE_INSTALL_PREFIX=/usr
+
<!--T:15-->
 +
Support for FCITX has been in trunk since r294. Users are encouraged to upgrade.
  
make
+
<!--T:16-->
 +
{{Input|1=svn co <nowiki>http://fcitx.googlecode.com/svn/trunk</nowiki> fcitx
 +
cd fcitx
 +
./configure --prefix=/usr && make && sudo make install}}
  
sudo make install
+
<!--T:17-->
 +
{{Tip|1=*Arch Linux users should check [http://aur.archlinux.org/packages.php?ID=28916 fcitx-dbus-svn] in AUR. [http://aur.archlinux.org/packages.php?ID=20836 fcitx-svn] is okey though.}}
 +
{{Tip|1=*Kubuntu users should check [http://forum.ubuntu.org.cn/viewtopic.php?f=8&t=192737 fcitx-svn].}}
  
After "sudo make install", place the "kimpanel" Plasmoid (likely "Input Method Panel") wherever you prefer.
+
===IBus=== <!--T:18-->
  
:::*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.
+
<!--T:19-->
:::*The package for Kubuntu 9.10 ships backends ONLY for scim and fcitx (NO support for ibus yet.).
+
[[File:Zhcnkimpanel2.png|center]]
  
==fcitx-dbus==
+
<!--T:20-->
[[File:ZhcnKimpanel.png]]
+
Install '''ibus''' as usual. Then
  
Support for FCITX has been in trunk since r294. Users are encouraged to upgrade.
+
<!--T:21-->
 +
For '''Kubuntu 9.10 + KDE SC 4.4.x''':
 +
 
 +
<!--T:32-->
 +
*install '''kimpanel-backend-ibus'''
 +
 
 +
<!--T:22-->
 +
{{Input|1=
 +
sudo apt-get install plasma-widget-kimpanel-backend-ibus}}
  
svn co http://fcitx.googlecode.com/svn/trunk fcitx
+
<!--T:23-->
 +
*open <menuchoice>systemsettings</menuchoice> -> <menuchoice>autostart</menuchoice>, add
  
cd fcitx
+
<!--T:24-->
 +
{{Input|1=ibus-daemon --panel=/usr/lib/ibus/ibus-ui-kde}}
  
./configure --prefix=/usr && make && sudo make install
+
<!--T:25-->
 +
{{Note|1=ibus requires ibus-qt or ibus-qt4 to input special characters in KDE/Qt applications. (I doubt it --- there is XIM still.)}}
  
:::*Arch Linux users should check [http://aur.archlinux.org/packages.php?ID=28916 fcitx-dbus-svn] in AUR. [http://aur.archlinux.org/packages.php?ID=20836 fcitx-svn] is okey though.
+
<!--T:34-->
:::*Kubuntu users should check [http://forum.ubuntu.org.cn/viewtopic.php?f=8&t=192737 fcitx-svn].
+
For '''Arch Linux''':
  
==ibus==
+
<!--T:35-->
[[File:Zhcnkimpanel2.png]]
+
*open <menuchoice>System Settings</menuchoice> -> <menuchoice>Autostart</menuchoice>, add
  
Install ibus as usual. Then run
+
<!--T:36-->
 +
{{Input|1=ibus-daemon -drx --panel=/usr/lib/kimpanel-ibus-panel}}
  
ibus-daemon --panel=/home/user/kimpanel/backend/ibus/panel.py --xim
+
<!--T:37-->
 +
For '''Gentoo''':
  
If your kimpanel is installed through your favourite package manager, then run
+
<!--T:38-->
 +
*open <menuchoice>System Settings</menuchoice> -> <menuchoice>Autostart</menuchoice>, add
  
ibus-daemon --panel=/usr/lib/ibus/dbus/panel.py
+
<!--T:39-->
 +
{{Input|1=ibus-daemon -drx --panel=/usr/lib64/libexec/kimpanel-ibus-panel}}
  
Add the following to the exec line of $XDG_CONFIG_HOME/autostart/foo.desktop :
+
<!--T:40-->
ibus-daemon --panel=/home/user/kimpanel/backend/ibus/panel.py --xim
+
{{Note|The panel path here is only for a 64-bit architecture. For other architectures, please change it accordingly.}}
.
 
  
==注意==
+
<!--T:26-->
ibus需要安装ibus-qt(在某些发行版叫ibus-qt4,比如Kubuntu)才能在Qt/KDE程序中输入中文
+
If the '''Input Method Panel''' Plasmoid is absent, please check $QT_IM_MODULE and set that to ibus.
  
如果没出现输入框,检查输入法环境是否设置正确(打开konsole,输入 export QT_IM_MODULE=ibus&kate 就能临时设置kate的输入法为ibus,试试能否出现输入框)
+
===Links=== <!--T:27-->
  
==链接==
+
<!--T:28-->
[http://forum.ubuntu.org.cn/viewtopic.php?f=38&t=188228&sid=e6e51e7ea48276d23350857383b853d0 您对输入法的图形界面有什么建议 ]
+
[http://forum.ubuntu.org.cn/viewtopic.php?f=38&t=188228&sid=e6e51e7ea48276d23350857383b853d0 Suggestions for Input Method UIs (Chinese)]
  
[http://hi.baidu.com/realasking/blog/item/f01a6baffc294bf1fbed502c.html 笔记fedora 10下安装fcitx和plasma主题的输入法面板]
+
<!--T:29-->
 +
[http://hi.baidu.com/realasking/blog/item/f01a6baffc294bf1fbed502c.html Install kimpanel on a Fedora 10 notebook (Chinese)]
  
[http://songlinyi.spaces.live.com/blog/cns!9D1E6496716547EE!238.entry kimpanel + ibus 输入法]
+
<!--T:30-->
 +
[http://songlinyi.spaces.live.com/blog/cns!9D1E6496716547EE!238.entry kimpanel + ibus (Chinese)]
 
----
 
----
 
<references/>
 
<references/>
 +
 +
<!--T:31-->
 +
[[Category:Advanced Users]]
 +
</translate>

Latest revision as of 06:45, 17 February 2021

Other languages:

KDE Input Method Panel

Acknowledgement

Translated "almost" verbatim from http://userbase.kde.org/Tutorials/Kimpanel_(zh_CN) (deprecated due to new translation system)

Introduction

KDE Input Method Panel is a panel Plasmoid for various input methods with concurrent Plasma theme.

Input Method Panel

Right click desktop, choose Add Widgets, place the Input Method Panel plasmoid wherever you prefer.

The KDE Input Method Panel Widget

fcitx-dbus

ZhcnKimpanel.png

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
Ktip.png
Tip
*Arch Linux users should check fcitx-dbus-svn in AUR. fcitx-svn is okey though.
Ktip.png
Tip
*Kubuntu users should check fcitx-svn.


IBus

Zhcnkimpanel2.png

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.)


For Arch Linux:

  • open System Settings -> Autostart, add
ibus-daemon -drx --panel=/usr/lib/kimpanel-ibus-panel

For Gentoo:

  • open System Settings -> Autostart, add
ibus-daemon -drx --panel=/usr/lib64/libexec/kimpanel-ibus-panel
Note
The panel path here is only for a 64-bit architecture. For other architectures, please change it accordingly.


If the Input Method Panel 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)



This page was last edited on 17 February 2021, at 06:45. Content is available under Creative Commons License SA 4.0 unless otherwise noted.