Author: dingyichen
Date: Thu May 28 23:36:48 2009
New Revision: 118

Modified:
    wiki/IBusStartUpTroubleShooting.wiki

Log:
Edited wiki page through web user interface.

Modified: wiki/IBusStartUpTroubleShooting.wiki
==============================================================================
--- wiki/IBusStartUpTroubleShooting.wiki        (original)
+++ wiki/IBusStartUpTroubleShooting.wiki        Thu May 28 23:36:48 2009
@@ -19,22 +19,49 @@
  See [Start up script] for detail.

  = Start up script =
-The following method should work for nearly all DE or WM. However you may  
need to disable the imsettings and IBus from XDG autostart setting:
+Note that following script is designed for Fedora, other system may need  
to change accordingly.

-== Disable im-settings and IBus from XDG autostart==
+The following method should work for nearly all DE or WM. However you may  
need to disable the imsettings and IBus from XDG autostart setting.
+
+==Disable im-settings and IBus from XDG autostart==
  ===KDE4===
  Application->System->System Setting->Advance->Autostart
  Disable im-settings and IBus

  ===GNOME===
-System->Preferences->
+System->Preferences->Startup Application->Startup Programs
+Disable im-settings and IBus
+
  ===LXDE===
-*Note:*
+# Open an terminal
+# gnome-control-center
+# Startup Application->Startup Programs
+Disable im-settings and IBus
+
+==Install Autoexec script(optional)==
+If you want a place to put your autostart scripts for all DE and WM  
regardless the XDG support or starting from startx/desktop manager, read  
on, otherwise skip this section.
+
+{{{
+# sudo vi /etc/X11/xinit/xinitrc.d/45-autoexec.sh
+}}}
+
+Whose content is:
+{{{
+#!/bin/bash
+if [ -x "$HOME/.autoexec" ]; then
+       . $HOME/.autoexec
+}}}

+Now you can put your favorite application in $HOME/.autoexec

-= Details =
+==Content of the startup script==
+Add following to your startup script (~/.autoexec, or ~/.Xclient if you  
start with startx)
+{{{
+# input framework launch
+XIM_PROF=scim
+ln -sf /etc/X11/xinit/xinput.d/${XIM_PROF}.conf ${HOME}/.xinputrc
+source ${HOME}/.xinputrc

-Add your content here.  Format your content with:
-  * Text in *bold* or _italic_
-  * Headings, paragraphs, and lists
-  * Automatic links to other wiki pages
\ No newline at end of file
+echo "XIM_PROGRAM=${XIM_PROGRAM}"
+${XIM_PROGRAM} ${XIM_ARGS} &
+}}}
\ No newline at end of file

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

回复