Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Easy Debian Fremantle Beta Testing

    Reply
    Page 146 of 333 | Prev | 136   144     145   146   147     148   156 | Next | Last
    qole | # 1451 | 2010-06-09, 00:27 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 9 Users Say Thank You to qole For This Useful Post:
    attila77, codeMonkey, debernardis, fw190, mail_e36, mscion, qalhat, realitygaps, rebhana

     
    debernardis | # 1452 | 2010-06-09, 04:32 | Report

    Wow! That works! Great...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jackburton | # 1453 | 2010-06-09, 05:00 | Report

    Works well for me as well.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qole | # 1454 | 2010-06-09, 05:08 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 10 Users Say Thank You to qole For This Useful Post:
    asyik, bimbim, codeMonkey, debernardis, fw190, mscion, qalhat, rebhana, Sash, sbock

     
    qalhat | # 1455 | 2010-06-09, 14:28 | Report

    Originally Posted by qole View Post
    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..

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by qalhat; 2010-06-09 at 14:32.

     
    rebhana | # 1456 | 2010-06-09, 16:48 | Report

    Originally Posted by qole View Post
    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by rebhana; 2010-06-09 at 17:03.

     
    qole | # 1457 | 2010-06-09, 17:10 | Report

    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...?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to qole For This Useful Post:
    fw190

     
    rebhana | # 1458 | 2010-06-09, 17:17 | Report

    Originally Posted by qole View Post
    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by rebhana; 2010-06-09 at 17:39.

     
    qole | # 1459 | 2010-06-09, 17:49 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    rebhana | # 1460 | 2010-06-09, 18:03 | Report

    Originally Posted by qole View Post
    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by rebhana; 2010-06-09 at 18:09.

     
    Page 146 of 333 | Prev | 136   144     145   146   147     148   156 | Next | Last
vBulletin® Version 3.8.8
Normal Logout