Tutorials/Kimpanel: Difference between revisions

From KDE Wiki Sandbox
m (it is Fcitx instead of FCITX (see https://fcitx-im.org/wiki/Fcitx_5))
 
(19 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.
<!--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|"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.).}}


*Installing Dependencies for 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-->
*Installation Instructions for Kubuntu 9.10
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.


Please edit CMakeList.txt so that scim is the intended default input method (backend)。
<!--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]]


Note: If your KDE is from the official repository, then do the following:
<!--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-->


After "sudo make install", place the "kimpanel" Plasmoid (likely "Input Method Panel") wherever you prefer.
<!--T:19-->
[[File:Zhcnkimpanel2.png|center]]


:::*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:20-->
:::*The package for Kubuntu 9.10 ships backends ONLY for scim and fcitx (NO support for ibus yet.).
Install '''ibus''' as usual. Then


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


Support for FCITX has been in trunk since r294. Users are encouraged to upgrade.
<!--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


./configure --prefix=/usr && make && sudo make install
<!--T:24-->
{{Input|1=ibus-daemon --panel=/usr/lib/ibus/ibus-ui-kde}}


:::*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:25-->
:::*Kubuntu users should check [http://forum.ubuntu.org.cn/viewtopic.php?f=8&t=192737 fcitx-svn].
{{Note|1=ibus requires ibus-qt or ibus-qt4 to input special characters in KDE/Qt applications. (I doubt it --- there is XIM still.)}}


==ibus==
<!--T:34-->
[[File:Zhcnkimpanel2.png]]
For '''Arch Linux''':


Install ibus as usual. Then run
<!--T:35-->
*open <menuchoice>System Settings</menuchoice> -> <menuchoice>Autostart</menuchoice>, add


ibus-daemon --panel=/home/user/kimpanel/backend/ibus/panel.py --xim
<!--T:36-->
{{Input|1=ibus-daemon -drx --panel=/usr/lib/kimpanel-ibus-panel}}


If kimpanel is installed through your favourite package manager, then run
<!--T:37-->
For '''Gentoo''':


ibus-daemon --panel=/usr/lib/ibus/dbus/panel.py
<!--T:38-->
*open <menuchoice>System Settings</menuchoice> -> <menuchoice>Autostart</menuchoice>, add


Add the following to the exec line of your $XDG_CONFIG_HOME/autostart/foo.desktop :
<!--T:39-->
{{Input|1=ibus-daemon -drx --panel=/usr/lib64/libexec/kimpanel-ibus-panel}}


ibus-daemon --panel=/home/user/kimpanel/backend/ibus/panel.py --xim
<!--T:40-->
.
{{Note|The panel path here is only for a 64-bit architecture. For other architectures, please change it accordingly.}}


==Note==
<!--T:26-->
ibus requires ibus-qt or ibus-qt4 to input special characters in KDE/Qt applications. (I doubt it --- there is XIM still.)
If the '''Input Method Panel''' Plasmoid is absent, please check $QT_IM_MODULE and set that to ibus.


If the "kimpanel" Plasmoid is absent, please check $QT_IM_MODULE and set that to ibus.
===Links=== <!--T:27-->


==Links==
<!--T:28-->
[http://forum.ubuntu.org.cn/viewtopic.php?f=38&t=188228&sid=e6e51e7ea48276d23350857383b853d0 Suggestions for Input Method UIs (Chinese)]
[http://forum.ubuntu.org.cn/viewtopic.php?f=38&t=188228&sid=e6e51e7ea48276d23350857383b853d0 Suggestions for Input Method UIs (Chinese)]


<!--T:29-->
[http://hi.baidu.com/realasking/blog/item/f01a6baffc294bf1fbed502c.html Install kimpanel on a Fedora 10 notebook (Chinese)]
[http://hi.baidu.com/realasking/blog/item/f01a6baffc294bf1fbed502c.html Install kimpanel on a Fedora 10 notebook (Chinese)]


<!--T:30-->
[http://songlinyi.spaces.live.com/blog/cns!9D1E6496716547EE!238.entry kimpanel + ibus (Chinese)]
[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)