maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Easy Debian Fremantle Beta Testing (https://talk.maemo.org/showthread.php?t=34550)

mrl0n3ly714 2010-06-04 06:14

Re: Easy Debian Fremantle Beta Testing
 
just out of curiosity, can we install skype through easy debian LXDN ?

rebhana 2010-06-04 06:40

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by mrl0n3ly714 (Post 698961)
just out of curiosity, can we install skype through easy debian LXDN ?

It seems that skype Debian packages exist only for the Intel and AMD architectures but not armel.

rebhana 2010-06-04 06:49

Re: Easy Debian Fremantle Beta Testing
 
Should be obvious to all the experts here, but since the voting is somewhat feeble: After successful testing, you should vote at the Easy Debian package page.

Second, if you are non-English and have locales reconfigured, please report back whether you find it important to use LXDE and debbie with "su -" option, now provided by "debbie-sue". Test in particular your keyboard in the terminal of LXDE. Would you support my request for making debbie-sue the default behavior? I would suggest to have the corresponding behavior in a 0.9.51 version in extras-devel. With the old behavior in Extras, the two possibilties could then be easily swapped and tested.

wolfs are great!!! 2010-06-05 03:16

Re: Easy Debian Fremantle Beta Testing
 
Qole:
7Zip has been processing it for 1 hour now.

wolfs are great!!! 2010-06-05 03:18

Re: Easy Debian Fremantle Beta Testing
 
Nokia-N810-43-7:/media/mmc1# 7z e ubuntu-m5-v1.img.ext2.lzma

7-Zip 4.58 beta Copyright (c) 1999-2008 Igor Pavlov 2008-05-05
p7zip Version 4.58 (locale=en_US,Utf16=on,HugeFiles=on,1 CPU)

Processing archive: ubuntu-m5-v1.img.ext2.lzma

wolfs are great!!! 2010-06-05 03:30

Re: Easy Debian Fremantle Beta Testing
 
It FINALLY finished.

qole 2010-06-05 04:34

Re: Easy Debian Fremantle Beta Testing
 
wolfs, you're in the wrong thread. Please post in the N810 thread.

rebhana 2010-06-05 20:12

Re: Easy Debian Fremantle Beta Testing
 
Just noticed that OpenOffice 3.2.0 for the armel architecture is finally in Debian squeeze, the same version that we already tested when it appeared in Sid. By now 3.2.1 was officially released, and Debian has some first packages in Experimental, but, ominously, not for armel.

jackburton 2010-06-08 12:43

Re: Easy Debian Fremantle Beta Testing
 
I'm trying to use easy-debian as a vncserver to a local vnc viewer on the N900. I installed tightxvncserver and then I start the server by opening a debian terminal in osso-xterm and type "vncserver :1".

I can connect fine to the LXDE session and was pleasantly surprised to have larger, scrollable resolution. However, I'm running into an issue with the keyboard. All keys are entering CAPS and I don't know why. Is there any kind of keymapping/modding done in the LXDE session? Where can I start looking to see if it's something in Easy-Debian image i can disable or if it's vnc viewer/maemo related.

Thanks

jackburton 2010-06-08 13:52

Re: Easy Debian Fremantle Beta Testing
 
I installed enlightenment window manager to see if that would change anything and it doesn't. However, when I use xev to see keypress events, the keys show correct case. This leads me to believe there is something in the X session in debian perhaps?

The prospect of having a larger resolution enlightenment on the phone is very appealing. I hope this works.

Update

I searched the forums and found a solution. Disabling auto-capitalization in text input corrects the behavior. This is probably something specific to vnc server i suppose.

it is nice to be able to use full screen debian apps on the n900 using easy-debian with vnc as a virtual resolution desktop.It seems to be a clean solution to all the keyboard and focus issues as well.

qole 2010-06-09 00:27

Re: Easy Debian Fremantle Beta Testing
 
Whoa. Very interesting news.

Edit /usr/bin/xephwm5 in your Debian chroot.

Go to the end. Find the line that has qobi-wmhint-fix on it. Uncomment it (remove the #) and change that line to read:

Code:

sudo /sbin/qobi-wmhint-fix $PARWIN
Comment out the line under it, the one that has /usr/bin/set-focus on it.

Open LXDE. Try to lose keyboard focus. See if you get the same results that I'm getting, which are: NO KEYBOARD FOCUS LOSS! You can switch to and from LXDE like any other app.

debernardis 2010-06-09 04:32

Re: Easy Debian Fremantle Beta Testing
 
Wow! That works! Great... :)

jackburton 2010-06-09 05:00

Re: Easy Debian Fremantle Beta Testing
 
Works well for me as well.

qole 2010-06-09 05:08

Re: Easy Debian Fremantle Beta Testing
 
I have sent Easy Debian 0.9.51 to Extras-devel.

LXDE keyboard focus is now completely fixed. You can treat LXDE like any other Maemo window.

This version adds a Maemo-side script, /usr/bin/debian-lxde that does the same thing that xephwm5 was doing in the chroot, except it uses the new fixed way that never loses keyboard focus.

It now depends on wmctrl and zenity in Maemo, which adds some bulk to the installed size, but the results are worth it.

I have also caved to rebhana's pleading; the new script starts LXDE using debbie-sue. Switch this to debbie if you prefer the old behaviour.

qalhat 2010-06-09 14:28

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 706585)
I have sent Easy Debian 0.9.51 to Extras-devel.

LXDE keyboard focus is now completely fixed. You can treat LXDE like any other Maemo window.

This version adds a Maemo-side script, /usr/bin/debian-lxde that does the same thing that xephwm5 was doing in the chroot, except it uses the new fixed way that never loses keyboard focus.

It now depends on wmctrl and zenity in Maemo, which adds some bulk to the installed size, but the results are worth it.

I have also caved to rebhana's pleading; the new script starts LXDE using debbie-sue. Switch this to debbie if you prefer the old behaviour.


I downloaded the new update and it is working great now..

rebhana 2010-06-09 16:48

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 706585)
I have sent Easy Debian 0.9.51 to Extras-devel.

I have first tried the Debian-side fix, seen that it worked, and then switched to 0.9.51. However, there I've encountered some occasional weird behavior:

When I first opened LXDE, to my surprise I had an English keyboard again, despite the "setkbd de" in /etc/xdg/lxsession/LXDE/autostart. Closing chroot and starting LXDE again, I then had a German keyboard, but some of my additional remappings of the keyboard were missing out (I do those further remappings with xmodmap launched from /etc/xdg/lxsession/LXDE/autostart). Doing it a third time, my keyboard was finally as it used to be. I've never had such unpredictabilities with my keyboard hacks before - albeit some things never worked.

On one of the launches of LXDE I even had missing keyboard focus from the very beginning! Though once started successfully, I don't lose it, neither when going to task manager nor through the power button.

And just now I had LXDE not starting at all after clicking the OK button. After the little window closed, I was left with the screen telling about Ctrl+Backspace, from which I could not even get out to the task manager without resorting to the camera trick.

Could it be that there is some race condition complicating the combination of Maemo-side and Debian-side scripts?

I'm testing it some more, but perhaps I should also go back and try out more extensively the Debian-side fix.

EDIT: After a reboot of the phone, I once again could not start LXDE. It's hanging at the "Ctrl+Back" screen. These are the processes that I see with top:
Code:

