I want to install EOS on a Notebook - on a Lenovo Thinkpad X220 with 4 gig ram: choosing DE and creating swap-file

dear community

i want to install EOS on a Notebook - on a Lenovo Thinkpad X220 with 4 gig ram. Note: i am loving these notebooks for its robust case and the awesome keyboard.

well here i have to take care that i

a. choose a swap partition or
b. create a swap file … (after the installation)

what would you recommend!?

btw: i certainly have to choose a leightweight DE - which one would you choose!? can i choose the DE right at the installation-process!?

btw: a friend recommended me to go to XFCE DE. and to install it with:

sudo pacman -Sy xfce4 xfce4-goodies

btw: found out: There are articles here on how to install and remove DE’s within EndeavourOS

https://discovery.endeavouros.com/category/desktop-environments/

i really look forward to hear from you

regards

There are articles online about swap file vs swap partitions. Essentially:

  • swap files are flexible in size and you can change them and reboot
  • swap partitions require repartitioning to change their size.

XFCE can be light. Lighter might be openbox, fluxbox, and/or icewm. Maybe find some youtubes of each and see which you think you will like. You could actually have all four on your system at once and move between them.

Good luck.

speaking only for me I always create swap during fresh install, in the live installer. Never later.
edit: so A

What is wrong with creating a swap file during installation? Why do it after?