[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#235757: horizontal scroll wheel



Barak Pearlmutter <barak@cs.may.ie> wrote :

> The xdvi program listens to vertical mouse wheel scrolling, but not to
> horizontal mouse wheel scrolling. Many laptops with synaptics
> touchpads are being configured to generate both vertical and
> horizontal scroll events by sliding up/down on the right edge, or
> left/right on the bottom edge. So horizontal scroll wheels (virtual
> ones, at least) are no longer much of a rarity. Mozilla listens to
> them; it would be nice if xdvi did too.

Does it work to put the following into your ~/.Xdefaults:

XDvi.wheelTranslations: \
	<Btn4Down>: up(0.015)\n\
	<Btn5Down>: down(0.015)\n\
	<Btn6Down>: left(0.015)\n\
	<Btn7Down>: right(0.015)\n

(adjust the values as needed); then, invoke
`xrdb -merge ~/.Xdefaults' and restart xdvi.








Reply to: