View Single Post
rm42's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#6
Originally Posted by allnameswereout View Post
Similar setup here.

Which Ubuntu version? Which architecture? Is Ubuntu your host OS or is Ubuntu running in a VM? Which SDK version?
Ubuntu 9.04 on my Thinkpad in its own partition. The SDK is 5.0 straight from Nokia's website.

Originally Posted by allnameswereout View Post
I notice some of my keys don't work either in SDK GUI, and I cannot use setxkbmap because when I do I get error this extension is not available. My enter key doesn't work, for example. When I enable virtual keyboard my enter key pops up the virtual keyboard.
Ah, the virtual keyboard. I hadn't thought of trying that. Ahhh, the Enter key does the same thing for me as it does for you, toggle the virtual keyboard. The virtual keyboard does let me enter proper quotes, so I thought about toggling on the virtual keyboard for the quotes, flipping over to settings to disable the keyboard, and use the Enter key to enter the command. But, now the Enter key doesn't want to work in the terminal (even using Ctrl + Enter). Yup, Enter key is dead even after restarting the GUI.

If I go to setting to "Restore original settings" I get prompted for a password, and I don't know what it is, should I? Also, all my Save, Cancel, or, yes, no buttons have "wdgtb" before the actual name of the button. (I think it happened after I tried to change the language & region settings.)

Wait a minute. Now the virtual keyboard is working and the Enter key on the virtual keyboard works too. Crazy!

To isolate/workaround/fix the problem:

Originally Posted by allnameswereout View Post
  • Use Python from SDK CLI. No need to use in GUI.
True, I guess I was just having fun with the interactive shell exploring its potential. I am sure it will work fine in the device. Right?

Originally Posted by allnameswereout View Post
  • Update your Python. You are not using the latest version. Maybe your whole SDK is out of date. What SDK version are you using?
I installed python after doing an apt-get update in the scratchbox.

Originally Posted by allnameswereout View Post
  • Check if problem exists when you run shell in xterm instead of Python in shell in xterm.
Well, now the virtual keyboard works fine in plain xterm and in the Python shell. Let me see what happens if I disable the virtual keyboard in settings.

Well I didn't get to it because it crashed. After restarting I went back to xterm, typed in:
python Ctrl + Enter (with my laptop keyboard)
and it entered the command plus lauching the virtual keyboard. The virtual keyboard's Enter key worked to enter commands but it likewise would toggle the virtual keyboard at the same time. Now it crashed again. I think I'm going home now.

Originally Posted by allnameswereout View Post
  • In Scratchbox (not from X but in terminal of host) to use " see if this works. Now start Python and see if " works.
Yes, that works fine.

Originally Posted by allnameswereout View Post
  • From Ubuntu use Terminal, export DISPLAY=:2, execute gnome-terminal and test keys, compare with both host and SDK.
Yes, that works fine, just like in scratchbox outside the GUI.

The other points I will have to try latter. I'll get back to this. Right now I have to run. Thanks for the help.
Originally Posted by allnameswereout View Post
  • Install x11-utils in SDK and use xev to see binds.
  • Check output of xorg.conf and setxkbmap -print on host platform and SDK. In my case, setkbmap does not work in SDK/Xephyr but you can check if you can fix problem by passing flags to Xephyr.
__________________
-- Worse than not knowing is not wanting to know! --

http://temporaryland.wordpress.com/

Last edited by rm42; 2009-10-20 at 22:50.