Mem: 240968K used, 4572K free, 0K shrd, 13984K buff, 101748K cached
CPU: 35.5% usr 64.2% sys  0.0% nice  0.0% idle  0.0% io  0.0% irq  0.1% softirq
Load average: 4.48 3.65 1.78
  PID  PPID USER    STAT  RSS %MEM %CPU COMMAND
  808  663 root    R <  10956  4.4 41.4 /usr/bin/Xorg -logfile /tmp/Xorg.0.log -logverbose 1 -nolisten tcp -noreset -s 0 -core
  756    1 root    S    6768  2.7  5.1 /usr/sbin/ohmd --no-daemon
 1113  1031 user    S    17960  7.2  2.5 /usr/bin/hildon-status-menu                                               
  764    1 pulse    S <  4528  1.8  1.7 /usr/bin/pulseaudio --system --high-priority
 1646  1542 user    R      588  0.2  0.9 /bin/sh /usr/bin/debian-lxde
 1124  1031 user    S    15712  6.3  0.3 /usr/bin/hildon-desktop                                                   
 1689  1684 user    S    5700  2.3  0.3 /usr/bin/Xephyr :1 -screen 800x480 -br -ac
  698    1 root    S    1140  0.4  0.3 /usr/sbin/bme_RX-51
 3926  3772 root    R      748  0.3  0.3 top
  10    2 root    SW      0  0.0  0.3 [omap2_mcspi]
 1041  663 user    S    8932  3.6  0.2 /usr/bin/systemui
  734  663 root    S <  2548  1.0  0.2 /sbin/mce --force-syslog

EDIT2: After finalling killing it, and doing a close chroot, Xorg is still running, with CPU at 600MHz, so I have to reboot to get rid of that.

qole 2010-06-09 17:10

Re: Easy Debian Fremantle Beta Testing
 
rebhana: that is some very odd behaviour. XOrg is the Maemo X Server, it is Xephyr that is the culprit.

As for the race conditions, I try to avoid them by waiting in two loops in my script.

I also am noticing more "variability" in my LXDE startup, but not since 0.9.51, no, this is since PR 1.2. Often, I get an X instead of a cursor, and the icons seem to be alternating between two themes. Very strange!

It often seems to be the first startup that has the most problems. Maybe I'll open the chroot with a harmless command first, then proceed from there...?

rebhana 2010-06-09 17:17

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 707503)
rebhana: that is some very odd behaviour. XOrg is the Maemo X Server, it is Xephyr that is the culprit.

I'm suspecting now that Xorg was behaving so strangely, because right after the boot the phone was busy with trackerd. So after my last reboot, I waited until all the activity has gone away, and then I can start LXDE just fine.

Perhaps I should try whether I can get any of this odd behavior with 0.9.50 and the Debian-side fix?

EDIT: I'm testing 0.9.50 with Debian-side fix now, and I'm not able to get any of the odd behavior so far. I'll keep you posted.

qole 2010-06-09 17:49

Re: Easy Debian Fremantle Beta Testing
 
If I start the Maemo-side script with

Code:

debbie 'echo "opening the chroot"'
the problems don't seem to happen... Can you confirm, rebhana?

rebhana 2010-06-09 18:03

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 707550)
If I start the Maemo-side script with

Code:

debbie 'echo "opening the chroot"'
the problems don't seem to happen... Can you confirm, rebhana?

Should that go into /usr/bin/debian-lxde or be run separately in a terminal?

EDIT: Actually, I think the one instance where LXDE did start, but without keyboard focus was with open chroot, and also in those cases where the keyboard behaved slightly differently. But I'll try again.

debernardis 2010-06-09 18:16

Re: Easy Debian Fremantle Beta Testing
 
In my hands, when I start debian lxde and the zenity window shows, if I wait that the blurred image on the background turns into the "ctrl-back to return to dashboard" text, and then push the ok button, lxde starts with no problem.
If I don't wait and click on ok while there's still the window with the Xephyr title, the script stalls at the ctrl-back screen with a cross cursor.

So yes, there's some problem in timings.

rebhana 2010-06-09 18:25

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by debernardis (Post 707594)
If I don't wait and click on ok while there's still the window with the Xephyr title, the script stalls at the ctrl-back screen with a cross cursor.

I confirm that - also when I first have chroot opened separately.

With 0.9.50 I also seem to get a quicker launch of LXDE - do you agree, debernardis?

debernardis 2010-06-09 18:31

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 707611)
With 0.9.50 I also seem to get a quicker launch of LXDE - do you agree, debernardis?

Nope, on my N900 it's more or less as quick as before.

rebhana 2010-06-09 18:35

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by debernardis (Post 707625)
Nope, on my N900 it's more or less as quick as before.

OK - could well depend on whether I have trackerd running in the background or something like that then.

Patroclo 2010-06-09 18:43

Re: Easy Debian Fremantle Beta Testing
 
Is it possible to have autocomplete in the terminal emulator in the same way that the tab works in the standard xterm?
I tried with no success.

rebhana 2010-06-09 18:46

Re: Easy Debian Fremantle Beta Testing
 
On the positive side now: two improvements that I noticed are that ROXTerm displays German umlauts, which it didn't before - though all the other applications did. That seems due to having debbie-sue also inside the LXDE startup script which has escaped me so far (had just debbie-sue xephwm5 before).

Second, it's nice that full-screen toggle now works on the LXDE window as a whole so that one can quickly go to the Maemo top panel.

EDIT: qole, in the other Debian applications gnome-alsamixer, iceweasel, ooo and xbindkeys I would also recommend replacing debbie by debbie-sue.

rebhana 2010-06-09 18:51

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Patroclo (Post 707649)
Is it possible to have autocomplete in the terminal emulator in the same way that the tab works in the standard xterm?
I tried with no success.

It works for me. In the Debian chroot terminal one can use the TAB from the keys on the screen, and in LXDE you just need to have xbindkeys running (the Set Deb Keys app) and then Tab is mapped on Fn+Shift+Right.

rebhana 2010-06-09 20:40

Re: Easy Debian Fremantle Beta Testing
 
Just produced a new error with 0.9.51 that I have never seen before, which may also be a timing issue (since it occurred after having pressed OK immediately upon seeing the blurred background change): after LXDE launched a window popped up saying that it could not connect to FAM. When I closed everything and started again, giving it more time before pressing OK, there was no error.

qole 2010-06-09 23:05

Re: Easy Debian Fremantle Beta Testing
 
New version (0.9.52) has a rearranged LXDE script that attempts to fix the timing issues. As always, report back!

mankir 2010-06-10 01:55

Re: Easy Debian Fremantle Beta Testing
 
Getting "Xephyr cannot open host display. Is DISPLAY set?" when i try to run debwm.
xephwm5 in chroot is working, but still loosing its focus (tryed qobi-... but didn't start).

rebhana 2010-06-10 06:34

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 707967)
New version (0.9.52) has a rearranged LXDE script that attempts to fix the timing issues. As always, report back!

Seems to work as intended. However, on its first launch I got different fonts in the LXDE menus than in the subsequent sessions, indicating that things are not yet completely deterministic.

Also, I would like to repeat my recommendation for debbie-sue also in the non-LXDE apps.

EDIT: After having started it more often, I do occasionally get those different fonts in the LXDE menus again, but rather rarely. I have seen this already before 0.9.51, indeed, but I thought only when I had not done a proper shutdown of LXDE before. Anyway, both fonts are just fine, it's just a curious behavior.

mscion 2010-06-10 14:58

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 708246)
Seems to work as intended. However, on its first launch I got different fonts in the LXDE menus than in the subsequent sessions, indicating that things are not yet completely deterministic.

Also, I would like to repeat my request for debbie-sue also in the non-LXDE apps.

I got a similar behavior in that the My Documents Icon went through
a three stage metamorphosis changing at each launch of LDXE 1)little house with My Documents, then 2) Just the words My Documents,
then finally, 3) the usual folder (with little house) and the My Documents label. It now seems stable after further launches. Also the over all color changed from brown (during the first launch) to the usual one after the second launch. Again stable now.

The other strange thing is that the time it takes to open OO writer
from the LXDE tool bar changes, but in a good way.

Early timings put it at about 32s to 35s to launch OO writer.

Now, if I open up LXDE shortly after having turned on the N900
I get the following timings (each time I close OO.org in the process)
first try 60 seconds
second 45 s
third 32 s
forth 23-25
fifth+ 25

If I log out of the LXDE and try again I get about 32 s the frirst
try and then about 25 after that.

If I next turn off the N900 and start over it goes back to the beginning with 60s and follows the same decrease with each try.



Anybody else get this?

debernardis 2010-06-10 16:32

Re: Easy Debian Fremantle Beta Testing
 
OOO has always behaved like that, with shorter starting cycles after the first one.

rebhana 2010-06-10 17:13

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by mscion (Post 708892)
I got a similar behavior in that the My Documents Icon went through
a three stage metamorphosis changing at each launch of LDXE 1)little house with My Documents, then 2) Just the words My Documents,
then finally, 3) the usual folder (with little house) and the My Documents label. It now seems stable after further launches. Also the over all color changed from brown (during the first launch) to the usual one after the second launch. Again stable now.

In my case I didn't get that much variability. But since our fluctuations in the configuration were only there immediately after the upgrade, it is perhaps because easy-deb-chroot did overwrite some of the configuration files of LXDE. One file that is for sure overwritten by an upgrade is the one for the top panel, because I had to change that back to what I had before. Did you do some more extensive modifications of the layout, mscion?

qole, I think it would be best if an upgrade of easy-deb-chroot would generally leave /home/user/.config files as they are, when they are already there, and instead install them with -dist appended or something. If easy-deb-chroot is installed freshly, it's of course desirable to have a consistent complete set of those config files installed (even if some were left over after de-installing easy-deb-chroot).

mscion 2010-06-10 19:31

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by debernardis (Post 709044)
OOO has always behaved like that, with shorter starting cycles after the first one.

In the past, even after several iterations, I never did better than about 32 -35 seconds. So I thought that it was unusual to to see a 30 percent speed up. The only problem is that I have to leave the n900 on all the time as I'm back to 60s if I start from scratch!

mscion 2010-06-10 19:47

Re: Easy Debian Fremantle Beta Testing
 
[QUOTE=rebhana;709131]In my case I didn't get that much variability. But since our fluctuations in the configuration were only there immediately after the upgrade, it is perhaps because easy-deb-chroot did overwrite some of the configuration files of LXDE. One file that is for sure overwritten by an upgrade is the one for the top panel, because I had to change that back to what I had before. Did you do some more extensive modifications of the layout, mscion?

I just did minor things like changing the appearance and size of the left panel and icon.

Anyone figure out how to move the My Documents folder so it doesn't
overlap the top panel?

rebhana 2010-06-10 19:52

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by mscion (Post 708892)
Anybody else get this?

Yes, I also find that after repeated launches OO comes up about 5 seconds faster than previously, but for the first launch there is no improvement at all, so it's at most of use if you want to show off with your OO on the N900 ;) But it is indeed remarkable that there is some change at all. I would not have thought that it would make any noticeable difference to have wmctrl now residing in Maemo. If that is indeed the reason.

rebhana 2010-06-11 06:38

Re: Easy Debian Fremantle Beta Testing
 
I've updated the discussion in the Wiki about the keyboard focus loss work-arounds to include qole's complete solution on the Debian side so that people who shy away from extras-devel can more easily find it:
http://wiki.maemo.org/Easy_Debian#PR_1.2

I've included it under the PR1.2 heading because I'm not sure it would have worked prior to PR1.2. Is it in fact a windfall of PR1.2?

qole 2010-06-13 19:17

Re: Easy Debian Fremantle Beta Testing
 
Hi faithful testers!

The post-PR1.2 Easy Debian is one vote away from getting out of Extras-testing.

Please go to this page and vote!

qole 2010-06-13 19:49

Re: Easy Debian Fremantle Beta Testing
 
Wow that was fast. Thanks everyone! Version 0.9.50 is in Extras.

LXDE stability issues seem to be keeping me from putting the next version in Testing.

We need to figure out the timing weirdness before I can promote the next version. Please help us if you can!


All times are GMT. The time now is 13:53.

vBulletin® Version 3.8.8