After installation of the Kali Linux on a Raspberry Pi platform (at least in the Kali GNU/Linux Rolling) I noticed that the Xfce login screen shows in the upper right corner the full list of local keyboards installed (the locales). I don't like it! :) I don't need other than C and US keyboard and more than that, you can save some precious space on the Raspberry Pi storage.
The following post is purely cosmetic. There is no problem with the default installation despite the huge and not necessary keyboard list.
So, let's free some space!
1. First, after login (shell or X), run in console:
locale -a (Display a list of all available locales)
or
locale -a -v (As above but the -v option causes the LC_IDENTIFICATION metadata about each locale to be included in the output)
2. Make sure the file /etc/default/locale exists (if not, create it) and has proper content, such as:
LANG="en_US"
LANGUAGE="en_US:en"
or only
LANG=C.UTF-8
3. Delete all (but C.UTF-8 and en_US.utf8) generated locale data:
rm -rfv /usr/lib/locale/*
Generate again the new locales:
locale-gen
4. Restart the Pi or stop/start the X service:
service lightdm stop
service lightdm start
Of course, if you need more keyboards (or something different than US) you can in the step 3.
ReplyDeleteI agree with a lot of the points you made in this article. If you are looking for the buy antivirus online, then visit K7 Computing. I love your content, they are very nice and very useful to us and this text is worth everyone’s attention.
Great observation! Optimizing the locale settings on Kali for Raspberry Pi definitely helps streamline performance and save storage. Removing unused keyboards is a smart move, especially on limited hardware.
ReplyDeleteJust like fine-tuning your system improves efficiency, keeping your home in top shape matters too. For reliable and professional roof maintenance, you can count on New York Roofing services to handle it with expert care.
CM Green Taxi Scheme is a leading platform that covers all the latest news, announcements, and registration procedures related to the Punjab Government’s Green e-Taxi initiative. The website provides verified details about eligibility requirements, application steps, subsidy support, and payment updates under Chief Minister Maryam Nawaz’s transport modernization plan. It serves as a one-stop source for citizens looking to apply for the e-Taxi program and benefit from Pakistan’s move toward a cleaner and sustainable transport system.
ReplyDeleteStay informed with BISP 8171 your trusted source for authentic information about the Benazir Kafalat Program, BISP payments, NSER survey, and 8171 web portal updates. The site offers clear guidance on checking eligibility, verifying CNIC status, and tracking new installments for beneficiaries across Pakistan.
ReplyDeleteI admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much. Read more info about ai-powered crm for yacht brokers online
ReplyDeleteThis is a fascinating project that blends ethical hacking with low-cost hardware experimentation. Running Kali Linux on a Raspberry Pi opens up a lot of possibilities for learning cybersecurity, testing network security, and building portable lab setups. Pairing this kind of technical exploration with clear documentation makes it even more valuable for beginners and hobbyists who want to learn by doing. inspiration
ReplyDeleteThank you for sharing this! Really nice and practical tips. 🙂 I’ve always found that keeping only the essential locales on a Raspberry Pi not only frees up space but also makes the system cleaner and faster.
ReplyDeleteFrom my experience with WordPress and funnel projects at Funnelsflex, a lightweight environment really helps when testing scripts, automation, or even small web services. I also like that you suggested keeping C.UTF-8 and en_US.utf8 — it’s exactly what most apps need to run smoothly.
Simple steps like this make a big difference for performance and storage, especially on devices with limited resources. Appreciate you breaking it down so clearly!
https://funnelsflex.io/
Thanks for sharing this! It’s a neat tip for streamlining a Kali Linux setup on Raspberry Pi. From my experience at FunnelsFlex
ReplyDelete, keeping systems lean and organized, whether on a server or for WordPress hosting, really helps improve performance and manageability. I like that your guide is clear and actionable — removing unnecessary locales not only frees up space but also reduces potential clutter for users. Small optimizations like this can make a big difference in efficiency.
During winter sale events, buying a denim tear jacket is a smart decision for budget-conscious fashion lovers. These seasonal discounts make it easier to invest in premium streetwear without paying full price. Many online stores offer limited-time deals, making it the perfect moment to upgrade your wardrobe.
ReplyDeleteThis winter sale is the perfect chance to explore premium streetwear brands. Corteiz joggers stand out because of their modern fit and warm material. It’s good to see stylish options that are also practical for winter.
ReplyDeleteWhat I really like about the Cole Buxton hoodie is the balance between comfort and style. It has that relaxed streetwear vibe, but the quality and cut make it feel much more refined and intentional.
ReplyDeleteWhat really draws me to Broken Planet Market is its mix of style and purpose. You can tell the founders put thought into every drop, blending modern visuals with sustainable practices that make the pieces feel meaningful and not just trendy.
ReplyDelete