Slice the baguette in half lengthwise.
Lightly brush olive oil on the inside of the baguette.
Slice onion and cucumber thinly.
Layer jambon ham, butter, onion, and cucumber on the baguette in order.
Sprinkle pepper to taste.
Cover the sandwich to finish.