You are not logged in.

#1 2009-01-27 14:58:24

wooptoo
Member
Registered: 2007-04-23
Posts: 78
Website

xmodmap equivalent for evdev

I currenty have evdev disabled because it doesn't work with .Xmodmap.

I have a few special keys defined in .Xmodmap, like:
° = mode_switch + g
¢ = mode_switch +c
etc.

and i want to make them work with evdev.

Offline

#2 2009-01-28 13:06:30

ghaad
Member
From: Czech Republic, EU
Registered: 2009-01-23
Posts: 21

Re: xmodmap equivalent for evdev

Evdev works with .Xmodmap (at least in my case). Is there some error output you get when you try to use both?


GNUniverse - May the source be with you...

Offline

#3 2009-01-28 23:37:27

wooptoo
Member
Registered: 2007-04-23
Posts: 78
Website

Re: xmodmap equivalent for evdev

If I run xmodmap ~/.Xmodmap it doesn't do anything. It doesn't output errors either.

Offline

#4 2009-01-29 18:25:42

ghaad
Member
From: Czech Republic, EU
Registered: 2009-01-23
Posts: 21

Re: xmodmap equivalent for evdev

Run it with the -verbose parameter:
xmodmap -verbose .Xmodmap

I have the following in .Xmodmap
keycode 79 =    7
keycode 80 =    8
keycode 81 =    9
keycode 83 =    4
keycode 84 =    5
keycode 85 =    6
keycode 87 =    1
keycode 88 =    2
keycode 89 =    3
keycode 90 =    0
keycode 91 =    period

This gets rid off the (IMHO) useless arrows on the numpad (numpad will then be always with numbers).

Also get sure you have some .fdi file in  /etc/hal/fdi/policy/ and also that you really have evdev (see archwiki beginner's guide, there's a short info about the .fdi file and "input hotplugging" with evdev, just search it - I don't know much about it, but it works for me).


GNUniverse - May the source be with you...

Offline

Board footer

Powered by FluxBB