Mastering BleachBit TUI: A Step-by-Step Guide to Using the New Text Interface

By

Introduction

System cleanup utilities are a matter of personal preference on any platform. On Linux, tools range from simple command-line scripts to full graphical applications, handling everything from browser caches and old package archives to secure file deletion and free space wiping. Among these, BleachBit has long been a popular free and open-source option for both Linux and Windows. Now, its developers have released an early alpha of a text-based user interface (TUI) that brings the power of BleachBit to terminal users. This guide walks you through using the new BleachBit TUI step by step, from installation to performing your first cleanup.

Mastering BleachBit TUI: A Step-by-Step Guide to Using the New Text Interface
Source: itsfoss.com

What You Need

Step-by-Step Guide

Step 1: Obtain BleachBit TUI

On Linux, the easiest way is to run the TUI directly from the source repository. Open a terminal and execute:

git clone https://github.com/bleachbit/bleachbit.git
cd bleachbit
python3 bleachbit_tui.py

If you prefer a more permanent installation, follow the official quick-start instructions for Ubuntu, or build from source. On Windows, the TUI ships as both an installer and a portable package, compiled as a native 64-bit binary. Download from the BleachBit website and run the executable.

Step 2: Launch with Appropriate Privileges

To clean system-wide data (e.g., package caches or logs), you need elevated privileges. On Linux, launch the TUI with sudo:

sudo python3 bleachbit_tui.py

Without sudo, you may encounter permission errors when attempting deletion. On Windows, run as Administrator if needed.

Step 3: Navigate the Interface

The TUI is keyboard-driven and simple to navigate. Use the arrow keys to move between categories. Press the Spacebar to toggle a cleaning option on or off. To expand a category and see its file list, press Enter. Press Enter again to collapse it. The interface is clean, with a focus indicator highlighting the currently selected item.

Step 4: Preview What Will Be Cleaned

Before committing to deletion, you can preview the impact. Two preview options are available:

Use Shift or Caps Lock to produce uppercase input. A preview shows files that would be deleted, helping you avoid accidental removals.

Step 5: Perform Deletion

When you’re ready to clean, press d (lowercase) to delete everything selected. Use D (uppercase) to delete the focused component only. After pressing, you’ll need to confirm by typing Y. Once complete, a dialog appears in the bottom-right corner showing the number of files deleted and space recovered. If deletion fails, ensure you have the necessary privileges (Step 2).

Mastering BleachBit TUI: A Step-by-Step Guide to Using the New Text Interface
Source: itsfoss.com

Step 6: Use the Palette Menu

The palette menu is accessible via Ctrl+P. From there, you can:

This menu makes advanced features like theme changes and mouse interaction settings easily reachable.

Step 7: Customize and Understand Settings Inheritance

BleachBit TUI shares its backend with the regular GUI. All your existing settings—selected cleaning options, keep lists, custom cleaning lists, and cookie keep lists—are automatically picked up. You can change display themes from the palette menu. The TUI also supports limited mouse interaction, including click and scroll wheel, alongside keyboard navigation. On Windows, the TUI is a native 64-bit binary, whereas the stable GUI/CLI are 32-bit; this may affect compatibility with some plugins.

Tips for a Smooth Experience

Tags:

Related Articles

Recommended

Discover More

Michael Patrick King on AI and the Future of Creativity: Lessons from 'The Comeback'How to Build a Single-Player RPG with Live Service Agility: Lessons from Pearl Abyss' Crimson DesertŠkoda Auto Reveals Customer Data Compromised Following Cyberattack on E-Commerce PlatformSovereign Tech Agency Launches Paid Initiative for Open Source Contributors to Shape Internet Standards10 Fascinating Projects and Obsessions We're Building Right Now