warpme / minimyth

Automatically exported from code.google.com/p/minimyth
0 stars 0 forks source link

xmodmaprc should get applied after detecting every input device #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. MM_X_FETCH_XMODMAPRC='yes'
2. Fetches xmodmaprc
3. xmodmap runs but does not get applied because no input devices are
connected when X starts.

What is the expected output?
xmodmap should run after every input device is detected.

What do you see instead?
xmodmap runs only once right as X starts

What version of the product are you using? On what operating system?
0.22.0-72-x86_64

Original issue reported on code.google.com by matt...@gmail.com on 15 Nov 2009 at 7:37

GoogleCodeExporter commented 8 years ago
I do not know how to make this happen. I have a PS3 BD remote on order. Once it
arrives, I should have a better chance of figuring out what needs to be done.

Original comment by peben...@gmail.com on 16 Nov 2009 at 2:08

GoogleCodeExporter commented 8 years ago
I'm thinking it can be done by writing a udev rule to run a command when it 
detects
an input device.  

Original comment by matt...@gmail.com on 16 Nov 2009 at 3:19

GoogleCodeExporter commented 8 years ago
I have not been able to cause xmodmap to run after Xorg detects the keyboard 
from
udev. There appears to be a race condition.

However, commit #6098 adds support for setting the Xkb configuration options 
that
will be passed to Xorg by udev. You should be able to use the XkbOptions to do 
the
desired mapping.

Original comment by peben...@gmail.com on 13 Jan 2010 at 6:31