1

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?

2 Answers2

4

I solved it by doing

export LC_CTYPE="en_GB.utf8"

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

Jeff Schaller
  • 66,199
  • 35
  • 114
  • 250
0

Ensure you don't have any cruft in pacman.conf, i.e.

NoExtract = locale...

Changing locale to en_US-UTF-8, reboot, then back to en_GB-UTF-8 and reboot, worked for me.

Greenonline
  • 1,759
  • 7
  • 16
  • 21