How did you learn to cope and what attitude changes did you make.
And how do you stay in bed and do nothing if you can't sleep. I can't read much at all, have tinnitus so can't listen, can't do hobbies, can't sleep.
I'm not sure I "learned" to cope. Instead, it seems I made a natural, but gradual, transition to accepting my altered circumstances. And, I definitely can't take credit for consciously making attitude changes. In some respects, I think those of us who became ill decades ago had it easier. The internet didn't exist, and there was little, if any, published information on what was then referred to as chronic fatigue syndrome. I certainly had no inkling that I would still be ill almost thirty years later. This made it easier to stay optimistic, and take one day at a time.
But, you may have advantages my cohort didn't. I'm assuming you are much younger than me, and more recently diagnosed. This means you can benefit from the advice that rest in the early stages of the illness can result in a better outcome down the road. It seems rest is being forced on you due to severity, and that is certainly challenging. Please don't think I'm minimizing your genuine suffering. But, by re-framing your current mostly-bedbound state as an investment in your future better health, it may help.
In my case, I slept much of the time in the early years. And when awake, I was in a stupor most of the time. So, during my better phases, I actually felt emotionally worse -- too ill to do anything, but aware of my circumstances. I know what you mean by feeling envious. These days, I have little contact with people who are healthy. When I do, I sometimes feel resentful that they have (had) a life, and I don't (didn't). This usually doesn't last more than a day or two, so I don't beat myself up about it. Nor should you. Loneliness, helplessness and hopelessness are understandable under the circumstances.
If not for your tinnitus, I'd suggest listening to book tapes. Many public libraries have a selection and delivery service for those who are housebound. Or, these days many recorded books can be checked out on-line and downloaded on a cell phone or tablet. Book tapes have added advantage of putting me to sleep. Perhaps this is something you can consider once your situation improves a bit.
And improve it will. In terms of emotional support, you've come to the right place. Phoenix Rising is a wonderful community. And, based on the research currently being done, I'm expecting great strides to be made in the next few years regarding treatment.
In closing, be gentle with yourself, and know you are not alone. Sending very warm wishes from your neighbouring province.