zeronullity Tux's lil' helper
Joined: 16 Oct 2010 Posts: 103
|
Posted: Thu May 10, 2012 6:28 pm Post subject: xbindkeysrc + xte |
|
|
I wrote a small script to repeat mouse clicks at intervals however I'm having issues with mouse buttons cancelling out xte.. I can use any keyboard key as a trigger and it works fine.. but I can't use a mouse button even buttons other then b1. Is there any way around this or perhaps a better way of doing what I want? I would like the trigger button to be the same as the button I'm using with xte.
~/.xbindkeysrc file`
# mouseclick repeat interval
"~/.mouseclick"
b:1
# kill scroll down
"killall .mouseclick"`
release + b:1
~/.mouseclick file
#!/bin/bash
#
while :
do
xte 'mouseclick 1'
sleep 5
done |
|