You are not logged in.
I'd like to be achieve a mouse scroll wheel functionality with keyboard, that is, to be able to scroll n lines by using a keyboard shortcut. Page up/down jumps too much and arrow up/down is quite slow and not so eye-friendly. So I'd like to be able to scroll, say, five lines down when pressing something like Ctrl + arrow down.
I'm using KDE 4.3 at the moment and couldn't find anything related in the settings, so I'm guessing it requires a bit more effort. Would it be possible to map some keys into sending an event similar to the event that is caused by scrolling the scroll wheel? I tried to see what xev says about scrolling the wheel, but that didn't help much.
Last edited by peabrain (2009-08-19 23:43:23)
Offline
Hello peabrain!
You can do that in vim, it's sure.
Offline
Maybe xbindkeys with xdotool, but I don't know if this is without lag.
Something like this in .xbindkeysrc
"xdotool key --clearmodifiers Up Up Up Up Up"
Control + Up
Offline
Maybe xbindkeys with xdotool
Just what the doctor ordered.
Thanks!
Offline