On Jo, 28 apr 11, 23:37:00, Siard wrote: > 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.
That works if one doesn't Alt+Tab to another application. Regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
signature.asc
Description: Digital signature