Backspace deletes only part of a unicode character

That’s true. I use Manjaro for over 2 years now, when bash was still the default shell. Hm… that sounds about right. So, hopefully new profile in Konsole will do the trick.

That’s true as well - just tried sudo su - and I can’t recreate the issue there.

I’ll take another stab at it tomorrow and will report here. I think creating a new profile should resolve it. :smile: Curious as I am, I will compare the two ~/.local/share/konsole and hopefully we will find the real culprit for all this trouble.

I would do that as well - just out of curiosity.

My favorite candidate was:
~/.config/kcminputrc
(based upon … nothing remotely tangible)

who knows - maybe you will, soon :nerd_face:

1 Like

Found it! When I compared the new profile settings with the old one, there were no significant changes and the issue was still there, even with the new profile in my Konsole. Then I ran locale -v at my brand new account that works fine and doesn’t have the original issue, then I found it throws this:

$ locale -v
LANG=hr_HR.UTF-8
LC_CTYPE=hr_HR.UTF-8
LC_NUMERIC=hr_HR.UTF-8
LC_TIME=hr_HR.UTF-8
LC_COLLATE="hr_HR.UTF-8"
LC_MONETARY=hr_HR.UTF-8
LC_MESSAGES="hr_HR.UTF-8"
LC_PAPER=hr_HR.UTF-8
LC_NAME=hr_HR.UTF-8
LC_ADDRESS=hr_HR.UTF-8
LC_TELEPHONE=hr_HR.UTF-8
LC_MEASUREMENT=hr_HR.UTF-8
LC_IDENTIFICATION=hr_HR.UTF-8
LC_ALL=

Which is the only big difference from my output (pasted in my original post above):

$ locale -v
LANG=hr_HR.UTF-8
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C

I knew that was my main culprit and I was even more confident when I read the first comment again.

The solution was there the whole time, within the first comment above, but since sudo localectl set-locale LC_CTYPE="hr_HR.UTF-8" didn’t work for me, this time I was more careful and went through all my .*rc files and found this in my .bash_profile which I previously overlooked:

#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
export LC_ALL="C"
export LC_CTYPE="hr_HR.UTF-8"

… but the export LC_CTYPE="hr_HR.UTF-8" part was completely ignored by the script! Now I changed it to:

#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
export LC_ALL="hr_HR.UTF-8"
export LC_CTYPE="hr_HR.UTF-8"
export LANG="en_US.UTF-8"

Tadaa! Now everything works like it should! Since LC_CTYPE really was my main culprit, I will mark that as a solution. Thanks!

P.S.

My LANG is still set to hr_HR.UTF8, like the export LANG="en_US.UTF-8" part is also completely ignored after I set export LC_ALL="hr_HR.UTF-8", just like the LC_CTYPE. Hence, my Manjaro is not in English now. Any final tip to fix that issue? The following 3 lines will resolve the final issue:

unset LC_ALL
export LANG="en_US.UTF-8"
export LC_CTYPE="hr_HR.UTF-8"
1 Like

The way I see this is:

none of your changes should be there, at all

just leave that file alone - no additions at all

the main culprit was you, adding to/editing
~/.bash_profile

Had you put nothing in it
and left it as it was:

#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc

all would have been fine

In fact - the new modifications to it don’t improve things.
Without them it works just as well.

Just leave it be - in it’s original state.
see above

I’d like to believe this is true, but when I remove all those additions from my .bash_profile, then restart my machine, all my GUI applications start displaying app menus in Croatian, which I don’t want. I specifically set the LANG to “en_US.UTF-8” within /etc/locale.conf, /etc/default/locale, by running sudo localectl set-locale LANG="en_US.UTF-8" then sudo locale-gen followed by restart, but regardless all that, the locale -v would always output LANG=hr_HR.UTF-8. Doesn’t make any sense. What am I missing?

The above content of my .bash_profile is a workaround to have my locales set the way I want.

What if you use Manjaro Settings Manager to set your language and all?

I tried that and it doesn’t change anything, but I’ve noticed a conflict between the System Settings and Manjaro Settings Manager, take a look:

When I click at “Modify” (yellow rectangle, as a part of System Settings), even when I select English, this setting always remains at “Croatian”. The Manjaro Settings Manager (from the right) shows the correct distribution of languages, but the system doesn’t follow those settings.

Since this is a separate issue, I created a new thread here:

In the Manjaro Settings Manager page you can also click Detailed Settings so you see them all.

I know. It doesn’t help. All this mess was created by Plasma. I gave the answer in my separate issue above.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.