Years ago I posted about getting the c-cedilla (ç) working in Fedora when using the US International keyboard with deadkeys. This has been a struggle for decades now and every time I set up a new Linux installation, I need to look it up.
That wouldn’t be such a problem, weren’t for the fact that the way to accomplish this seemingly simple task keeps changing over the years, so most of the information you find online is awfully out of date.
So for 2025, based on my experience with Fedora 42 (the current version at time of writing) – I suspect it would work similarly with other distros, but I cannot confirm it – this is how I did it.
First add these two lines to /etc/environment
–
export GTK_IM_MODULE=cedilla
export QT_IM_MODULE=cedilla
And then in your home dir, add a file named .XCompose
with this –
<dead_acute> <C> : "Ç" U0106 # LATIN CAPITAL LETTER C WITH CEDILLA
<dead_acute> <c> : "ç" U0107 # LATIN SMALL LETTER C WITH CEDILLA
Then reboot and it should just work. To be fair, this is the easiest it’s been for years to get this done.
As a bonus, there are a few other changes that I’ve made in my .XCompose
file
to solve some annoyances I have with the US-intl
keyboard in Linux. When I
type fast, I tend to accidentally end up with a lot of mistakenly accented
consonants that I don’t need in any of the languages I write in.
These are, of course, entirely up to you if you want them and have nothing to do with the cedilla. You can find them on Github.
Hopefully the search engine gods will help someone out there find this when they need it. Might just be me in the not-too-distant future.
This is vrey cool indeed but it could cause probelms int he future.