Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ram_widget does not work with most locales #28

Open
wirelurk opened this issue Feb 6, 2018 · 1 comment
Open

ram_widget does not work with most locales #28

wirelurk opened this issue Feb 6, 2018 · 1 comment

Comments

@wirelurk
Copy link

wirelurk commented Feb 6, 2018

The shell command using grep on the output of free will not return anything with most locales,
hence returning void.
Calling free with env did the trick for me.

@flocke
Copy link

flocke commented Sep 17, 2018

Thanks for the tip, I used bash -c "env -i free | grep -z Mem.*Swap.*" to fix it, which clears the environment used for the command so it falls back on the default locale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants