Ubuntu – Emacs won’t mouse wheel scroll on Ubuntu 15.10 with Cinnamon

emacsUbuntu

I'm running Ubuntu 15.10 using the Cinnamon interface instead of the default. When I run emacs 24.5.1 in an X interface, almost everything works well with the mouse, except the mouse wheel scrolling fails. In the Messages buffer when I try to scroll up, it says:

C-M-( is undefined

And when I scroll down:

C-M-) is undefined

Best Answer

I've come up against this same problem on Ubuntu-15.10. It appears that the mwheel.el code isn't being loaded by default.

You can work around this by adding these lines to your ~/.emacs file:

(load "/usr/share/emacs/24.5/lisp/mwheel.elc")
(mouse-wheel-mode t)
Related Question