Hide Recent Documents in the Places menu

To hide Recent Documents from the Places menu, open a terminal and run the command:

chmod 400 ~/.recently-used

To show the menu again, run the command:

chmod 600 ~/.recently-used