Author Topic: Qtopia Input Methods After "export Display"  (Read 6289 times)

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Qtopia Input Methods After "export Display"
« on: May 01, 2005, 06:14:04 am »
Hi:

I'm running debian under XQt.

All the Qtopia input methods work in XQt, however somehow I can't get them to work for input after chroot to debian.

Actually, after the chroot itself, they still work.

However, I've found that after
Code: [Select]
export DISPLAY=0:0they cease to work.

But you need the above command to run anything after chrooting.

How can I use the input methods still? Any workaround?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Qtopia Input Methods After "export Display"
« Reply #1 on: May 01, 2005, 06:33:56 am »
Hmmm, this is interesting...

Doesn't seem to be connected to the export DISPLAY command.

I put the export... command into .xinitrc, so don't have to export the display once in XQt to run debian.

Now, after XQt comes up, the Qtopia input methods work.

After chroot, they work.

When I start a Windows Manager then, like fvwm or ice, they cease to work.

However when I exit the WM, while being in debian, they start working again.

What's going on here?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Qtopia Input Methods After "export Display"
« Reply #2 on: May 01, 2005, 03:05:47 pm »
permissions/ownership issues? just a willd guess.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Qtopia Input Methods After "export Display"
« Reply #3 on: May 05, 2005, 12:31:40 pm »
Quote
permissions/ownership issues? just a willd guess.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=77770\"][{POST_SNAPBACK}][/a][/div]
Hmm, doesn't seem to be. Somehow it seems associated to some character translation or whatever.

I think so because I've found out that when select the Sharp typewriter input, it works, however only in English, when you try to enter zenkaku Japanese, nothing is entered.

Cacko CyrKeyboard sends weird characters instead of letters, they display like ~6, ~3, ~7 and so, so something gets send, but doesn't go through.

QPOBox doesn't send anything through at all...

What's wrong?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Qtopia Input Methods After "export Display"
« Reply #4 on: May 05, 2005, 04:55:32 pm »
there is some kernel keymap weirdness on the 6k. Maybe that is it?   You could try guylhem's new kernel, He has been working specifically on that issue.... It works on sharprom btw
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Qtopia Input Methods After "export Display"
« Reply #5 on: May 06, 2005, 07:29:58 am »
Quote
there is some kernel keymap weirdness on the 6k. Maybe that is it?   You could try guylhem's new kernel, He has been working specifically on that issue.... It works on sharprom btw
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78427\"][{POST_SNAPBACK}][/a][/div]
I have a 760...
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Qtopia Input Methods After "export Display"
« Reply #6 on: May 06, 2005, 08:18:11 am »
When you run XQT normally your xlibs come from /opt/QtPalmtop/lib - this is where the XQT package installs libX11.so.* etc.

When you run the chroot debian the /usr/X11R6/libs are used.

There seems to be some keyboard handling stuff in the XQT xlibs that is specific to the Qtopia environment. I experimented with mount -o bind to overmount the /usr/X11R6/libs directory with the Qtopia versions but it ended up more stable using the debian versions. Using the XQT versions of the libs with debian produced some wierd results. The input applets would work but you couldn't enter things like the space character from the popup keyboard.

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Qtopia Input Methods After "export Display"
« Reply #7 on: May 06, 2005, 09:40:53 am »
Quote
When you run XQT normally your xlibs come from /opt/QtPalmtop/lib - this is where the XQT package installs libX11.so.* etc.

When you run the chroot debian the /usr/X11R6/libs are used.

There seems to be some keyboard handling stuff in the XQT xlibs that is specific to the Qtopia environment. I experimented with mount -o bind to overmount the /usr/X11R6/libs directory with the Qtopia versions but it ended up more stable using the debian versions. Using the XQT versions of the libs with debian produced some wierd results. The input applets would work but you couldn't enter things like the space character from the popup keyboard.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78526\"][{POST_SNAPBACK}][/a][/div]
This is interesting, I'd like to experiment with it some, maybe for me it will be a workable solution.

I'm mainly interested in getting QPOBox working for predictive text input, so the popup-keyboard lack of working space wouldn't bother me. I was successful in getting Prime for uim-xim running, but it's very slow for entry, so QPOBox under XQt would be great.

How do I overmount the necessary libs? Is
Code: [Select]
sudo mount -o bind /opt/QtPalmtop/lib /mnt/card/debroot/usr/X11R6/libsufficient? Or do I have to go somehow lib by lib or...?
« Last Edit: May 06, 2005, 09:41:32 am by rehorrericha »
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Qtopia Input Methods After "export Display"
« Reply #8 on: May 06, 2005, 10:04:16 am »
Quote
How do I overmount the necessary libs? Is
Code: [Select]
sudo mount -o bind /opt/QtPalmtop/lib /mnt/card/debroot/usr/X11R6/libsufficient? Or do I have to go somehow lib by lib or...?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78534\"][{POST_SNAPBACK}][/a][/div]
To answer my question, this seems to be working, and lo and behold QPOBox works!!!

Now the only problem is associated with KeyHelper. As has been mentioned in a couple of previous posts, I've found out too, that pressing "," while running KeyHelper messes up the keyboard while chrooted to debian and I have to restart XQt.

Is there anyway around this?

I mean, it seems you have to use KeyHelper with QPOBox to enter space between the words, or is there any other way?
« Last Edit: May 06, 2005, 12:54:56 pm by rehorrericha »
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

gojira

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Qtopia Input Methods After "export Display"
« Reply #9 on: January 03, 2006, 02:16:50 am »
Quote
All the Qtopia input methods work in XQt,
[div align=\"right\"][a href=\"index.php?act=findpost&pid=77707\"][{POST_SNAPBACK}][/a][/div]

Do you mean just the popup on-screen IMs, not including the zen/han-key method?  I guess there would need to be a text field as part of the X server for that one to work...
Zaurus SL-C3200 Debian EABI / Sharp ROM (tetsu v18j), Socket CF Bluetooth (Rev E), BT747 GPS, Canon K30225 CF Wifi.  RIP: Zaurus SL-C860 Sharp ROM (1.40JP).