# tmux and locale en_US.UTF-8

Source: https://forum.modalai.com/topic/312/tmux-and-locale-en_us-utf-8
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2021-07-02 14:41:02 UTC by plusk01
Replies: 4 · Views: 1535

## plusk01 · 2021-07-02 14:41:02 UTC

Hi, I compiled libevent_2.1.12 and tmux 3.2a from source in the `voxl-emulator` docker and packed them both into a single .ipk. I did not do anything special here. Once installed on the voxl, i see

```
$ tmux
tmux: need UTF-8 locale (LC_CTYPE) but have ANSI_X3.4-1968
```

`tmux` needs locale support, which voxl does not seem to have

```
LC_ALL=en_US.UTF-8
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such file or directory
```

Any ideas on how to add locale / tmux support? thanks

## Reply by Eric Katzfey (ModalAI staff) · 2021-07-02 15:45:53 UTC

There's this: https://gitlab.com/voxl-public/voxl-docker-images/roskinetic-docker/-/issues/3 if you want to try running in a Docker. We haven't tried this outside of Docker.

## Reply by plusk01 · 2021-07-03 20:14:04 UTC

Thanks @Eric-Katzfey, I've solved the problem by editing a few lines of the tmux source code.

My process for creating an ipk is outlined here: https://gitlab.com/mit-acl/fsw/snap-stack/voxl-dev/-/blob/main/extras/create_tmux_ipk.sh

## Reply by Eric Katzfey (ModalAI staff) · 2021-07-03 22:32:52 UTC (in reply to plusk01)

@plusk01 Excellent, thanks for sharing!

## Reply by Jeff Delaune · 2022-08-25 23:33:54 UTC (in reply to Eric Katzfey)

@Eric-Katzfey @plusk01 

Curious if you are still using tmux and able to run automatic tmux (or tmuxp) scripts. I have the issue explained here: https://forum.modalai.com/topic/1248/issue-running-tmux-or-tmux-scripts-on-voxl2

which seems related.
