Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I just need to solve the problem about typing Chinese. #3255

Open
ustcltx opened this issue Apr 15, 2014 · 73 comments
Open

I just need to solve the problem about typing Chinese. #3255

ustcltx opened this issue Apr 15, 2014 · 73 comments

Comments

@ustcltx
Copy link

ustcltx commented Apr 15, 2014

The steam is awesome,but I can not use the fcitx input method to type any Chinese.The fcitx can not work on steam.

@alexanderhou
Copy link

this issue is not only chinese actually, CJK all got big issues with this.

CJK are guys from regions using chinese, japanese, and korean text characters. these dual-byte characters need IME to input.

also ibus family input method enhancer on linux cannot work with steam client for linux.
not only Chinese guys, i once saw a Japanese guy who wanted similar feature supporting with steam for linux.

if i did not go wrong, he once said anthy as a feature request, but which anthy, as far as i know on ubuntu, popular IME structures for Chinese+Japanese+Korean, there are ibus, scim, and, fcitx.
so, there are ibus-anthy, scim-anthy, and fcitx-anthy, so, which one?

well, personally, i think ibus family and fcitx family are better.

plus, another interesting issue going with this is that,

steam for linux cannot support copy and paste on ubuntu graphic desktop.

try it yourself, you will find, type/input some straight text into gedit window,

then copy them, then go steam for linux, go into dota2 game for linux, then paste the text into dota2 game chat window, try it, you will see, nothing copied and pasted.

why?

so if steam for linux cannot support IME on linux, very soon, could you guys add copy and paste for text on linux, then if some steam users only need less text input , copy and paste is enough for noob users.

because actually, now steam for linux can display chinese characters, like WenQuanYi fonts(also known as WQY fonts for Simplified Chinese.)
but, no IME support. and no copy and paste~

@ustcltx
Copy link
Author

ustcltx commented Apr 18, 2014

Yeah,it should be worked out!

于2014年04月18日 星期五 15时01分49秒,alexanderhou写到:

also ibus family input method enhancer on linux cannot work with steam client for linux.
not only Chinese guys, i once saw a Japanese guy who wanted similar feature supporting with steam for linux.

if i did not go, he once said anthy, but which anthy, as far as i know on ubuntu, popular IME structures for Chinese+Japanese+Korean, there are ibus, scim, and, fcitx.
so, there are ibus-anthy, scim-anthy, and fcitx-anthy, so, which one?

well, personally, i think ibus family and fcitx family are better.


Reply to this email directly or view it on GitHub:
#3255 (comment)

@gdrewb-valve
Copy link
Contributor

There's already an issue open to support ibus, but I'll leave this too as a general feature request for any of the mentioned IMEs.

@salixh5
Copy link

salixh5 commented May 1, 2015

Yes I'm using fcitx (with mozc), too, and can only input latin characters. It generally works much better than ibus in my system, so it would be great if I could also use it in Steam.

@J5lx
Copy link

J5lx commented Jun 14, 2015

I'm also interested in support for fcitx.

@samos123
Copy link

fcitx support +1

@y-usuzumi
Copy link

I wonder if IM support for Steam is the same as for the games. Most likely not. I haven't found a game where I can activate fcitx either. If fcitx support for steam platform and for individually games should be implemented seperately then it is much a nightmare.

@KANGOD
Copy link

KANGOD commented Apr 10, 2016

Sogou Pinyin Method, the most popular input method in China, has released their Linux version by deb package, which is based on fcitx. So I prefer a fcitx fix for now.

@kisak-valve kisak-valve assigned ghost Dec 1, 2017
@wangling12
Copy link

Dota2 can input Chinese a year ago but why steam client still can't input ?

@ilovesusu
Copy link

In the new year, I hope to quickly fix this problem.We need to communicate in the game.

@hellojo011
Copy link

My guess Valve seems to have no thought to solve this problem. Four years have passed!

@Muffindrake
Copy link

Please bump this in priority - not being able to write anything using common input methods on Linux is a serious deficiency.

Even terminals that are barely a few ten thousand lines of C heavy and don't even use high level graphics APIs (urxvt) can somehow get this right.

@Bryan2333
Copy link

Bryan2333 commented Jun 15, 2019

Hoping the problem can be solved as soon as possible

@GreatBigWhiteWorld

This comment has been minimized.

@leaveye
Copy link

leaveye commented Jun 14, 2020

same issue, any update ?

@Littleweisheit
Copy link

fcitx5 still not support yet.I dont know why dota2 support fcitx but steam and csgo cant.

@RepSklvska
Copy link

Same issue. Tested on Fedora 30/31/32, Steam on Linux still can't use fcitx input method now. So do the games on Steam.

@sangoku116
Copy link

Still an issue unable to input Japanese with fcitx-mocz.

@henry3211439
Copy link

henry3211439 commented Apr 8, 2021

I add this env varaiable XMODIFIERS="" to launch options and it works with ibus.
Not sure works for everyone.

If you have other game options, try this XMODIFIERS="" %command% <Game Options>.

@sangoku116
Copy link

I add this env varaiable XMODIFIERS="" to launch options and it works with ibus.
Not sure works for everyone.

If you have other game options, try this XMODIFIERS="" %command% <Game Options>.

It does not work with fcitx and proton.

@amuncx

This comment was marked as abuse.

@lqlklu
Copy link

lqlklu commented Feb 12, 2023

Replying to #3255 (comment)

这个办法不错,感谢

@ShikiSuen
Copy link

Update: I just confirmed that this issue has been solved in the current macOS version of Steam.
I dunno how things are going with the Windows and the Linux versions.

@p4ssen
Copy link

p4ssen commented Jun 23, 2023

Fcitx5 does not work on the new electron/Steam on Linux still.
I am using KDE on wayland if that matters.

electron/electron#33662 (comment)

@Tangtangchannel
Copy link

Valve has never solved this problem. And, after Valve updated the client UI, it still hasn't fixed the issue.

@ShikiSuen
Copy link

@Tangtangchannel Which system? Linux or Windows?

@Tangtangchannel
Copy link

@ShikiSuen linux , of course

@jinzhongjia
Copy link

now, steam still hasn't fixed the issue on linux

@brianhsu
Copy link

I'm not sure what happened, but today suddenly I could type Chinese using fcitx5 in both Steam Linux desktop client / Big Picture mode. Everything works perfectly.

Maybe you guys should give it a try, and see if this issue have finally been fixed.

Here is my system information:

  • Distro: Gentoo
  • Kernel Version: 6.6.12
  • Fcitx Version: 5.1.7
  • Window Manager: I3
  • Steam Client Version:
Steam 測試版分支:  Steam Beta Update
Steam 版本:  1705630720
Steam 用戶端組建日期:  1月19日 週五 09:58 UTC -08:00
Steam 網頁端組建日期:  1月19日 週五 10:04 UTC -08:00
Steam API 版本:  SteamClient021
  • fcitx5-related environment variable:
export XMODIFIERS="@im=fcitx"
export QT_IM_MODULE=fcitx
export GTK_IM_MODULE=fcitx

@jinzhongjia
Copy link

great, beta steam now supports fcitx5 on archlinux kde

@teachmain
Copy link

teachmain commented Jan 23, 2024

Replying to #3255 (comment)

Thanks for mention! It work on my system now:

图片

It works on steam beta version, fcitx5 and same environment variable settings.
After nearly 10 years, we finally see the light :)

@howyay
Copy link

howyay commented Jan 23, 2024

Still can't get it to work for the time being with following configuration:

Steam 测试分支:  Steam Beta Update
Steam 版本:  1705720677
Steam 客户端生成版本日期:  1月19日周五 21:59 UTC-08:00
Steam 网页生成版本日期:  1月19日周五 20:04 UTC-08:00
Steam API 版本:  SteamClient021

Distro: NixOS
fcitx5: 5.1.6
Window Manager: Hyprland
Display Server: wayland

export XMODIFIERS="@im=fcitx"

Setting QT_IM_MODULE and GTK_IM_MODULE to unset, fcitx, and wayland has all been tested with no observable change.

@a7083399
Copy link

a7083399 commented Mar 13, 2024

New beta steam works fine by changing env.

Steam 测试分支:  Steam Beta Update
Steam 版本:  1710281934
Steam 客户端生成版本日期:  3月13日周三 5:14 UTC-08:00
Steam 网页生成版本日期:  3月13日周三 5:13 UTC-08:00
Steam API 版本:  SteamClient021

Arch Linux, linux-6.7.9-zen1-1-zen, KDE Plasma 5.27.10, X11, fctix5.1.8

cat  /etc/environment

GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx
SDL_IM_MODULE=fcitx

Need to change the symlink script to set the LANG . Or just set the environment and run steam in terminal.

cat  /bin/steam

#!/bin/sh
export LANG=zh_CN.UTF-8
exec /usr/lib/steam/steam "$@"

@howyay
Copy link

howyay commented Mar 18, 2024

Can confirm, LANG=zh_CN.UTF-8 was the critical variable that made it work for me. I missed it in January.

@jinzhongjia
Copy link

jinzhongjia commented Mar 29, 2024

I don't know what happened? Now my steam cannot input any characters, including Chinese, but when I change LANG to en_US.UTF-8, I only can input english

my environment variable:

GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx
SDL_IM_MODULE=fcitx
INPUT_METHOD=fcitx
GLFW_IM_MODULE=ibus

@brianhsu
Copy link

@jinzhongjia What's your distro? My Gentoo box have exactly same issue, and after some testing, I've confirmed it's caused by upgrade x11-libs/libX11-1.8.7 to x11-libs/libX11-1.8.8.

Not sure why exactly this happened, but after downgrade to libX11-1.8.7, everything works fine again.

@kisak-valve
Copy link
Member

Hello @brianhsu, https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/205 looks like the relevant upstream issue report.

@brianhsu
Copy link

Yap, very likely. Before I downgrade my libX11, I noticed I could type Latin alphabet into Steam Client if I don't set XMODIFIERS.

@jinzhongjia
Copy link

It's obviously a problem caused by the libx11 update. All we can do now is wait for the fix

@jinzhongjia
Copy link

Now Arch has pushed a new patch version for libx11, and steam inputs are normal.
libx11 version: 1.8.8-3

@Sino-Huang
Copy link

Can confirm, LANG=zh_CN.UTF-8 was the critical variable that made it work for me. I missed it in January.

I can confirm that on Arch Linux this is indeed the critical variable. Good job!

@luochen1990
Copy link

Running Steam on nixos 24.05 64-bit, I found that the font is not correct (means all chinese are displayed as rectangle), but I can switch to IBus input method and typing as normal, seems it is very close.

And, run LANG=zh_CN.UTF-8 steam doesn't helps.

@jinzhongjia
Copy link

jinzhongjia commented May 14, 2024

Running Steam on nixos 24.05 64-bit, I found that the font is not correct (means all chinese are displayed as rectangle), but I can switch to IBus input method and typing as normal, seems it is very close.

And, run LANG=zh_CN.UTF-8 steam doesn't helps.

This problem is a steam packaging problem on nixos

May you need use this:

  programs.steam.package = pkgs.steam.override {
    extraPkgs = pkgs: [ pkgs.非可变中文字体包 ];
  };

@Huayuluoshi
Copy link

Yeah,this issue seems like still exist……

@DawnMagnet
Copy link

XMODIFIERS=@im=fcitx and LANG=zh_CN.UTF-8 are my key to solve the problem

@Huayuluoshi
Copy link

XMODIFIERS=@im=fcitx and LANG=zh_CN.UTF-8 are my key to solve the problem

Thank you.Let me have a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests