Shizcow / dmenu-rs

A pixel perfect port of dmenu, rewritten in Rust with extensive plugin support
GNU General Public License v3.0
197 stars 9 forks source link

warning: no locale support #40

Closed drewauff closed 3 years ago

drewauff commented 3 years ago

getting this error first time and every time I run dmenu

Shizcow commented 3 years ago

Can you give a more thorough description of what error you get? Or just post the command error output?

drewauff commented 3 years ago

that is the only output I get...

drewauff commented 3 years ago

I tried this, fwiw, export "LC_CTYPE=en_AU.UTF-8"

but no good

Shizcow commented 3 years ago

This is sounding like a system issue. Did you run genlocale (or your distros equivalent) after setting the correct locale files on your system? X or fontconfig will spit out a similar error if you have not.

drewauff commented 3 years ago

been trying a few things , now getting an added error message "cannot open display"

Shizcow commented 3 years ago

Looks like $DISPLAY isn't set. Are you even running X? This doesn't support Wayland or anything not Linux (apparently it works on macOS with xquartz, untested).

drewauff commented 3 years ago

yeah trying to get it running on xquartz

Shizcow commented 3 years ago

Ok can you get source dmenu to work?

drewauff commented 3 years ago

er..seems xquartx has decided not to play nice...

drewauff commented 3 years ago

ok xquartx all good, but still same error

Shizcow commented 3 years ago

You've posted multiple errors so far. Can I get exact terminal output from running the following command: echo 1 | dmenu? If there isn't much to go off of, please run it in gdb and provide a backtrace (don't forget stdin).

drewauff commented 3 years ago

warning: no locale support cannot open display

that's all I get

Shizcow commented 3 years ago

Considering that this is an xquartz issue, closing as "not my problem."