Comment 12 for bug 281951

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

Hi Charie,

I didn't put the script to /etc/rcS.d, I just put it to a session script (menu system > preferences > sessions - if that's what it's called, I got Greek menus and I'm not sure).

Anyway, you may also just run them inside a gnome-terminal while you're logged on, they don't need sudo or restarting X or anything.

OK, let's get to debugging your case.
$ sudo dumpkeycodes | grep e033
It should show
e033 177

$ sudo setkeycodes e073 0
Then press the euro key and look at dmesg
It should say "unknown key e073"

$ sudo setkeycodes e073 177
OK, we put it back to producing "scrollup"

$ xmodmap -pke | grep 185
It should show
keycode 185 = EuroSign EuroSign EuroSign EuroSign EuroSign

If it does show this, and by pressing the euro key at this point you don't see it, I don't know what's wrong.

If it doesn't show this, try
$ echo 'keycode 185 = EuroSign EuroSign EuroSign EuroSign EuroSign' | xmodmap -
and then press the Euro key again.
If you see the Euro sign, it's just a matter of putting the script to a correct place.
If you don't, again, I don't know what's wrong.

I wonder what transformes the 177 kernel key to 185 in xmodmap, though... :)
I hope someone someday will remove (make obsolete) at least 15 of the 20 different daemons that mess up with scancodes/keycodes/actions!!!

Good luck! :)