Fix crash when loading application menu in Xfce

If we install Xfce from the sources or even through the repository for the first time, it is possible that when trying to open the menu we will find this error:

The solution to this problem is very simple. If we have a terminal installed we open it and see if the folder exists to be part of our menus within / etc / xdg /. With ls should serve:

$ ls -l /etc/xdg/

If it is not, we create it:

$ sudo mkdir /etc/xdg/menus

and then we create a file called xfce-applications.menu:

$ sudo nano /etc/xdg/menus/xfce-applications.menu

and inside we hit this content. We can automatically access the menu.