Comments (7)
Some helpful commands in terminal
Display current locale settings:
$ locale
Show available locales:
$ locale -a
If a locale does not appear in the list, it must be generated:
$ sudo locale-gen en_GB.UTF-8
A list of all available locales can be found in the following file:
$ cat /usr/share/i18n/SUPPORTED
Adjust Locales:
The default settings are stored in the file /etc/default/locale:
$ cat /etc/default/locale
LANG=en_US.UTF-8
This file can either be adjusted manually or updated with the update-locale
tool:
$ sudo update-locale LANG=en_GB.UTF-8
(Hint: update-locale
also generates the file /etc/default/locale if it does not exist.)
Then reboot the system or open a new console.
UTF-8 encoding in terminal is required for pihole5-list-tool to show the red frame on startup..
from pihole5-list-tool.
i have not seen that. My guess was that your terminal might be in a non-UTF8 character set and that was causing it, but trying to change it to latin-1 didn't break it. What is that, though. For example, mine is:
# sudo echo $LANG
en_US.UTF-8
I'll see if I can make that happen so I can come up with some fix.
from pihole5-list-tool.
Hey jessedp, it looks like my $LANG is set to en_GB - great britain it seems. but I can change it to US UTF-8 if it allows me to install, how might I do that?
from pihole5-list-tool.
I found the locale settings and adjusted it, then re-ran your tool. everything works now. thank you so much for the quick replies!
from pihole5-list-tool.
Sweet. Would you mind posting what you did in case someone else runs into this?
from pihole5-list-tool.
sure! I don't know the commands in terminal for what I did as I found it browsing around pixel (xwindows). I clicked on the Raspi menu > Preferences > Raspberry Pi Configuration > Localisation > Set Locale > changed country from GB (United Kingdom) to US (United States), and Character Set from ISO to UTF-8, saved, reboot the raspi, and re-ran the tool. Everything good now!
Reason I had it GB to begin with was I like the name "Wastebasket" better than "Trash" (US locale uses this name). I couldn't find a way to rename the Trash bin otherwise. Silly, I know, haha
from pihole5-list-tool.
That's amazing, I love it. I'm pretty sure that all that mattered was the Character Set if you want to change the Country back.
from pihole5-list-tool.
Related Issues (20)
- Issue when trying to add whitelists HOT 2
- Downloading AndeepND whitelist basically whitelists everything HOT 2
- PiHole Docker Python 3.5
- pihole5-list tool command error on pi model 4b HOT 1
- docker not found HOT 1
- Won't accept Python version HOT 1
- running sudo pihole5-list-tool gives an error HOT 1
- Unable to add a list of urls from a file HOT 1
- Docker image pihole/pihole HOT 2
- Downgrade list HOT 2
- Removing lists from database HOT 2
- how to remove this tool? HOT 1
- Parsing of Entry on Firebog List HOT 2
- Install doc Suggestion
- Error while installing on DietPi HOT 3
- Docker Friendly Script HOT 1
- Issue with python3.10 - Maybe a dependecy issue rather than a pihole5-list-tool issue HOT 2
- Auto-updating whitelist with this tool? HOT 1
- Abnormal termination when trying to paste Blocklist
- Dev requrements in separate file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pihole5-list-tool.