KDE Sweeper

I installed Sweeper However it does not seem to clear out my Firefox Browser cache, do I need to set it somewhere?

Clearing of Web Cache failed: 


Not sure, but perhaps you need to close Firefox first before clearing the cache.

1 Like

If I understand correctly, Apparently its suppose to clear out:

qtpaths --paths GenericCacheLocation

in my case

home/ username/ .cache

Looking into it further, In fact it seems after running it nothing seems to get removed.


I am afraid I wouldn’t know what might be the issue. Frankly it was quite a while ago I used the application and also I haven’t been using my KDE for some time now. Perhaps some other forum member could give a hint on this.

1 Like

Why don’t you configure cache cleanup in Firefox itself?
Or, if you don’t want to keep cache, put it in /tmp?

IIRC, the cache directory is somewhere in ~/.mozilla/firefox.


Thanks @pebcak

Thanks @torvic9 Its not a biggy, I was just wondering why it does not do what it says on the tin.

I’ll stick to doing it manually

Thanks all :wink:


Is Firefox even supported by Sweeper?

Here is a code snippet regarding the web cache cleaning:

bool ClearWebCacheAction::action()
   const QStringList lst { QStringLiteral("--clear-all") };
   return QProcess::startDetached(QFile::decodeName(KDE_INSTALL_FULL_LIBEXECDIR_KF5 "/kio_http_cache_cleaner"), lst);

The history cleaner only has konqueror in it btw. But I’m not proficient in C++…

not sure, that’s why I asked if It needed to be set somewhere, but since its only suppose to clear /home/username /.cache I guess not

Hmm from what I understand, Sweeper is only really for KDE-related applications.
Not 100% sure but the code looks like it.

1 Like

yes its a KDE app, but I guess if its only suppose to clear /home/username/ .cache you could use it on non kde desktops!?

or maybe not, in this case :rofl:

Once i’ve started to use Linux i stopped using automated solution like that…
Coz i trust nobody (sometimes even myself) hence try to do everything manually or by custom scripts :laughing:


I know bleachbit is a “touchy subject” but configured “moderately” it can clear cache if one really needs a GUI application for that.

1 Like

What about deepin???


NEVERMORE :sweat_smile:

1 Like

I tried before to remove sweeper and it doesn’t uninstall clean and wreaks havoc on kde. How can it be done?

Whats the output when you do sudo pacman -R sweeper

sounds like you have kde-utilities-meta installed which is part of sweeper which would uninstall kde-utilities-meta

I never installed kde-utilities-meta I installed sweeper separately so not a problem for me.

I’m arch btw, manual install :wink:

Basically a dependency problem kde-utilities-meta

[ricklinux@eos-kde ~]$  sudo pacman -R sweeper
[sudo] password for ricklinux: 
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing sweeper breaks dependency 'sweeper' required by kde-utilities-meta
[ricklinux@eos-kde ~]$ 

That is only a meta-package for bulk-installing a bunch of other packages. I guess it could safely be removed.

1 Like

Personally I’d leave it, you would have to uninstall kde-utilities-meta which will uninstall other packages and not just from kde-utilities-meta meta-pkg.

If you ever install KDE Plasma again you’d be better off just installing the plasma pkg and then add other programs manually, that way your not installing pkgs you’d never need or want.

That’s what I do on arch.

Although maybe it gets installed by default on endeavour OS ??

I was under the impression that a “meta” package is just kind of a package that install other packages specified as its dependencies . A meta package doesn’t contain actual pieces of software or libraries necessary for the functioning of the system. Uninstalling a meta package would leave the packages installed through it in the system.

A meta-package rarely contains anything other than a changelog and perhaps copyright information, it contains no applications or libraries within itself. The way they work is by having a list of “dependencies” that the package manager reads. The package manager then goes to the repositories to find the dependencies and installs them.

pactree -r kde-utilities-meta will show if it is required by any other package on the system. According to https://www.archlinux.org/packages/extra/any/kde-utilities-meta/ it might be required by:

which in turn installs a bunch of other meta packages.