You are not logged in.

#1 2011-01-30 18:20:31

archbanglinux
Member
Registered: 2011-01-30
Posts: 2

how to set the amount of lines to scroll by mousewheel?

does anybody know how to do that ?

Offline

#2 2011-01-31 03:43:14

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: how to set the amount of lines to scroll by mousewheel?

I think you need to add something like the line below to the "InputDevice" stanza of your /etc/X11/xorg.conf file:

Option "VertScrollDelta" "6"

-substituting "6" for however many lines you want. Then you have to reboot the X server of course.


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#3 2011-01-31 09:20:06

jOaNbE
Member
Registered: 2011-01-20
Posts: 20

Re: how to set the amount of lines to scroll by mousewheel?

Put this in your .Xdefaults and change to your liking

# scrollback buffer lines - 65535 is max (64 is default)

XTerm*saveLines:64

EDIT: This is NOT what the OP is asking for. This changes the number of commands stored in the buffer. It has nothing to do with the number of scrollable lines in an xterm window .

Last edited by jOaNbE (2011-02-01 13:28:48)

Offline

#4 2011-02-01 04:01:01

xelados
Member
Registered: 2007-06-02
Posts: 314
Website

Re: how to set the amount of lines to scroll by mousewheel?

jOaNbE's suggestion is the number of terminal lines to save in the buffer, NOT for the scrollwheel. Still a handy thing to mess with, but I suggest 500 or more lines, not 64. tongue

Offline

#5 2011-02-01 13:24:50

jOaNbE
Member
Registered: 2011-01-20
Posts: 20

Re: how to set the amount of lines to scroll by mousewheel?

xelados wrote:

jOaNbE's suggestion is the number of terminal lines to save in the buffer, NOT for the scrollwheel. Still a handy thing to mess with, but I suggest 500 or more lines, not 64. tongue

HA! You are quite right. Read before posting and all that... I will edit my post with a disclaimer.

Who needs to scroll a console anway. Just pipe to less or whatever tongue

Offline

#6 2011-02-02 20:43:45

archbanglinux
Member
Registered: 2011-01-30
Posts: 2

Re: how to set the amount of lines to scroll by mousewheel?

lagagnon wrote:

I think you need to add something like the line below to the "InputDevice" stanza of your /etc/X11/xorg.conf file:

Option "VertScrollDelta" "6"

-substituting "6" for however many lines you want. Then you have to reboot the X server of course.

thank you for the hint lagagnon,
my problem is that i do not have a xorg.conf file in /etc/X11/. Everything is working fine without it.
Im using a "20-keyboard.conf" to define my keyboard is there a similar way to do it for the mouse?

Offline

Board footer

Powered by FluxBB