What helped me get through the boredom of school was to learn to daydream. Any time there's something boring going on I can tune out from that and daydream. Walking around while doing it is great. The downside of it is that it's not productive and once you're out of school you don't need it to occupy your time, but you still want to.