Friday, May 3, 2024
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 4608  / 1 Year ago, thu, january 26, 2023, 9:48:27

I'm trying bind a button on my mouse to show the Gnome Shell Activities overview. I'm using xbindkeys to bind actions to my mouse buttons.



I tried using the following xte command to show the Activities overview:



xte 'keydown Alt_L' 'key F1' 'keyup Alt_L'


This works fine when executed in the terminal, but doesn't work with xbindkeys for some reason.


More From » command-line

 Answers
3

I got it working in the end by adding the release modifier to the xbindkeys config. I have no idea why the press event doesn't work but the release event does.



The final xbindkeys config ended up being:



"xte 'keydown Alt_L' 'key F1' 'keyup Alt_L'"
release + b:10

[#41228] Friday, January 27, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eving

Total Points: 162
Total Questions: 102
Total Answers: 112

Location: Trinidad and Tobago
Member since Thu, Dec 1, 2022
1 Year ago
eving questions
;