Skip to content

Instantly share code, notes, and snippets.

@wilmardo
Last active February 8, 2024 16:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wilmardo/bb3198c7bf429ce8d794b9f44d34b034 to your computer and use it in GitHub Desktop.
Save wilmardo/bb3198c7bf429ce8d794b9f44d34b034 to your computer and use it in GitHub Desktop.
Setup mousewheel tab navigation xbindkeys xdotool

Setup mousewheel navigation

Install

Open terminal and run apt-get install xbindkeys xdotool xev

Setup

Run in the terminal xev in terminal and look in which button is registered when using the mousewheel left, right click. In my case these where button six and seven.

Add in .xbindkeysrc

# Navigate between tabs with side wheel buttons
"xdotool key Ctrl+Tab"
  b:7
"xdotool key Ctrl+Shift+Tab"
  b:6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment