Disable global menus in Linux (Ubuntu)
Here is a way to get the menus in Ubuntu to reside on application windows instead of the top bar:
Open a terminal window and enter:
sudo echo "export UBUNTU_MENUPROXY=0" > /etc/X11/Xsession.d/81ubuntumenuproxy
Next log out of the system and log in again and it should work. To re-enable it enter:
sudo rm /etc/X11/Xsession.d/81ubuntumenuproxy
Log out, and back in again.