I had a direct inguinal hernia repaired 16 days ago, not sure if I got mesh since It was really really small (with sharp pain)
ACTIVITY: I wouldn't recommend walking too much the first days, i know it is good to make the tissue more flexible but you really NEED the internal stitches to heal before you move the whole thing, in my case this lead to internal bleeding and hematoma. I'm pretty good now and could walk on the 2nd weel so BE PATIENT and rest as much as possible. And avoid doing efforts.
DRESSING: Regarding the dressing, you mean the transparent plastic on the wound? I was told 8 days and when you pull it do it really carefully and in the direction of the wound so you don't open up the wound again.
After that, check for any pubic hair that got stuck in the pores where the plastic was (not the wound) and similar to avoid any itching and pain the next few weeks since the plastic can affect in that area.
SLEEP: In an armchair? POOR GUY why the hell is he like that? he should be on a bed

, sitting makes the pain even worse, unless is a confy couchon
FOOD: About the bowel, better take some OTC pills for the gases
Must eat: lots of water, papaya, brown rice,
Avoid!: soft drinks (coke, etc), heavy milk or dairy, white rice, banana, cheese, beer, legumes (beans, peas, etc) or anything that can cause gas. This is a big cause of the pain.
Regarding sex, do not worry, you can try with oral after a 7-10 days to verify everything is working fine, i do recommend waiting for any activities like this a minimum of 2 weeks, but there shouldnt be any risks at all, believe me