[Mono-winforms-list] Mono hangs after looking up XKeycodeToKeysym
Adam J. P. Wood
AdamWood at xephi.co.uk
Mon Jan 23 15:52:42 EST 2006
Please help,
I'm using mono on Linux and trying to run an app which has previously worked
on windows. I think it is a problem with my Xorg configuration but I can't
figure it out.
I'm using Gentoo, Xorg 6.8, and Mono 1.1.13
When I start up mono with debugging output the app starts and prints some
console text. As it tries to open the first window obviously the
System.Windows.Forms assembly gets loaded and then a lot of lines like the
following:
Mono-INFO: Searching for 'XGetKeyboardMapping'.
Mono-INFO: Probing 'XGetKeyboardMapping'.
Mono-INFO: Found as 'XGetKeyboardMapping'.
Mono-INFO: DllImport attempting to load: 'libX11.so.6'.
Mono-INFO: DllImport loading location: 'libX11.so.6'.
Mono-INFO: Searching for 'XFree'.
Mono-INFO: Probing 'XFree'.
Mono-INFO: Found as 'XFree'.
Mono-INFO: DllImport attempting to load: 'libX11.so.6'.
Mono-INFO: DllImport loading location: 'libX11.so.6'.
Mono-INFO: Searching for 'XFreeModifiermap'.
Mono-INFO: Probing 'XFreeModifiermap'.
Mono-INFO: Found as 'XFreeModifiermap'.
Mono-INFO: DllImport attempting to load: 'libX11.so.6'.
Mono-INFO: DllImport loading location: 'libX11.so.6'.
Mono-INFO: Searching for 'XKeycodeToKeysym'.
Mono-INFO: Probing 'XKeycodeToKeysym'.
Mono-INFO: Found as 'XKeycodeToKeysym'.
The lines above are the last lines I get and then mono just hangs and starts
eating cpu time without getting any further. I've since tried other apps and
they all have the same effect. I can only assume after hours of playing
around that my keyboard settings are defunct but I don't see how.
Here is a snippet from my /etc/X11/xorg.conf, I have tried it both with the
commented lines working and disabled.
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
# Option "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc105"
# Option "XkbLayout" "gb"
EndSection
Does anyone have any ideas?
thanks,
Adam Wood
More information about the Mono-winforms-list
mailing list