end-4 / dots-hyprland

Modern, feature-rich and accessible desktop configuration.
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
3.06k stars 196 forks source link

[Issue] odd line when opeing terminal #621

Open Dialgatrainer02 opened 2 weeks ago

Dialgatrainer02 commented 2 weeks ago

The issue

issue when opening a new terminal from hyprland this line appears above the prompt

warning: 'C' is not a UTF-8 locale, using 'C.UTF-8' instead

image when i open foot from an existing terminal it doesn't appear it does the same when setting shell to bash in foot.ini

Logs ```plain locale -a: C C.utf8 en_US.utf8 POSIX cat locale.conf LANG=en_US.UTF-8 locale 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= ```
clsty commented 2 weeks ago

For me locale -a gives:

C
C.utf8
en_US.utf8
POSIX
zh_CN.utf8

And I can't reproduce your error when open zsh or fish. So it may not be the problem.

The problem may be that something in your shell (fish, bash or zsh) config requires a UTF-8 locale.

Dialgatrainer02 commented 2 weeks ago

i haven't touched the fish or bash or foot configs i just ran the install script from the repo after a fresh arch install then rebooted a few times

 mv .config/fish/config.fish .config/fish/config.fish.bak

image

im not sure whats causing it but i dont think its fish