Camaleón wrote:
> Can xmodmap detect the application is being run and act accordingly?

I could only think of writing a script like this:

#! /bin/sh
xmodmap -e 'keycode 60 = F' & /usr/bin/<application>; xmodmap -e 'keycode 60 = 
period'

While the application is running, the '.' key produces an F;
after quitting the application, things are back to normal.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110428233700.1406ad27.shiems...@kpnplanet.nl

Reply via email to