Unfortunately, i know this too well.
It was even worse when i was out of work for a couple of months, i would often go back to sleep just to pass the time, my boredom spiraled into depression and often boarded on psychosis.. it was a very dark period in my life, that im not sure has passed on completely yet. How i deal with it these days is i often try create a set of goals as a 'backdrop', so if i find myself in a situation where im bored i'll refer to that backdrop.
This is also one of the reasons why i travel alot too and have been drawn to a sort of nomadic lifestyle.. because it keeps everything in constant motion and usually doesn't allow for much time to 'sit-around'. Last weekend after moving back in with my folks temporarily, i threw out everything i owned except for some clothes, my computer, a few backpacks and a travel case.
Comfort - This has to be the scariest word in the dictionary for me, i am terrified of been comfortable.. because it leads me down a dark depressing path clouded in illusion, not only this but it's so easy to fall into and before you realize it your neck-high in quicksand.. unable to move or go anywhere in life.
The way i approach boredom, after been pushed to my emotional and psychological limits is; Just do Something! Anything! even if your unsure, fuck it.. if there's one thing i've learnt through my experiences, is if you allow yourself time to think about doing something from a comfortable perspective, you will convince yourself that you don't need to change anything... and the vicious cycle repeats itself.