|
0
|
I'm looking for a way to be able to scroll half a page, preferably by using a key combination like shift page up/down. In Windows, this is doable via autohotkey, for OS there does not seem to be any as easy solution as all I found was this. I just switch to using Ubuntu 14.04 (from win7). From googling around it seems to me that the easiest way to achieve this is by creating a couple of xdotool/xbindkeys scripts, which emulate half a page worth of mouse scrolling or arrow clicking up and down, respectively. Then I would bind these to custom hotkeys. However, since I just switched to Ubuntu, I realize that I might be missing something. Therefore I wonder, which is your preferred way to enable half page scrolling in Linux? Update: I created a script, which emulates scrolling the mousewheel a few times:
It works decently, but two problems remain:
|
|||
| add comment |
|
0
|
I finally came up with a solution that works very well for most of my use-cases. Using
Basically, xdotools get the activewindow id and then moves the moves there before sending the mouse scroll signal several times. I could not get it to work by directly specifying which window to send the clicks to, so I solved it by moving the mouse cursor instead. Since Linux automatically scrolls the window under the mouse, this solves problem 1 listed in my question. The The only minor annoyance left is that in some windows, there are multiple panels and with this script I can only scroll the top leftmost panel. This is not a problem when browsing but for IDEs such as spyder. So if someone has a better approach, please share! |
||
| add comment |
|
Name
Email
|
By posting your answer, you agree to the privacy policy and terms of service.
|
asked |
11 days ago |
|
viewed |
35 times |
|
active |
| Technology | Life / Arts | Culture / Recreation | Science | Other | ||
|---|---|---|---|---|---|---|