Setting it up
Rain is the best choice for laptop speakers because it has less deep bass than brown noise. Set it just above the room. If you are in a loud café, try waterfall or pink noise instead; they cover voices more fully than rain at the same volume.
Pair it with a block
Sound stops the room from interrupting you. The timer stops you from interrupting yourself. Twenty-five minutes with a written task and a chime at the end is the whole method; the rain is the part that makes it pleasant. To pick the block length, read how long a study session should be; for the rest of the setup, how to focus on homework on a laptop.