View Single Post
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#1
I've been getting some requests to port my "Easy Debian" chroot scripts to the N9, and I've been reluctant to release anything because getting this to work depends upon flashing the Open Kernel (which means a fairly complicated flashing process and re-installing all of your apps), and, if you aren't one of the lucky few to have the N950, you'll need to install btinput and pair a Bluetooth hardware keyboard with your N9.

So I wouldn't call this "Easy Debian". My current lame little working name is "HarmChom", short for "Harmattan Chroot Open Mode".

I am linking to the tarball of my scripts. It is the beginnings of a .deb package, but I haven't figured out what I need to add to a .deb in Open Mode yet, and I wanted to get these scripts out there for you all to start using.

Basically just copy the files in the src/ directory into your phone's file system.

UPDATE: I recommend instaling coderus' sudo instead of using my fake sudo below.
As root,
Code:
AEGIS_FIXED_ORIGIN=com.nokia.maemo dpkg -i sudo_1.6.8p12-4osso28\+0m6_armel.de
I have made a "fake sudo" which is just an alias for "ssh root@localhost", but for it to work properly in scripts (i.e. no passwords), you should set up ssh key authentication.

Here are the scripts: HarmChom.tgz

Make the /home/user/.chroot file point to the correct image file, then use "debian" as root to run chroot commands. You can also use qchroot, qmount, qumount, closechroot, etc. the same as on previous versions of my scripts.

On my phone, I am using a modified version of my standard Easy Debian image, which includes a new version of the script to get LXDE up and running.

Here is the new script, put it in the /usr/bin of your image:
xephwm

And because I'm still trying to figure out the problems of running as root from an icon (see the fake sudo above), this script (when placed in your image's /usr/bin dir) drops you to user and then runs xephwm:
suxephwm

With everything set up properly, using these scripts (and the .desktop file included), I was able to launch LXDE from an icon, then run OpenOffice Writer and write a 500 word essay on an airplane.

Anyway, try this stuff out, and post your comments here.
__________________
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!

Last edited by qole; 2012-04-08 at 23:11.
 

The Following 46 Users Say Thank You to qole For This Useful Post: