Comment 75 for bug 415101

Revision history for this message
Michel Talon (talonmichel) wrote :

This bug still affects Ubuntu 18.04 LTS with emacs-25 package, when running the Unity
desktop. In particular editing lisp files and using slime is next to impossible. I have found
a fix:

For emacs launched from a terminal window simply add
export UBUNTU_MENU_PROXY=emacs
to .bashrc

For emacs launched from clicking on icons, i have modified the exec line of
/usr/share/applications/emacs25.desktop to the following:

Exec=/usr/bin/emacs %F

instead of emacs25 because then the mechanism that puts the menu at the top of the screen is inhibited. In both cases the menu bar is confined to the emacs windows and then works OK.