Giter VIP home page Giter VIP logo

Comments (7)

MexSalem avatar MexSalem commented on June 14, 2024 3

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.

jessedp avatar jessedp commented on June 14, 2024

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.

patrickisfrench avatar patrickisfrench commented on June 14, 2024

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.

patrickisfrench avatar patrickisfrench commented on June 14, 2024

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.

jessedp avatar jessedp commented on June 14, 2024

Sweet. Would you mind posting what you did in case someone else runs into this?

from pihole5-list-tool.

patrickisfrench avatar patrickisfrench commented on June 14, 2024

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.

jessedp avatar jessedp commented on June 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.