Let's see if GTK+ is interfering here.
Can you try
export GTK_IM_MODULE=xim gedit
and check if the Congo layout works now in gedit?
Let's see if GTK+ is interfering here.
Can you try
export GTK_IM_MODULE=xim
gedit
and check if the Congo layout works now in gedit?