As a Brazilian, I want my american keyboard to use dead keys and to map cedilla (ç) to ‘ + c. The default mapping gives me ć. For GTK-based applications, this setup can be easily achieved by setting the following environment variable:
However, for Qt-based applications (like KWrite), the same method doesn’t work:
QT_IM_MODULES=cedilla #doesn't work!
The Qt applications will continue to print ć. How do I debug and fix this?
Note: please, do not suggest the approach given here. Typing AltGr + c feels very alien to a Brazilian and the GTK solution works just fine.