Article 5RNYZ [SOLVED] Deleted Compose file at /usr/share/X11/locale/en_US.UTF-8/

[SOLVED] Deleted Compose file at /usr/share/X11/locale/en_US.UTF-8/

by
gabriel.ipc
from LinuxQuestions.org on (#5RNYZ)
Hey!

So, i am quite new to Linux, so I am sorry in advance for my newbie's mess.

Language is English, the keyboard layout is US International with dead keys

I installed Parrot OS (I just kind of liked the logo and name).
There was a problem though, I need to type many Latin characters and every time I typed '+c I kept getting "" instead of "c".

So I started to look around the internet and got into the Compose file at /usr/share/X11/locale/en_US.UTF-8

Stupidly, I started to just change things there, eventually it was fairly messed up.

I though "well, no worries, I should just delete the file, the system is probably going to realise it is missing and create it fresh with the default key sequence"

Then:

$ sudo rm -rf Compose
$ reboot

Well.... I was wrong.

Now I cannot type accented letters at all, mostly... weirdly, for some reason far beyond me, Firefox actually keeps recognizing dead keys and accentuating letters (any reason why?)

I went digging in the internet, and tried:

$ sudo apt --reinstall install libx11-dev
$ reboot

No luck.

I also found this with the entire compose key sequences.

I thought, "Ha, well well, problem solved, huh? I just need to create a file, copy all that sequence and paste it on the file... clever me :rolleyes:"

$ nano Compose (in the /en_US.UTF-8 folder)
ctr+shit+v
saved, exited
$ reboot

No luck there again.

I am really sorry for all this newbie messing around. I though I would just reinstall the entire distro and be done with it, but then again, I was like... aaah, I reeealy want to solve this though.

Any good souls out there know a way?

Thank you all very very much in advance!
Cheerslatest?d=yIl2AUoC8zA latest?i=_unI3ERrP3g:Haic3Jh1A78:F7zBnMy latest?i=_unI3ERrP3g:Haic3Jh1A78:V_sGLiP latest?d=qj6IDK7rITs latest?i=_unI3ERrP3g:Haic3Jh1A78:gIN9vFw_unI3ERrP3g
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments