The old-school formula was dissolving borax in boric acid. Dissolved ammonium alum is another; I'm sure it leaves a chalky residue on the fabric when the solution dries, but if your decor is dusty I imagine it could be camoflaged. Nowadays I think everybody buys the commercially made stuff.