Potatoes are something that is super gassy for me , earlier post op I though its just the recovery phase and I was trying to gain weight so I ate them alot . But now I stay away from them . Rice is a mixed thing sometimes I feel great , sometimes it just makes me bit gassy but nowhere close to what I get with potatoes. You can try maybe switching to sweet potatoes instead. Other things that make me gassy are high protein meals. I've realised that I cannot do only eggs/ meats , I have to eat sufficient amount of carbs along with some veggies to make the thing digest properly. Also I cannot do big salads.
Brown bread on peanut butter, bananas, pastas, anything thats boiled to soft is great. Anything's thats fried is not so. I am not telling you to cut off fried but try eating more boiled things for a change . And add more bulking foods than soups, I try to eat meals at planned times that helps with the bms and gas. Also try maybe intermittent fasting.