whenever i try to run a suckless app like dmenu or suckless terminal it gives the following error:

XOpenIM failed. Could not open input device.

how can i fix this error and be able to run dmenu?


I solved it by doing

export LC_CTYPE="en_GB.utf8"

I put this line in my ~/.bashrc and it works fine now, thanks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.