This question already has an answer here:
Back when I mainly used Windows, I always exported a text file containing my installed programs from the software "CCleaner" before reinstalling my operating system, so that I had a list with all the software I would have to reinstall and not miss anything.
Unfortunately, I can't seem to find such a list in Ubuntu (using Xfce currently, but also just in general). Also, it would be helpful if that list did not include just all packages, such as plymouth, gedit and nautilus, which are installed by defauly anyway, but only those installed by the user.
Is there a way to obtain such a list?