M HYPE SPLASH
// updates

Scroll through opened windows & apps with mouse button and scroll wheel

By Emma Payne

I have my Logitech G502 mouse with many extra buttons so I wish to be able to hold down a mouse button, use scroll wheel to go through opened windows, release mouse button to select it.

The close keyboard shortcuts I found is Alt+Esc which maps Switch windows directly. To use it, I would hold down Alt button, press Esc repeatedly until desired window is shown, release Alt. An orange frame indicates the selected window.

I have experimented with xte and button sequences but found that they are very unreliable, especially some requires delays to register correctly.

In the end, I found this post and wmctrl which I mapped the single mouse key to this script and it cycled through the windows nicely. However, the way it worked it actually focused on the window thus piling up all the windows on my desktop. I wish to be able to find and select the window first before focusing on it, similar to Alt+Esc.

How can I do that?

2 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy