Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

IBM laptops have this key on top of touchpad that makes point stick to scroll instead of moving the cursor when pressed. How to configure linux to do the same on laptop which doesn't have the physical scroll modifier key. Like for example configuring windows key to do it?

share|improve this question

Xorg uses an input driver on linux called evdev that can do something like that via a mouse button.

See man 4 evdev. Typically the feature you want is accomplished via Option "EmulateWheel", although you will need a keyboard equivalent to mouse buttons 4 and 5.

Another approach is via packages xautomation and xte. The combination of these two packages can do amazing things. Essentially you can program xbindkeys to run xte with arbitrary commands. Try installing the packages and typing man xautomation and man xte.

For an example of something vaguely related, and how it was solved with xautomation and xte, see: Where do I start making a linux input hack? on stackoverflow.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .