Tutorials/Kimpanel: Difference between revisions

From KDE Wiki Sandbox
m (it is Fcitx instead of FCITX (see https://fcitx-im.org/wiki/Fcitx_5))
 
(38 intermediate revisions by 7 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.
<!--T:3-->
Translated "almost" verbatim from http://userbase.kde.org/Tutorials/Kimpanel_(zh_CN) (deprecated due to new translation system)


==kimpanel==
===Introduction=== <!--T:4-->
{{info_(English)|"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.).}}


*Kubuntu 9.10安装依赖
<!--T:5-->
'''KDE Input Method Panel''' is a panel Plasmoid for various input methods with concurrent '''Plasma''' theme.


sudo apt-get install subversion cmake
===Input Method Panel=== <!--T:6-->
*安装kimpanel
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeplasma-addons/applets/kimpanel kimpanel


cd kimpanel/backend
<!--T:10-->
Right click desktop, choose <menuchoice>Add Widgets</menuchoice>, place the<menuchoice> Input Method Panel</menuchoice> plasmoid wherever you prefer.


编辑CMakeList.txt,修改(scim)成你要用的输入法。
<!--T:33-->
[[File:KDE Input Method Panel.png|thumb|The KDE Input Method Panel Widget|center]]


cd ..
===fcitx-dbus=== <!--T:13-->


cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
<!--T:14-->
[[File:ZhcnKimpanel.png|center]]


附注:如果你的KDE4是系统默认的话,那直接用
<!--T:15-->
Support for Fcitx has been in trunk since r294. Users are encouraged to upgrade.


cmake -DCMAKE_INSTALL_PREFIX=/usr
<!--T:16-->
{{Input|1=svn co <nowiki>http://fcitx.googlecode.com/svn/trunk</nowiki> fcitx
cd fcitx
./configure --prefix=/usr && make && sudo make install}}


make
<!--T:17-->
{{Tip|1=*Arch Linux users should follow [https://wiki.archlinux.org/title/Fcitx Fcitx - ArchWiki].}}
{{Tip|1=*Kubuntu users should check [http://forum.ubuntu.org.cn/viewtopic.php?f=8&t=192737 fcitx-svn].}}


sudo make install
===IBus=== <!--T:18-->


安装好后,添加部件-找到input method panel 这个部件,拖到面板或是桌面上。
<!--T:19-->
[[File:Zhcnkimpanel2.png|center]]


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


==fcitx-dbus==
<!--T:21-->
[[File:ZhcnKimpanel.png]]
For '''Kubuntu 9.10 + KDE SC 4.4.x''':


Fcitx的KIMPanel支持已经进入主分支,从r294开始支持,建议更新到最新版
<!--T:32-->
*install '''kimpanel-backend-ibus'''


svn co http://fcitx.googlecode.com/svn/trunk fcitx
<!--T:22-->
{{Input|1=
sudo apt-get install plasma-widget-kimpanel-backend-ibus}}


cd fcitx
<!--T:23-->
*open <menuchoice>systemsettings</menuchoice> -> <menuchoice>autostart</menuchoice>, add
 
<!--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.)}}


:::*Archlinux的Aur里有[http://aur.archlinux.org/packages.php?ID=28916 fcitx-dbus-svn],目前这个包已经可以被[http://aur.archlinux.org/packages.php?ID=20836 fcitx-svn]取代
<!--T:34-->
:::*Kubuntu [http://forum.ubuntu.org.cn/viewtopic.php?f=8&t=192737 fcitx-svn的deb包]
For '''Arch Linux''':


==ibus==
<!--T:35-->
[[File:Zhcnkimpanel2.png]]
*open <menuchoice>System Settings</menuchoice> -> <menuchoice>Autostart</menuchoice>, add


正常安装ibus,然后运行
<!--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''':


如果你是发行版包管理器安装的kimpanel,这样
<!--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}}


开机启动:
<!--T:40-->
{{Note|The panel path here is only for a 64-bit architecture. For other architectures, please change it accordingly.}}


系统设置-高级-自动启动,添加程序:ibus-daemon --panel=/home/user/kimpanel/backend/ibus/panel.py --xim ,确定。
<!--T:26-->
==注意==
If the '''Input Method Panel''' Plasmoid is absent, please check $QT_IM_MODULE and set that to ibus.
ibus需要安装ibus-qt(在某些发行版叫ibus-qt4,比如Kubuntu)才能在Qt/KDE程序中输入中文


如果没出现输入框,检查输入法环境是否设置正确(打开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 10:20, 5 November 2021

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

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
Tip
*Arch Linux users should follow Fcitx - ArchWiki.
Tip
*Kubuntu users should check fcitx-svn.


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


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)