Git not recognizing keyboard keys

Uncomment (remove) the # on the line 167 to activate the language you need.
If you want to use en_IN it’s English (India).

1 Like

@FLVAL
that didn’t do the trick.
part of the system still is in my native language ;/

here’s the result of locale -a
C
en_IN
en_IN.utf8
en_US.utf8
hi_IN
hi_IN.utf8
POSIX

so i edited the locale gen a bit and heres the local -a output

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
en_US.utf8

this seems to do the trick! system is entirely in english now.
but, git seems still broken, its not recognizing the keys appropriately :sob:

@ricklinux @FLVAL @Bryanpwo

Have you tried just having english US only on your system and see if git is okay?

Are you sure is local -a ? Maybe better with

locale -a

And your en_US.utf8 it supposed to be en_US.UTF-8 (note the hypen changes)

Would be better to know, which LANGUAGE do you want exactly ?
en_IN UTF-8 ? en_GB.UTF-8 ? or en_US.UTF-8 ?

In a first time, to make it easier, follow what told you @ricklinux in putting your system in en_US.UTF-8. Then, in a second time, when you got it, change for what you want.

Please make full answer if you want a result.
1/ Could you report us your /etc/locale.conf
2/ And the last 5 lines (510 to 514) from /etc/local.gen
3/ And the result from :

localedef --list-archive
1 Like

how would i go about doing that ?

i want my full system in english.

  1. LANG=en_IN
    LC_ADDRESS=hi_IN
    LC_IDENTIFICATION=hi_IN
    LC_MEASUREMENT=hi_IN
    LC_MONETARY=hi_IN
    LC_NAME=hi_IN
    LC_NUMERIC=hi_IN
    LC_PAPER=hi_IN
    LC_TELEPHONE=hi_IN
    LC_TIME=hi_IN

Locales enabled by Calamares
#en_IN UTF-8
#hi_IN UTF-8

en_US.utf8

You have to edit the /etc/locale.gen file by commenting out the languages you don’t want and uncomment the ones you want which I think you are showing that you have done.

Then you have to generate the locales by running locale-gen in the terminal.

Example:
Before a locale can be enabled on the system, it must be generated. This can be achieved by uncommenting applicable entries in /etc/locale.gen , and running locale-gen . Equivalently, commenting entries disables their respective locales. While making changes, consider any localisations required by other users on the system, as well as specific #Variables.

For example, uncomment en_US.UTF-8 UTF-8 for American-English:

yay -S gitfiend
May be helpful, try the app and tell of okay or too much or simply No !

git seems to recognize my keyboard now
apparently it was using vim as its editor
doing

 git config --global core.editor "nano"

seemed to do the trick. ill however fix up the system using locale-gen
thanx a bunch guys!!