xbindkeys-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xbindkeys with mouse click doesn't allow the system to see clicks


From: hocwp
Subject: Re: xbindkeys with mouse click doesn't allow the system to see clicks
Date: Mon, 29 Apr 2024 00:10:39 +0200
User-agent: Webmail Free/1.6.5

Hi, first thanks a lot for using xbindkeys more than 20 years later :-)

You have to prevent xbindkeys to grab the key before replaying the mouse click.

Something like this should do the trick :

"pkill xbindkeys; sleep 0.1; xdotool click 1; play sound.mp3 & xbindkeys"
  b:1

This is a little bit inefficient but should work.

Regards,

Philippe

Le 24/04/2024 23:02, Carlos Mario Suárez a écrit :


Hi. I'm trying to use xbindkeys to play a sound every time I click.
I set the command in the xbindkeysrc file. I reload xbindkeys and it works.
Problem is that now clicking doesn't work. It only plays the sound.
e.g. I click on menus and buttons on the screen and nothing happens apart from the sound being played.
I tried to work around this by using the release modifier so that the command would trigger only after releasing the mouse button without interfering the clicking, but clicking is still doesn't work
How do I go about this? I'm not using a special mouse with lots of buttons and functions, just a regular usb mouse with 3 buttons. I want everything to work as normal except that every time I left-click I hear a certain sound.
Using xbindkeys 1.8.6-2. Thank you



reply via email to

[Prev in Thread] Current Thread [Next in Thread]