forked from pool/fcitx5
Accepting request 1010929 from M17N
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1010929 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fcitx5?expand=0&rev=10
This commit is contained in:
commit
30642b6601
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 7 12:34:18 UTC 2022 - Marguerite Su <i@marguerite.su>
|
||||||
|
|
||||||
|
- according to upstream, XMODIFIERS and QT/GTK_IM_MODULE should
|
||||||
|
set to fcitx instead of fcitx5
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 1 16:26:46 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
Sat Oct 1 16:26:46 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
19
xim.d-fcitx5
19
xim.d-fcitx5
@ -1,21 +1,12 @@
|
|||||||
#make sure set these vars before dbus-launch
|
#make sure set these vars before dbus-launch
|
||||||
export LC_CTYPE=$LANG
|
export LC_CTYPE=$LANG
|
||||||
export XMODIFIERS="@im=fcitx5"
|
export XMODIFIERS="@im=fcitx"
|
||||||
export GTK_IM_MODULE=fcitx5
|
export GTK_IM_MODULE=fcitx
|
||||||
export QT_IM_SWITCHER=imsw-multi
|
export QT_IM_SWITCHER=imsw-multi
|
||||||
export QT_IM_MODULE=fcitx5
|
export QT_IM_MODULE=fcitx
|
||||||
|
|
||||||
case "$WINDOWMANAGER" in
|
# FIXME: a little bit of delay is required to avoid race (boo#947576)
|
||||||
*gnome*|*plasma*|*xfce*|*lxde*)
|
(sleep 2; fcitx5 -d) &
|
||||||
# started via xdg autostart (boo#947576)
|
|
||||||
# explicitly set below, as referred in xdg autostart
|
|
||||||
export INPUT_METHOD=fcitx5
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
# FIXME: a little bit of delay is required to avoid race (boo#947576)
|
|
||||||
(sleep 2; fcitx5 -d) &
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# success:
|
# success:
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user