Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

296.9. sweeper-26.08.2

Privacy cleaner — clear recent documents, activity history, web history, cookies, caches and thumbnails

26.08.2-1 · LGPL-2.1-or-later AND CC0-1.0 · 1.0 SBU · 251.6 KiB, 10 files · 44_apps, 367 of 422 · ports/core/security/sweeper

Homepage: https://apps.kde.org/sweeper/

Sweeper removes the traces a KDE session leaves: the recent documents and recent applications lists, which it clears through the activity manager’s usage statistics (plasma-activities-stats, which upstream requires), the Run Command history, Klipper’s saved clipboard, the thumbnail cache, and the web history, cache, cookies, cookie policies, form completions and favicons that KDE’s own browser components keep. Each kind is a checkbox, and nothing is removed until it is ticked.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kbookmarks, kcrash, kconfig, kconfigwidgets, kcoreaddons, ki18n, ktextwidgets, kxmlgui, kdoctools, plasma-activities-stats.

Required by (1): kde-gear-core.

Sources: sweeper-26.08.2.tar.xz (378.3 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install sweeper'

build.sh:

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D BUILD_TESTING=OFF \
	-D KF_SKIP_PO_PROCESSING=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Programs: sweeper.

Directories: /usr/share/doc/HTML/en/sweeper, /usr/share/licenses/sweeper.

Sweeper clears only KDE’s own stores; Firefox’s and Thunderbird’s histories and caches are outside its reach. The usage statistics are held by the activity manager daemon of the Plasma session, so the two recent lists are cleared only while it runs.