Re: xmodmap per application

2011-04-29 Thread Richard Hector
On Thu, 2011-04-28 at 16:45 +0300, Panayiotis Karabassis wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, is it possible to use xmodmap or a similar utility, on a per > application basis? > > Currently I have redefined my keybindings using xmodmap to get my > Logitech remote contr

Re: xmodmap per application

2011-04-29 Thread Panayiotis Karabassis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/29/2011 12:37 AM, 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/; xmodmap -e

Re: xmodmap per application

2011-04-29 Thread Andrei Popescu
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/; xmodmap -e 'keycode 60 > = period' > > While the ap

Re: xmodmap per application

2011-04-28 Thread Siard
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/; xmodmap -e 'keycode 60 = period' While the application is running, the '.' key produces an F; after quitti

Re: xmodmap per application

2011-04-28 Thread Panayiotis Karabassis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/28/2011 09:24 PM, Camaleón wrote: > Can xmodmap detect the application is being run and act accordingly? I > don't see how it could "filter" or "differentiate" the key remapping in > real time based on the app :-? No, I too don't think it's po

Re: xmodmap per application

2011-04-28 Thread Camaleón
On Thu, 28 Apr 2011 16:45:31 +0300, Panayiotis Karabassis wrote: > Hi, is it possible to use xmodmap or a similar utility, on a per > application basis? > > Currently I have redefined my keybindings using xmodmap to get my > Logitech remote control working with MPlayer, but this breaks a lot of >

xmodmap per application

2011-04-28 Thread Panayiotis Karabassis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, is it possible to use xmodmap or a similar utility, on a per application basis? Currently I have redefined my keybindings using xmodmap to get my Logitech remote control working with MPlayer, but this breaks a lot of other applications! - -- Reg