Mouse cursor not visible in Xoo emulator in Karmic (Ubuntu 9.10).

I am a fan Ubuntu Linux, and usually try every new version of Ubuntu as and when it gets released. Till very recently I had Ubuntu 8.04 (Hardy) installed at my office workstation, but I thought lets give a try to Karmic. (Un)Fortunately, my Hardy got screwed up while doing some experiments with it, and now I had a valid reason to reinstall/upgrade of my OS, and so Karmic got installed. 🙂

Everything went well with Karmic, but mouse cursor wasn’t visible in Xoo emulator with Xnest/Xephyr. Xoo is a GTK2 based graphical wrapper around a ‘Windowed’ X Server. The X server is typically Xnest, the nested X server, or Xephyr. It is intended for embedded developers that want to simulate a target device (with an accurate display size, working hardware buttons, etc) on a desktop machine. Emulator used start with following error message, but mouse wasn’t visible at all!!!.


/usr/share/fonts/X11/cyrillic, removing from list!
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed
unrecognised device identifier!

Did lot of circus to resolve this error, searched in net, found some some similar topics (like meamo developers), but none of the posts resolved my error.

Finally, found out though some web sources that, Karmic doesn’t have Xnest support, but instead of Xephyr need to be used in Karmic. By default, Xoo starts Xephyr server, but to get host cursor, one need to start xoo with following argument,


xoo -xo -host-cursor

Basically, I just had to pass -host-cursor as argument to Xserver through Xoo.

Uff.. Kind off wasted a day trying to find this single line solution. Hence, thought of sharing this info with all.

Advertisements
Post a comment or leave a trackback: Trackback URL.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: