Accepting request 210123 from M17N
- fix fcitx can't input in gnome-terminal OBS-URL: https://build.opensuse.org/request/show/210123 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fcitx?expand=0&rev=32
This commit is contained in:
commit
243f973dbb
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 7 04:23:04 UTC 2013 - swyear@gmail.com
|
||||||
|
|
||||||
|
- fix fcitx can't input in gnome-terminal
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Nov 2 07:31:38 UTC 2013 - i@marguerite.su
|
Sat Nov 2 07:31:38 UTC 2013 - i@marguerite.su
|
||||||
|
|
||||||
|
12
xim.d-fcitx
12
xim.d-fcitx
@ -3,17 +3,19 @@ if ! type -p fcitx > /dev/null 2>&1 ; then
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Avoid relying on autolaunch to improvise D-Bus sessions for each process
|
#make sure set these vars before dbus-launch
|
||||||
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
|
|
||||||
eval `dbus-launch --sh-syntax --exit-with-session`
|
|
||||||
fi
|
|
||||||
|
|
||||||
export LC_CTYPE=$LANG
|
export LC_CTYPE=$LANG
|
||||||
export XMODIFIERS="@im=fcitx"
|
export XMODIFIERS="@im=fcitx"
|
||||||
export GTK_IM_MODULE=fcitx
|
export GTK_IM_MODULE=fcitx
|
||||||
export GTK3_IM_MODULE=fcitx
|
export GTK3_IM_MODULE=fcitx
|
||||||
export QT_IM_SWITCHER=imsw-multi
|
export QT_IM_SWITCHER=imsw-multi
|
||||||
export QT_IM_MODULE=fcitx
|
export QT_IM_MODULE=fcitx
|
||||||
|
|
||||||
|
# Avoid relying on autolaunch to improvise D-Bus sessions for each process
|
||||||
|
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
|
||||||
|
eval `dbus-launch --sh-syntax --exit-with-session`
|
||||||
|
fi
|
||||||
|
|
||||||
fcitx -d
|
fcitx -d
|
||||||
|
|
||||||
# success:
|
# success:
|
||||||
|
Loading…
Reference in New Issue
Block a user