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.
ReplyDeleteIk heb onlangs het Hidden Hills trainingspak gekocht en ik moet zeggen dat de kwaliteit echt top is. Het zit super comfortabel en de stof voelt premium aan. Perfect voor zowel sporten als casual dragen.
ReplyDelete“Lo stile oversize è perfetto per chi ama la moda ma vuole sentirsi libero e comodo. Questo brand sembra davvero promettente.”
ReplyDelete“Can’t believe more people aren’t talking about this! Vale Lives Forever deserves way more recognition.”
ReplyDeleteThe Giubbotto Trapstar jacket is a great mix of comfort and style. I appreciate the attention to detail in the design. It keeps me warm without feeling too heavy. Overall, it’s a solid choice for winter fashion.
ReplyDeleteI tried Happy Memories clothing shorts last week and they quickly became my favorite. The material feels durable but still very comfortable. They’re perfect for casual outings or relaxing at home. Really happy with this purchase.
ReplyDeleteK2 Studios Clothing has some really unique pieces that stand out from typical fashion brands. I like how their designs combine simplicity with a trendy touch. The attention to detail in stitching and cuts is noticeable. It’s great to see a brand focusing on both style and quality.
ReplyDeleteThat shirt Scuffer is rocking is seriously stylish. The pattern is subtle but adds a lot of personality. I like that it’s not too loud but still makes a statement. Perfect choice for casual outings.
ReplyDeleteMikuta Shop bietet eine sehr schöne Mischung aus Alltag und Trendmode. Ich habe mir einen Pullover und ein Kleid bestellt. Beide sehen besser aus als auf den Fotos. Die Lieferung war außerdem sehr schnell.
ReplyDeleteI recently got a pair of Fugazi shoes, and they are incredibly comfortable. The design feels modern but still classic. I can see myself wearing them every day.
ReplyDeleteUnits Enterprise is a leading supplier of enterprise-grade networking and security equipment, committed to delivering performance, reliability, and value. Units Enterprise provides high-quality switches, routers, firewalls, and IT infrastructure solutions tailored to modern business needs. We work with globally recognized brands to ensure dependable connectivity and strong network protection. Units Enterprise focuses on helping organizations optimize their infrastructure with scalable and cost-efficient solutions. Our customer-centric approach, technical expertise, and dedication to excellence make us a trusted partner for businesses seeking secure and efficient IT environments. With Units Enterprise, companies gain technology solutions that drive growth and long-term success.
ReplyDelete