Introduction to Filelight
Filelight is an open-source graphical application designed to visualize disk space usage on Linux systems. Instead of presenting long lists of numbers, Filelight represents each directory as a segment of a concentric ring chart, allowing you to quickly identify which folders consume the most space. This visual representation is especially useful when you need to free up space on desktop servers or workstations where the user prefers an intuitive interface over the command line.
Installation on popular distributions
- Ubuntu/Debian: sudo apt update
sudo apt install filelight - Fedora: sudo dnf install filelight
- Arch Linux: sudo pacman -S filelight
- From source: clone the KDE repository, run cmake and make (requires Qt and KDE Frameworks)
How to use Filelight
When launching Filelight from the applications menu or running filelight in a terminal, a main window opens showing the directory tree of the root filesystem by default. You can change the starting point by selecting «Open» and navigating to any directory you wish to analyze. Each ring represents a depth level: the central circle corresponds to the selected directory, while the outer rings show subdirectories proportional to the space they occupy. Hovering over a segment displays a tooltip with the exact directory name and its size in bytes, kilobytes, or megabytes, according to the configuration. Additionally, Filelight lets you right-click a segment to open the directory in your favorite file manager or copy its path to the clipboard. If you need to compare several directories, simply open multiple instances of the application or use the «Compare» function available in the Tools menu.
Highlighted features
- Interactive ring visualization that updates in real time when files are modified.
- Support for customizable size scales (bytes, KB, MB, GB) and an option to show exact or rounded values.
- Integration with the KDE environment, although it works perfectly on other desktops like GNOME, XFCE, or LXQt thanks to its independence from specific libraries.
- Ability to exclude certain directories from analysis via filters, useful for omitting network mount points or swap partitions.
- Generation of reports in CSV or XML format that can be imported into spreadsheets for deeper analysis.
- Low resource consumption; even on multi-terabyte disks, the graphical representation remains fluid thanks to efficient use of Qt.
Tips to get the most out of Filelight
- Use the «Choose start directory» option to analyze only your personal folder (/home/username) and avoid scanning the entire system, which speeds up startup.
- Act on the largest segments: if you see that a downloads or virtual machines directory is taking up too much space, consider moving files to external storage or deleting redundant copies.
- Combine Filelight with command-line tools like du and ncdu to validate results and obtain a complementary view.
- Schedule a cron job that runs filelight in command-line mode (a non‑graphical version exists) and saves the output to a log file to monitor disk usage growth over time.
- Customize the appearance by changing the color theme in the Settings > Appearance menu, which can improve readability on high‑resolution screens or in low‑contrast environments.
Conclusion
Filelight presents itself as an elegant and effective solution for anyone who needs to quickly understand how disk space is distributed in a Linux environment. Its visual approach based on concentric rings eliminates the need to interpret long lists of numbers and enables informed decisions about file cleanup and organization. Whether you are a system administrator, a developer, or a home user, incorporating Filelight into your toolkit will save you time and give you a clear view of your storage state. Try installing it today and discover how much it can simplify the management of your hard drive.
This post is also available in ESPAÑOL.