You are not logged in.

#1 2019-04-16 23:44:11

adler0901
Member
Registered: 2019-04-10
Posts: 13

[SOLVED] i3status "Error: status_command process exited unexpectedly"

I've googled around a bit, and it looks like this error has something to do with i3status, which, when I run it, says:

Could not set locale. Please make sure all your LC_* / LANG settings are correct.

I generated the locale and set it in /etc/locale.conf as per the installation guide, so I'm not sure what else I can do.

The other thing that's strange is that many of the discussions of this issue on the web assume that there's a .i3 directory in my home directory, but there isn't. There's a .config directory and an i3 directory (no dot) in that, and that's where the i3 config file is. I've been modifying it no problem so far, so i3 is reading it, but I wonder if this problem doesn't have something to do with the different directory structure.

Thanks.

Last edited by adler0901 (2019-04-17 13:43:19)

Offline

#2 2019-04-17 00:17:16

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: [SOLVED] i3status "Error: status_command process exited unexpectedly"

How are you starting i3? What does the "locale" command (without any parameters) return for the regular user?

What are you trying to do with i3status that may be causing this problem? Did you read the Arch Wiki on i3, specifically https://wiki.archlinux.org/index.php/I3#i3status? If you revert the configs back to the original, does the problem go away?

Offline

#3 2019-04-17 11:37:26

adler0901
Member
Registered: 2019-04-10
Posts: 13

Re: [SOLVED] i3status "Error: status_command process exited unexpectedly"

I start it with "startx" in the startup tty.

The "locale" command produces the following:

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

(I had to hand-type the error messages since they don't get output to xclip for some reason)

I haven't touched i3status. I copied the default configuration files into the home directory.

Last edited by adler0901 (2019-04-17 11:58:12)

Offline

#4 2019-04-17 13:17:39

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: [SOLVED] i3status "Error: status_command process exited unexpectedly"

It looks like you missed this step: https://wiki.archlinux.org/index.php/Lo … ng_locales

Offline

#5 2019-04-17 13:37:43

adler0901
Member
Registered: 2019-04-10
Posts: 13

Re: [SOLVED] i3status "Error: status_command process exited unexpectedly"

You're right. I uncommented the needed locales and then forgot to run locale-gen.

Thanks!

Offline

Board footer

Powered by FluxBB