Detecting external drive one-touch button?

Ric Moore wayward4now at gmail.com
Wed Sep 25 04:22:36 UTC 2013


On 09/24/2013 07:42 PM, Avi Schwartz wrote:
> I have an external Transcend disk drive which has a "One-Touch Backup"
> button that on a Mac or a Windows machine will start a backup program
> when pressed.
>
> I wasn't able to find such a program for Linux and I was wondering if
> there is a way I can detect the button press in Ubuntu so I can write a
> script or program that listens for this button press and executes the
> backup program or script of my choice to backup my photos.
>
> Any ideas?

I wonder if that button behaves as an extra mouse button? There is some 
sort of mouse util that shows button clicks that it sees. Might give 
that a whirl to see if that is the case? Ric



-- 
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
/https://linuxcounter.net/cert/44256.png /




More information about the ubuntu-users mailing list