Cannot input Mandarin, anyone similar?

i cannot input Chinese simplified lately in memrise, when using Linux Ubuntu - with or without flatpak. Anyone had some similar problems? thanks