Can unused files be deleted from./config?

It is safe to delete these files. If you decide at some point to use any of these browsers again, your settings will be lost and it will be as if you had opened the browser for the first time.

You can remove orphans to free up space, but the -Rns option can be overly aggressive; see also this discussion here: Discussion about handling orphaned packages - #6 by BluishHumility

:warning: Do not run this command! :warning:

The command the chat bot has suggested you run will remove all files that end in .conf from the /etc directory. These are important files in an important directory. Running this command will break your system. This should be considered bad advice.

There is no /config directory, by the way. User configs are stored in the ~/.config directory.

Deleting cache is not without consequences. For example, if you delete all your yay or paru cache you won’t see diffs properly when updating AUR packages. Depending on how much space is tied up there, it may not be worth messing with it.

TL;DR: yes, you can delete configs from ~/.config for applications you don’t use anymore, but be careful.

5 Likes