Del key under Wine

Posted by Bannin on Mon 15 May 2006 05:26 PM — 3 posts, 15,514 views.

#0
I'm not sure if this is a bug report or a request for help, but I couldn't find a better forum to post it, so here goes anyway:

When running Mushclient under Wine on Linux, most everything seems to work fine, except this one thing. The Delete key works, in that it does delete a character, but it also inputs a comma and the keypad macro doesn't seem to work. Does anyone know of a workaround for this/these problems?
Australia Forum Administrator #1
Which Del key? I have two on my keyboard, one in a batch with Insert, Home, Page Up, Page Down, Delete and End.

That one seems to work for me.

Quote:

... the keypad macro doesn't seem to work


I found after turning Num Lock on, that the keypad navigation (ie. up-arrow for North) worked fine.
#2
Hmh... Guess I should have googled a bit more, found out this is common with Wine and non-US/UK keyboard layouts.

Edit: Can be worked around with xmodmap though. I'll post the solution for future reference. For me, with Finnish keyboard layout this works: xmodmap -e "keysym 0xffac = 0xffae"

Or, if using Gnome, add "keysym 0xffac = 0xffae" to ~/.Xmodmap

The 0xffac might differ depending on your layout, but you can find out what to use by starting xev from a terminal emulator, and pressing the Del key on your numpad with Num Lock on, and find the keysym in the terminal output.

This might create some other oddnesses with the keyboard that I haven't though of, so if things get too funky you can just go back to how it was before.