My view: If the US population really wants to do something school shootings in the near term, then the physical layout of schools should be changed so that someone can't just walk in and shoot children. Does this make school look and feel like a dystopian prison? Yes. But that's the price of freedom, which probably shouldn't be born by dead primary school children. This strikes me as the only politically feasible solution right now.
Gun regulation seems likely to help and is a fairly logical solution, but too many people seem allergic to it, and there are already so many unregistered firearms out there. While we are dreaming, reshaping society so everyone is kinder and less likely to shoot each other is also likely to help.