Does anybody know how to minimize farting and the smell?

You cant. . Passing gas is normal and essential or you would pop. Bacteria in the colon make the gas, all 1000 trillion of them. It depends on the type you have and the ratio of one species to another. This is always changing with over 10000 different species of bacteria. Try probiotics as they might help. Certain foods increase. Gas, like legumes.
Food diary/probiotic. The gas is created by bacterial action on nutrients you don't digest completely.If your body doesn't digest milk sugar & fruit sugar you provide food for these gas producers. Most people cannot digest all the sugars in beans & similar vegies.Probiotics provide different germs for your gut to change the balance. Keeping a mental or written diary of what makes you gassy & avoiding them can also help.