Place a large skillet over medium-high heat. Let the olive oil heat in the pan. Sauté the finely chopped onions in the oil until they become translucent. Drop in the sliced mushrooms and let it simmer until the liquid in the pan evaporates. Stir well with oregano, pepper, and salt. Put aside.