This extension adds complete folder size calculation to Nautilus file manager with smart caching functionality.
- Calculates and displays complete folder sizes in MB
- Smart caching system for better performance
- Only recalculates when folders are modified
- Works with local filesystems
- Lightweight and efficient
- Debian GNU/Linux 11 (bullseye) with GNOME 3.38.5 and GNOME nautilus 3.38.2
- Debian GNU/Linux 12 (bookworm) with GNOME 43.9 and GNOME nautilus 43.2
- Nautilus file manager
- Python 3
- PyGObject
- Nautilus Python extensions support
# Clone the repository
git clone https://github.com/ismdevteam/nautilus-all-folder-size-calculation.git
cd nautilus-all-folder-size-calculation
# System-wide installation (requires sudo)
sudo ./install.sh install
# User installation (no sudo needed)
./install.sh install --user# For user installation
mkdir -p ~/.local/share/nautilus-python/extensions
cp nautilus-all-folder-size-calculation.py ~/.local/share/nautilus-python/extensions/
# For system-wide installation
sudo mkdir -p /usr/share/nautilus-python/extensions
sudo cp nautilus-all-folder-size-calculation.py /usr/share/nautilus-python/extensions/After installation, restart Nautilus:
nautilus -q && nautilus &# System-wide uninstallation
sudo ./install.sh uninstall
# User uninstallation
./install.sh uninstall --user# For user installation
rm -f ~/.local/share/nautilus-python/extensions/nautilus-all-folder-size-calculation.py
# For system-wide installation
sudo rm -f /usr/share/nautilus-python/extensions/nautilus-all-folder-size-calculation.pyThen restart Nautilus.
-
If the extension doesn't appear:
- Verify the files are in the correct location
- Check Nautilus version compatibility
- Restart Nautilus completely (
nautilus -qthen start again)
-
If you get permission errors:
- For system-wide install, ensure you have sudo privileges
- For user install, ensure the
.localdirectory exists
-
If sizes don't update:
- The extension caches sizes until folders are modified
- Try navigating away and back to refresh
-
Add the repository:
echo "deb [trusted=yes arch=all] https://ismdevteam.github.io/deb stable main" | sudo tee /etc/apt/sources.list.d/nautilus-ext.list
-
Update and install:
sudo apt update sudo apt install nautilus-all-folder-size-calculation
-
Restart Nautilus:
nautilus -q && nautilus &
-
Download the package from the Releases page or build it yourself using the provided script.
-
Install dependencies (usually automatically handled but can be installed manually):
sudo apt update sudo apt install python3 python3-gi nautilus gir1.2-nautilus-3.0
-
Install the package:
sudo apt install ./nautilus-all-folder-size-calculation_1.0_all.deb
or using dpkg:
sudo dpkg -i nautilus-all-folder-size-calculation_1.0_all.deb sudo apt install -f # To fix any missing dependencies -
Restart Nautilus (if not done automatically):
nautilus -q && nautilus &
-
Remove the package:
sudo apt remove nautilus-all-folder-size-calculation
-
For complete removal (including configuration files):
sudo apt purge nautilus-all-folder-size-calculation
-
Restart Nautilus:
nautilus -q && nautilus &
-
Install build dependencies:
sudo apt install devscripts debhelper dh-python
-
Build the package:
./build-deb-package.sh
-
The resulting .deb file will be created in the current directory.
After installation, verify the extension is working:
- Open Nautilus
- Navigate to any folder
- Enable the "Size (MB)" column in list view (Right-click column headers)
If the extension doesn't appear:
-
Check installation location:
ls /usr/share/nautilus-python/extensions/nautilus-all-folder-size-calculation.py
-
Check Nautilus Python support:
nautilus --version | grep "python"
-
View extension errors:
journalctl -f -o cat /usr/bin/nautilus
Project home: https://github.com/ismdevteam/nautilus-all-folder-size-calculation
To report issues or contribute, please visit our GitHub repository.
[GPL-3.0]LICENSE