Active Topics

 


Reply
Thread Tools
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#261
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.
__________________
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 2 Users Say Thank You to qole For This Useful Post:
kingoddball's Avatar
Posts: 1,187 | Thanked: 816 times | Joined on Apr 2010 @ Australia
#262
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
__________________
The thanks button? Sure! You can press it! I would!
 
juandp77's Avatar
Posts: 203 | Thanked: 201 times | Joined on Jun 2010 @ Ecuador
#263
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!!!
 

The Following User Says Thank You to juandp77 For This Useful Post:
kingoddball's Avatar
Posts: 1,187 | Thanked: 816 times | Joined on Apr 2010 @ Australia
#264
Whats the differences with this new and the original one you posted?
__________________
The thanks button? Sure! You can press it! I would!
 
juandp77's Avatar
Posts: 203 | Thanked: 201 times | Joined on Jun 2010 @ Ecuador
#265
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

Last edited by juandp77; 2010-12-20 at 06:33.
 
frostbyte's Avatar
Posts: 293 | Thanked: 373 times | Joined on Jul 2010 @ Westside
#266
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.
__________________
[ArchLinux|OpenBox blissness]

"The Cake Is A Lie"
 
juandp77's Avatar
Posts: 203 | Thanked: 201 times | Joined on Jun 2010 @ Ecuador
#267
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

Last edited by juandp77; 2010-12-19 at 23:16.
 

The Following User Says Thank You to juandp77 For This Useful Post:
frostbyte's Avatar
Posts: 293 | Thanked: 373 times | Joined on Jul 2010 @ Westside
#268
Ok, thanks for the update. I'm a fan of Arch (still learning) but happy to run with Easy Debian/Ubuntu.
__________________
[ArchLinux|OpenBox blissness]

"The Cake Is A Lie"
 
juandp77's Avatar
Posts: 203 | Thanked: 201 times | Joined on Jun 2010 @ Ecuador
#269
@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
 
try-alls's Avatar
Posts: 95 | Thanked: 51 times | Joined on Sep 2010 @ staffordshire, uk
#270
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
 
Reply


 
Forum Jump


All times are GMT. The time now is 11:07.