I have spent most of the day trying to get my thumb button to navigate backwards in Firefox.
The key command I'm trying to execute is CTRL + [. That works when I click it in Firefox.
In xev
, clicking the desired thumb button sends a KeymapNotify event, as the output below. There is no other output.
EnterNotify event, serial 37, synthetic NO, window 0x3c00001,
root 0x6b5, subw 0x0, time 4046810, (92,144), root:(252,296),
mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
focus YES, state 0
KeymapNotify event, serial 37, synthetic NO, window 0x0,
keys: 4294967179 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
MotionNotify event, serial 37, synthetic NO, window 0x3c00001,
root 0x6b5, subw 0x0, time 4062605, (91,144), root:(251,296),
state 0x0, is_hint 0, same_screen YES
LeaveNotify event, serial 37, synthetic NO, window 0x3c00001,
root 0x6b5, subw 0x0, time 4063661, (91,144), root:(251,296),
mode NotifyGrab, detail NotifyAncestor, same_screen YES,
focus YES, state 0
EnterNotify event, serial 37, synthetic NO, window 0x3c00001,
root 0x6b5, subw 0x0, time 4063821, (91,144), root:(251,296),
mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
focus YES, state 0
KeymapNotify event, serial 37, synthetic NO, window 0x0,
keys: 4294967221 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
LeaveNotify event, serial 37, synthetic NO, window 0x3c00001,
root 0x6b5, subw 0x0, time 4064581, (91,144), root:(251,296),
mode NotifyGrab, detail NotifyAncestor, same_screen YES,
focus YES, state 0
Following the directions for Ubuntu mouse configurations has no effect. (unless you count the xorg.conf
changes locking up my system, in which case it did have an effect. :) )
Since xev
gives no useful output, xbindkeys
is not useful.
The Shortkeys add on for Firefox does not recognize the mouse click.
This post for Logitech MX Master Thumb Button for Ubuntu says that the thumb button triggers the Ctrl + Right Alt (Alt Gr) + Tab key combination. AKA, not a mouse click but a keyboard combo. So I installed xdotool
and went to Ubuntu Settings > Keyboard shortcuts. I created a shortcut with the following properties:
- Name: firefox backspace remap
- Command:
xdotool key bracketleft
- Shortcut: CTRL + ALT + TAB
This shortcut does nothing. If I type the command xdotool key bracketleft
into a terminal it prints out a left bracket. If I use the CTRL + ALT + TAB I just used to make the shortcut, nothing happens (obviously, bracketleft is not the command I ultimately want, but I'm trying to test visible output).
I installed Solaar and it recognizes my mouse.
I installed the unofficial driver logiops for Logitech mice and keyboard. As far as I can tell it's had no effect. I've rebooted, manually run the driver. xev
still gives no useful output when I click the thumb button.
Ultimately, no matter what I've tried, nothing seems to recognize that this button exists.
If I switch over to Ubuntu 16.04 with the same mouse, same keyboard, and setup the shortcut, everything works fine.
I have uploaded a video to YouTube that might shed a little more light on this, I hope.
ButtonRelease
events being sent. That's what I meant by xev gives no useful output. That was a promising article, I spent a couple hours going through it before I wrote this post. But if I'm overlooking something please let me know! – robline Oct 03 '20 at 08:40