Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]Locale issue in proton games
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
marc barbier
n00b
n00b


Joined: 18 May 2024
Posts: 1

PostPosted: Sat May 18, 2024 2:13 pm    Post subject: [solved]Locale issue in proton games Reply with quote

Edit: This issue was solved by rolling back ibus' version







Hello everyone.

I'm French, and so I'm using the FR_fr.UTF-8 locale, but in games such as HellDivers2 and ULTRAKILL the key 2 is not working.

On the French keyboard, the key 2 is é (only gives 2 if you press shift)

if I set LANG to FR_fr (it is not in locale-gen) the key will work in ULTRAKILL but the same fix doesn't work in HellDivers2
Interestingly in HellDivers2 I can remap the key to "2" with this fix, while without I can only map it to another key.

Code:

$ cat /etc/locale.gen | grep -v \#
en_US.UTF-8 UTF-8
ja_JP.UTF-8 UTF-8
fr_FR.UTF-8 UTF-8

$ locale -a
C.utf8
en_US.utf8
fr_FR.utf8
ja_JP.utf8

$ localectl
System Locale: LANG=fr_FR.UTF-8
    VC Keymap: fr
   X11 Layout: fr

$ locale
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY=fr_FR.UTF-8
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER=fr_FR.UTF-8
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum