Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xbindkeysrc + xte
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
zeronullity
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2010
Posts: 97

PostPosted: Thu May 10, 2012 6:28 pm    Post subject: xbindkeysrc + xte Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum