Skip to content

setlocale warning when using lazygit after fresh install with non-US locale #3764

@moktavizen

Description

@moktavizen

Which ISO version are you using?

2025-08

The installation log

https://0x0.st/KoDU.log

describe the problem

After fresh install using Minimal type with locale set to en_GB.UTF-8, Lazygit will throw warning

/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such file or directory
Image

The manual workaround is to enable en_US.UTF-8 so it can be used as a fallback, as stated in the ArchWiki. And then regenerate locale using sudo locale-gen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions