Reply
Thread Tools
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#1
Hi all,

In OS2008, I used the Debian Xephyr nested X-Server to display a second desktop on top of Maemo. This was somewhat useful for people who wished to have a secondary, more desktop-like environment without rebooting or shutting down Maemo.

Now with Maemo 5 and the new Matchbox WM, many desktop apps just don't display properly at all. Dialogs are the worst offenders; it is almost guaranteed that a desktop app's dialog will be useless in Maemo 5.

Xephyr is needed more than ever! But! It, too, is useless inside the current Maemo 5 window manager! The display inside Xephyr ( :1 ) doesn't receive any keyboard input events at all.

According to this (now infamous) Maemo qt patch, the Maemo 5 WM is "broken" because all apps must make an explicit XSetInputFocus() call.

I'm not sure, but I think qwerty12's patch to xev does the same thing.

So, I'm hoping someone could patch the Debian Xephyr package to do this for me. If this gives me a keyboard in Xephyr, then I'll commence begging the developer to push it into Fremantle Extras-Devel.

Thanks in advance. This community rocks.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#2
...bump?

Don't make me lose my faith in the maemo.org community!

__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#3
Bump?

Also, I think the default Ctrl+Shift keyboard combo to grab mouse and keyboard should be switched to something else on the N900... ?

But now I am losing hope...
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#4
No promises, but I'll take a "quick" crack at it. I don't have a n900 so I don't know how well it will work; but I can see if I can make it work in scratchbox.

Nathan
 

The Following 4 Users Say Thank You to Nathan For This Useful Post:
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#5
Originally Posted by qole View Post
Hi all,

In OS2008, I used the Debian Xephyr nested X-Server to display a second desktop on top of Maemo. This was somewhat useful for people who wished to have a secondary, more desktop-like environment without rebooting or shutting down Maemo.
Do you have a link to the Xephyr you ran on your OS2008? I checked the repositories and didn't see it in either Chinook or Diablo. I'm not really sure "which" options I should use; as XServer appears to support a bazillion. ;-) I'll try "defaults" and see what happens; but if I can see what someone else did (that worked) I can probably port it faster.

Nathan
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#6
Nathan: Thank you for taking a look. I didn't port it, I used the Debian Xephyr from the chroot, and it worked fine in Diablo. But the "vanilla" Xephyr no longer works properly in Maemo 5.

My temporary solution, so that I can keep working on Easy Debian, is to use run LXDE in a vncserver on :1 and view it in Maemo vncviewer via "localhost:1". It isn't a great solution, but at least I have a keyboard in my secondary WM.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#7
Originally Posted by qole View Post
Nathan: Thank you for taking a look. I didn't port it, I used the Debian Xephyr from the chroot, and it worked fine in Diablo. But the "vanilla" Xephyr no longer works properly in Maemo 5.

My temporary solution, so that I can keep working on Easy Debian, is to use run LXDE in a vncserver on :1 and view it in Maemo vncviewer via "localhost:1". It isn't a great solution, but at least I have a keyboard in my secondary WM.
Ah, so you downloaded the arm?/armel? version of xephyr from the lenny debian repositories? Any specific version, arm or armel? Or did you get it from somewhere else?


I started working on it -- but I need to figure out a dependancy (x86dirproto) is required, but not sure yet what provides it.

Nathan
 

The Following User Says Thank You to Nathan For This Useful Post:
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#8
I tried to build it from the Xorg source tarball corresponding to the Xorg as shipped with the N900, but I still don't understand enough about autotools to get Xephyr built from it... (tried ./configure --enable-xephyr , which seems to... do nothing; after a full make still no Xephyr binary anywhere to be seen).

"Fixing" the wm hints seems to be easy, though.
 
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#9
I haven't had much luck either ... I haven't given up yet; but I am rather busy at the moment....

Nathan
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#10
Thanks all, the code that qobi posted in this thread seems to do the trick to fix the stock Xephyr app. I'll just use wmctrl and the hint-fixer to work around the problem for now.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Reply

Tags
fremantle, keyboard, maemo 5, request, xephyr


 
Forum Jump


All times are GMT. The time now is 09:24.