1
Description: Modify the system default
2
While the upstream default "auto" is believed to work best together with the
3
"Text Entry" tab in gnome-control-center, "cjkv" makes sure on non-Unity
4
desktops that the ibus indicator is not shown by default for all users.
5
Bug-Ubuntu: https://launchpad.net/bugs/1234768
6
Author: Gunnar Hjalmarsson <gunnarhj@ubuntu.com>
9
Index: im-config/default/im-config
10
===================================================================
11
--- im-config.orig/default/im-config 2013-04-10 12:32:37.000000000 +0200
12
+++ im-config/default/im-config 2013-10-04 01:34:57.012504149 +0200
14
# Deault im-config mode (see im-config(8))
16
-# Always start best input method
17
-IM_CONFIG_DEFAULT_MODE=auto
18
-# Start best input method only if CJKV environment
19
-#IM_CONFIG_DEFAULT_MODE=cjkv
20
+if [ $XDG_CURRENT_DESKTOP -a $XDG_CURRENT_DESKTOP = "Unity" ]; then
21
+ # Always start best input method
22
+ IM_CONFIG_DEFAULT_MODE=auto
24
+ # Start best input method only if CJKV environment
25
+ IM_CONFIG_DEFAULT_MODE=cjkv
28
# Trace commands for debug
29
# (This may cause problem configuration file generated under console mode)