LMDE 6: Chinese Input Method FCITX not usable [solved]

Questions about other topics and general discussion about LMDE
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
i18nde
Level 1
Level 1
Posts: 5
Joined: Sun May 03, 2020 8:10 pm
Location: Berlin (Germany)

LMDE 6: Chinese Input Method FCITX not usable [solved]

Post by i18nde »

Compared to LMDE 5 at LMDE 6 FCITX will not start.
I solved the problem, invoking the im-launcher like in LMDE 5:

New entry in Startup menu

Code: Select all

Name: im-launcher

Code: Select all

Command: sh -c 'if ["x$XDG_SESSION_TYPE" = "xwayland"];then exec env IM_CONFIG_CHECK_ENV=1 im-launch true;fi'
Worked like a charm! :D
Last edited by LockBot on Fri Mar 15, 2024 10:00 pm, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Strawberry fields forever ...
User avatar
xenopeek
Level 25
Level 25
Posts: 29615
Joined: Wed Jul 06, 2011 3:58 am

Re: LMDE 6: Chinese Input Method FCITX not usable [solved]

Post by xenopeek »

For one it's XDG_SESSION_TYPE, not XGD_SESSION_TYPE.

But more importantly, testing for xwayland is only useful if you're running under Wayland. LMDE 6 comes with Cinnamon 5.8 and that doesn't support Wayland (yet). LMDE 6 Cinnamon only runs under Xorg so XDG_SESSION_TYPE will always be x11 and that makes the if statement fail and not execute the im-launch command.

Your command could be useful to others but only if they are using something like Gnome Shell or KDE that can run under Wayland.
Image
User avatar
i18nde
Level 1
Level 1
Posts: 5
Joined: Sun May 03, 2020 8:10 pm
Location: Berlin (Germany)

Re: LMDE 6: Chinese Input Method FCITX not usable [solved]

Post by i18nde »

You are absolutely right! Thank you, my "solution" really doesn't make any sense.

But I finally found the right way to do it:

Code: Select all

im-config -s fcitx
into the Start, and it works. :wink:

Found it at the right place with the FCITX guys: https://fcitx-im.org/wiki/Configure_(Debian)
Strawberry fields forever ...
User avatar
i18nde
Level 1
Level 1
Posts: 5
Joined: Sun May 03, 2020 8:10 pm
Location: Berlin (Germany)

Re: LMDE 6: Chinese Input Method FCITX not usable [solved]

Post by i18nde »

xenopeek wrote: Fri Sep 15, 2023 1:24 pm For one it's XDG_SESSION_TYPE, not XGD_SESSION_TYPE.

Your command could be useful to others but only if they are using something like Gnome Shell or KDE that can run under Wayland.
Corrected.
Strawberry fields forever ...
Locked

Return to “Other Topics & Open Discussion”