mouse-wheel-mode is enabled in emacs, however the cursor does not scroll as it had in other terminal emulators, on other distros. I've done a lot of digging and cant seem to find the answer. Again I'm using urxvt, and scrolling up and down of the text in the window of say, the log output of a running application does occur when I move the mouse wheel. In emacs nothing happens with the mousewheel, and I believe there is a way that the scroll wheel can cause the same result as pressing the up arrow/down arrow.
Linux – How to enable cursor scrolling via mousewheel in emacs with urxvt
emacslinuxscrollingterminal
Best Answer
I haven't tested this specifically for emacs yet, but this allows for mouse scrolling when using
vim
,less
,man
,etc. Paste this in $HOME/.urxvt/ext/vtwheel (create the file if it doesn't exist):Then add
URxvt.perl-ext-common:vtewheel
to your.Xresources
(or.Xdefaults
) and runxrdb .Xresources
Source: https://aur.archlinux.org/cgit/aur.git/tree/vtwheel?h=urxvt-vtwheel