2021年7月15日 星期四

2021 Logitech M590 Slient Mouse Button Mapping on Ubuntu 20

 https://askubuntu.com/questions/152297/how-to-configure-extra-buttons-in-logitech-mouse


Install

sudo apt-get install xbindkeys xautomation x11-utils

Identify
$ xev -event mouse | grep Button --before-context=1 --after-context=2 ButtonPress event, serial 25, synthetic NO, window 0x6800001, root 0x1d7, subw 0x6800002, time 232287448, (36,34), root:(112,161), state 0x10, button 1, same_screen YES -- ButtonRelease event, serial 25, synthetic NO, window 0x6800001, root 0x1d7, subw 0x6800002, time 232287512, (36,34), root:(112,161), state 0x110, button 1, same_screen YES -- ButtonPress event, serial 25, synthetic NO, window 0x6800001, root 0x1d7, subw 0x6800002, time 232316577, (49,29), root:(213,376), state 0x10, button 8, same_screen YES -- ButtonRelease event, serial 25, synthetic NO, window 0x6800001, root 0x1d7, subw 0x6800002, time 232316671, (50,29), root:(214,376), state 0x10, button 8, same_screen YES 

Bind
xbindkeys --defaults > $HOME/.xbindkeysrc
gedit $HOME/.xbindkeysrc

Content
"xte 'keydown Control_L' 'keydown Tab' 'keyup Tab' 'keyup Control_L'"
b:1 + Release



沒有留言:

張貼留言

2007 to 2023 HP and Dell Servers Comparison

  HP Gen5 to Gen11  using ChatGPT HP ProLiant Gen Active Years CPU Socket Popular HP CPUs Cores Base Clock Max RAM Capacity Comparable Dell ...