Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [TUTORIAL-WIP] N900-LINUX: Ubuntu, Fedora and Archlinux

    Reply
    Page 27 of 53 | Prev | 17   25     26   27   28     29   37 | Next | Last
    qole | # 261 | 2010-12-19, 10:25 | Report

    The problem with Android is that it has no X-Server, so you can run command line Debian or you can run GUI apps in a VNC session. There's nothing like the cool stuff you can do in Maemo... yet. Someday, soon, someone might make an X Server for Android, and then... watch out! All of Linux will be available.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to qole For This Useful Post:
    fw190, int_ua

     
    kingoddball | # 262 | 2010-12-19, 20:13 | Report

    Hi Qole,
    I didn't mean to run Android on N900 via a chroot. That's been shot down already.

    I meant is it possible to put MAEMO into a chroot??
    Run Maemo on top of Maemo. Then I might take that over onto a droid device. Android devices can run linux via chroot's, similar to how you guys do it with N900

    Edit | Forward | Quote | Quick Reply | Thanks

     
    juandp77 | # 263 | 2010-12-19, 22:03 | Report

    so if anyone want to try here it is ubuntu-n900.deb

    if you had previous version please do this:

    Code:
    sudo rm /usr/bin/ubuntu-lxde
    also remove all the desktop entries

    now install the .deb file and open ubuntu chroot

    Code:
    nano /usr/bin/xephwm5
    copy this:

    Code:
    #!/bin/sh
    ##################################
    #Change these two variables to the WM of your choice.
    WMNAME="$1" ; WMEXEC="$2"
    [ "x$WMNAME" != x ] ||  WMNAME="Xephyr"
    [ "x$WMEXEC" != x ] ||  WMEXEC="startlxde2"
    ##################################
    export DISPLAY=:0
    export TSLIB_TSDEVICE=/dev/input/event3
    #export TSLIB_CALIBFILE=/etc/pointercal
    export GTK_MODULES=libgtkstylus.so
    zenity --display=:0 --info --text="Welcome to Ubuntu LXDE. This window is needed to gain keyboard focus in LXDE. Click OK." &
    /usr/bin/Xephyr :2 -screen 800x480 -br -ac &
    while [ "x$PARWIN" = "x" ] ; do
      # wait for Xephyr window to appear
      export PARWIN=`wmctrl -l | grep -i $WMNAME | awk '{print $1}'`
      echo "($PARWIN)"
    done
    DISPLAY=:2 ; habak -mf /usr/share/fonts/truetype/DroidSans-Bold.ttf \
         -ht 'Ctrl-back to return to dashboard.'
    DISPLAY=:0 ; wmctrl -i -r $PARWIN -T 'Easy Ubuntu'
    wmctrl -i -r $PARWIN -b toggle,fullscreen
    while [ "x$TWOWIN" = "x" ] ; do
      # wait for Zenity dialog to pop up...
      export TWOWIN=`wmctrl -l | grep -i Information | awk '{print $1}'`
    done
    #echo window id: $TWOWIN
    wmctrl -i -a $TWOWIN
    #/sbin/qobi-wmhint-fix $PARWIN
    /usr/bin/set-focus $PARWIN
    wmctrl -i -a $PARWIN
    /usr/bin/$WMEXEC
    killall Xephyr
    export DISPLAY=:0
    save it and exit now open Ubuntu LXDE

    let me know if it works

    Enjoy it!!!

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

     
    kingoddball | # 264 | 2010-12-19, 22:57 | Report

    Whats the differences with this new and the original one you posted?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    juandp77 | # 265 | 2010-12-19, 23:04 | Report

    Originally Posted by kingoddball View Post
    Whats the differences with this new and the original one you posted?
    .deb package install all the scripts automatically,
    keyboard focus fixed
    power button fixed

    some scripts are:

    ubbie: starts ubuntu chroot shell as user (doesn't evaluate /home/user/.profile)

    ubbie command: runs ubuntu command as user (if command includes file names, those need to be given with absolute path)

    sudo ubuntu: starts ubuntu chroot shell as root (this is the command issued by the "Ubuntu chroot" app)

    closeall: unmount debain and ubuntu at the same time in order to be able to use usb mass storage mode

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by juandp77; 2010-12-20 at 06:33.

     
    frostbyte | # 266 | 2010-12-19, 23:09 | Report

    Originally Posted by juandp77 View Post
    so if anyone want to try here it is ubuntu-n900.deb

    if you had previous version please do this:

    Code:
    sudo rm /usr/bin/ubuntu-lxde
    also remove all the desktop entries

    now install the .deb file and open ubuntu chroot

    Code:
    nano /usr/bin/xephwm5
    copy this:

    Code:
    #!/bin/sh
    ##################################
    #Change these two variables to the WM of your choice.
    WMNAME="$1" ; WMEXEC="$2"
    [ "x$WMNAME" != x ] ||  WMNAME="Xephyr"
    [ "x$WMEXEC" != x ] ||  WMEXEC="startlxde2"
    ##################################
    export DISPLAY=:0
    export TSLIB_TSDEVICE=/dev/input/event3
    #export TSLIB_CALIBFILE=/etc/pointercal
    export GTK_MODULES=libgtkstylus.so
    zenity --display=:0 --info --text="Welcome to Ubuntu LXDE. This window is needed to gain keyboard focus in LXDE. Click OK." &
    /usr/bin/Xephyr :2 -screen 800x480 -br -ac &
    while [ "x$PARWIN" = "x" ] ; do
      # wait for Xephyr window to appear
      export PARWIN=`wmctrl -l | grep -i $WMNAME | awk '{print $1}'`
      echo "($PARWIN)"
    done
    DISPLAY=:2 ; habak -mf /usr/share/fonts/truetype/DroidSans-Bold.ttf \
         -ht 'Ctrl-back to return to dashboard.'
    DISPLAY=:0 ; wmctrl -i -r $PARWIN -T 'Easy Ubuntu'
    wmctrl -i -r $PARWIN -b toggle,fullscreen
    while [ "x$TWOWIN" = "x" ] ; do
      # wait for Zenity dialog to pop up...
      export TWOWIN=`wmctrl -l | grep -i Information | awk '{print $1}'`
    done
    #echo window id: $TWOWIN
    wmctrl -i -a $TWOWIN
    #/sbin/qobi-wmhint-fix $PARWIN
    /usr/bin/set-focus $PARWIN
    wmctrl -i -a $PARWIN
    /usr/bin/$WMEXEC
    killall Xephyr
    export DISPLAY=:0
    save it and exit now open Ubuntu LXDE

    let me know if it works

    Enjoy it!!!
    Thanks again, I'll give this one a shot. Also, what's the latest on Arch repos? All I'm after, at least for now, is a web browser + jre/jdk so I can run a java applet via the web browser.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    juandp77 | # 267 | 2010-12-19, 23:14 | Report

    Originally Posted by frostbyte View Post
    Thanks again, I'll give this one a shot. Also, what's the latest on Arch repos? All I'm after, at least for now, is a web browser + jre/jdk so I can run a java applet via the web browser.
    hi frostbyte currently there aren't news about archlinux, what I'm planing to do is to use the plugbox rootfs but there is a problem with gcc version and xorg-server, some developer told me that they are planing to launch a new release in a few weeks that fixes that issue so meanwhile I'm working in improving ubuntu

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by juandp77; 2010-12-19 at 23:16.
    The Following User Says Thank You to juandp77 For This Useful Post:
    frostbyte

     
    frostbyte | # 268 | 2010-12-19, 23:31 | Report

    Ok, thanks for the update. I'm a fan of Arch (still learning) but happy to run with Easy Debian/Ubuntu.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    juandp77 | # 269 | 2010-12-20, 00:03 | Report

    @frostbyte, to be honest with you I started all this with the aim of get archlinux on my n900 (I'm a archlinux fan to), later I realize that this could be used in others arm based linux distro

    So guys if you installed please let me know if there are some problem or if it works well. Thanks

    Edit | Forward | Quote | Quick Reply | Thanks

     
    try-alls | # 270 | 2010-12-20, 00:12 | Report

    installed your deb file but i need the ubuntu install from extras havin searched repos its not the can i use the .lzma's from you OP

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 27 of 53 | Prev | 17   25     26   27   28     29   37 | Next | Last
vBulletin® Version 3.8.8
Normal Logout