Skip to content

kcms/region_language: run "localectl list-locales" without pager

Plata Hill requested to merge work/plata/kcm-lang-pager into master

Reason for the change

By default, localectl shows its output via a pager. This can be configured (incl. disabled) with the environment variable SYSTEMD_PAGER. The typically used pagers (less or more) paginate only if run in terminal. However, this cannot be guaranteed. If the output is paginated, the code could not parse the localectl output as expected.

Test plan

I don't know how to test this.

Edited by Plata Hill

Merge request reports