Revision: 171
Author: takao.fujiwara1
Date: Tue Jan 12 23:16:50 2010
Log: Edited wiki page through web user interface.
http://code.google.com/p/ibus/source/detail?r=171
Modified:
/wiki/Install.wiki
=======================================
--- /wiki/Install.wiki Tue Jan 12 22:17:39 2010
+++ /wiki/Install.wiki Tue Jan 12 23:16:50 2010
@@ -40,13 +40,14 @@
{{{
$ zcat ibus-xx.tar.gz | tar xfv -
$ cd ibus-xx
-The 'xx' is a version number.
}}}
+ * The 'xx' is a version number.
or obtained from git with following commands:
{{{
$ git clone git://github.com/phuang/ibus.git ibus
$ cd ibus
}}}
+ * 'git clone --help' shows the usage.
== Build and Install ==
After source code is extracted from tarball or git, use following command
to build and install:
@@ -64,7 +65,7 @@
}}}
or
{{{
- $ gtk-query-immodules-2.0-32 /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so
+ $ sudo gtk-query-immodules-2.0-32
/usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so >>
/etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules
}}}
=== For x86_64 ===
{{{
@@ -72,50 +73,76 @@
}}}
or
{{{
- $ gtk-query-immodules-2.0-64 /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so
+ $ sudo gtk-query-immodules-2.0-64
/usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so >>
/etc/gtk-2.0/x86_64-redhat-linux-gnu/gtk.immodules
}}}
*(Replace the string _i386-redhat-linux-gnu_ or path
_/usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so_ with the setting that
matches your system.)*
+
+== Update icon caches ==
+{{{
+ $ ls /usr/share/icons/*/*/*/ibus*
+/usr/share/icons/hicolor/16x16/apps/ibus-keyboard.png
+/usr/share/icons/hicolor/22x22/apps/ibus-keyboard.png
+/usr/share/icons/hicolor/24x24/apps/ibus-keyboard.png
+/usr/share/icons/hicolor/32x32/apps/ibus-keyboard.png
+/usr/share/icons/hicolor/48x48/apps/ibus-keyboard.png
+/usr/share/icons/hicolor/scalable/apps/ibus-keyboard.svg
+ $ sudo gtk-update-icon-cache /usr/share/icons/hicolor
+}}}
= Build & Install IBus components =
== Build & Install IBus Qt input method plugin ==
+ # Download ibus-qt source from
[http://code.google.com/p/ibus/downloads/list IBus download page] or Use
git clone git://github.com/phuang/ibus-qt.git ibus-qt
{{{
- $ git clone git://github.com/phuang/ibus-qt.git ibus-qt
+ $ zcat ibus-qt-xx.tar.gz | tar xfv -
$ cd ibus-qt
$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug
$ make
$ sudo make install
}}}
+ * The 'xx' is a version number.
== Build & Install PinYin engine ==
+ # Download ibus-pinyin source from
[http://code.google.com/p/ibus/downloads/list IBus download page] or Use
git clone git://github.com/phuang/ibus-pinyin.git ibus-pinyin
{{{
- $ git clone git://github.com/phuang/ibus-pinyin.git ibus-pinyin
+ $ zcat ibus-pinyin-xx.tar.gz | tar xfv -
$ cd ibus-pinyin
$ ./autogen.sh --prefix=/usr
$ make
$ sudo make install
}}}
+ * The 'xx' is a version number.
== Build & Install Anthy engine ==
+ # Download anthy source from [http://sourceforge.jp/projects/anthy/ Anthy
Web]
{{{
- $ git clone git://github.com/fujiwarat/ibus-anthy.git ibus-anthy
+ $ zcat anthy-xx.tar.gz | tar xfv -
+ $ ./configure --prefix=/usr
+ $ make
+ $ sudo make install
+}}}
+ * The 'xx' is a version number.
+
+ # Download ibus-anthy source from
[http://code.google.com/p/ibus/downloads/list IBus download page] or Use
git clone git://github.com/fujiwarat/ibus-anthy.git ibus-anthy
+{{{
+ $ zcat ibus-anthy-xx.tar.gz | tar xfv -
$ cd ibus-anthy
$ ./autogen.sh --prefix=/usr
$ make
$ sudo make install
}}}
+ * The 'xx' is a version number.
== Build & Install Chewing engine ==
- # Get ibus-chewing source
- {{{
-git clone git://github.com/definite/ibus-chewing.git
-cd ibus-chewing
- }}}
+ # Download ibus-chewing source from
[http://code.google.com/p/ibus/downloads/list IBus download page] or Use
git clone git://github.com/definite/ibus-chewing.git ibus-chewing
# Make ibus-chewing
{{{
+zcat ibus-chewing-xx.tar.gz | tar xfv -
+cd ibus-chewing
cmake . -DCMAKE_INSTALL_PREFIX='/usr' -DLIBEXEC_DIR='/usr/libexec'
make
}}}
+ * The 'xx' is a version number.
# If you have previous version installed, then need to:
{{{
make uninstall_schemas
@@ -133,22 +160,26 @@
}}}
== Build & Install Hangul engine ==
+ # Download ibus-hangul source from
[http://code.google.com/p/ibus/downloads/list IBus download page] or Use
git clone git://github.com/definite/ibus-hangul.git ibus-hangul
{{{
- $ git clone git://github.com/phuang/ibus-hangul.git ibus-hangul
+ $ zcat ibus-hangul-xx.tar.gz | tar xfv -
$ cd ibus-hangul
$ ./autogen.sh --prefix=/usr
$ make
$ sudo make install
}}}
+ * The 'xx' is a version number.
== Build & Install M17n engine ==
+ # Download ibus-m17n source from
[http://code.google.com/p/ibus/downloads/list IBus download page] or Use
git clone git://github.com/definite/ibus-m17n.git ibus-m17n
{{{
- $ git clone git://github.com/phuang/ibus-m17n.git ibus-m17n
+ $ zcat ibus-m17n-xx.tar.gz | tar xfv -
$ cd ibus-m17n
$ ./autogen.sh --prefix=/usr
$ make
$ sudo make install
}}}
+ * The 'xx' is a version number.
= RPM =
IBus itself and most of the components support source RPM building:
@@ -183,11 +214,30 @@
}}}
or any other GUI package manager that supports RPM.
-= Test iBus =
= Run iBus =
-Run `ibus-setup` to set the preference, enable input methods, also start
ibus daemon.
-Run `ibus-daemon` to start ibus daemon immediately.
-== Run gnome, kde or old X applications ==
+Run `ibus-daemon` to start ibus daemon with either way:
+ * Distribution tool likes im-chooser, im-switch
+ * Add a new /etc/xdg/autostart/ibus.desktop to invoke 'ibus-daemon
--xim'
+ * Manual
+{{{
+ $ pkill -9 ibus
+ $ ps -ef | grep ibus
+ $ /usr/bin/ibus-daemon --xim &
+}}}
+
+After ibus-daemin is invoked, Run `ibus-setup` to set the preference,
enable input methods, also start ibus daemon.
+
+e.g.
+{{{
+ $ ps -ef | grep ibus
+foo 15735 15518 0 11:30 pts/3 00:00:17 /usr/bin/ibus-daemon --xim
+foo 20037 15735 0 12:58 pts/3 00:00:00 /usr/libexec/ibus-gconf
+foo 20039 15735 0 12:58 pts/3 00:00:06 python
/usr/share/ibus/ui/gtk/main.py
+foo 20041 1 0 12:58 pts/3 00:00:00 /usr/libexec/ibus-x11
--kill-daemon
+foo 20042 15735 0 12:58 pts/3 00:00:01 python
/usr/share/ibus-anthy/engine/main.py --ibus
+}}}
+
+= Run gnome, kde or old X applications =
Set following environment varible for Gtk:
{{{
$ GTK_IM_MODULE=ibus
@@ -200,3 +250,8 @@
{{{
$ XMODIFIERS="@im=ibus"
}}}
+e.g.
+{{{
+ $ env GTK_IM_MODULE=ibus gedit
+}}}
+To enable input method, Type Ctrl + Space.
--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en