Sometimes, your computer may be slow to react - tasks take longer to finish, directories open slower, the kernel does not distribute the loads on the CPU cores very well...
Sometimes, this affects also Firefox, which is designed to run efficiently on multiple CPU cores.
One thing you can always try is:
This will clean up system and kernel files which might affect performance.
Be aware that after
sudo apt purge linux*
, you cannot boot your computer anymore. Be sure to follow up with the second line.Also, make absolutely sure you have a running internet connection - otherwise,
apt
cannot download thelinux-image-generic package
.