In a mixing bowl, cream together the softened butter and powdered sugar until well combined and creamy.
Add the semolina flour, all-purpose flour, and vanilla extract to the bowl. Mix everything together until a soft dough forms. If you're using ground nuts, add them at this stage and mix well.
Shape the dough into small balls, about the size of a walnut, and place them on a baking sheet lined with parchment paper. Leave some space between the cookies as they will expand slightly while baking.
Using a fork or the back of a spoon, gently press down on each cookie to create a decorative pattern on the top.
Preheat your oven to 350°F (180°C) and let the cookies rest on the baking sheet for about 15 minutes before baking.
Bake the Ghribia cookies in the preheated oven for approximately 15-20 minutes or until they turn golden brown around the edges.
Once baked, remove the cookies from the oven and let them cool on the baking sheet for a few minutes before transferring them to a wire rack to cool completely.
Once cooled, dust the Ghribia cookies with powdered sugar for an extra touch of sweetness and enjoy!