View Single Post
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#57
Now obsolete. See the easy-to-install Easy Debian Harmattan package.

Originally Posted by rcolistete View Post
Good news, I have success on running Easy Debian using Inception+opensh+"aegisctl -s" on my Nokia N9. Including LXDE, OpenOffice, etc. I will try to write a how-to-do-it (after recovering my N9, read below).
Detailed instructions to install Easy Debian to N9 (HarmChom) with Inception + opensh + aegisctl :

- see the 1st message of this topic to copy the content HarmChom.tgz to "/home/user";
- as user, in "/home/user" with Terminal :
$ mkdir HarmChom
$ tar -xvzf HarmChom.tgz
$ cd HarmChom/src/bin
$ chmod 755 *
$ devel-su
and type the password (rootme is the default one);
# cd ~user/HarmChom/src/bin
# cp * /bin/
# mkdir /.debian
# chmod 777 /.debian
# exit
- as user :
$ cd ~/HarmChom/src
$ cp -R home/* /home

- install the nano editor from Nokia Store, then from Terminal as user:
$ nano ~/.profile
and add the following line to the end :
export PATH=/sbin:/usr/sbin:$PATH
Now exit nano and Terminal, openning again the Terminal;

- check if the content of "/home/user/.chroot" is correct (pointing to the debian image file you want, etc);
- the default image is "~/MyDocs/debian-m5-v3e.img.ext2" which can be downloaded in compressed form (lzma format, 300 MB) from qole.files;
- using a desktop computer, uncompress .lzma file using :
$ 7z e debian-m5-v3e.img.ext2.lzma
7z is part of 7zip package for Linux, but there are other softwares for Linux and Windows for uncompressing lzma format. Copy the "debian-m5-v3e.img.ext2" file (1.5GB) from desktop PC to "/home/user/MyDocs/" directory of Nokia N9 using USB cable (ior WiFi, but using USB is faster);
- or using Nokia N9, become root, install "xz-utils" ("# apt-get install xz-utils"), copy "debian-m5-v3e.img.ext2.lzma" to "/home/user/MyDocs/", then, as user in Terminal :
$ cd ~/MyDocs
$ xz -d debian-m5-v3e.img.ext2.lzma

- install Inception, opensh and aegisctl, see the Inception web page and copy the 3 .deb files to some directory and type :
$ devel-su
and type the password (rootme is the default one);
# dpkg -i inception_0.1_armel.deb
# pasiv
confirming with yes;
# incept opensh_1.00_armel.deb
and type the password (rootme is the default one);
# incept aegisctl_1.2_armel.deb
and type the password (rootme is the default one);
# exit

- to start Easy Debian :
$ opensh
Once after reboot, inside opensh :
# aegisctl -s
Without the above command the chroot will not work !
# debian
so all command line softwares are available. All softwares can be launched outside LXDE, e.g., OpenOffice Writer :
[root@chroot: /] oowriter &
To toggle fullscreen :
[root@chroot: /] wmctrl -r writer -b toggle,fullscreen
So, in this case, oowriter doesn't match the title (check with "wmctrl -l"), but "writer".

Only 1st time configuration of LXDE, from 1st post of this topic, download xephwm and suxephwm to "/home/user/" of your Nokia N9/N950, then, inside debian :
[root@chroot: /]cd ~
[root@chroot: /]chmod +755 xephwm suxephwm
[root@chroot: ~]cp xephwm suxephwm /usr/bin

Finally, to launch the LXDE windows manager :
[root@chroot: ~] suxephwm
To launch using the "Debian LXDE" icon, edit using :
$ nano ~/.local/share/applications/lxde.desktop
and change the "Exec" line to :
Exec=/usr/bin/invoker --type=e /bin/opensh -c "debian suxephwm"
Save with "ctrl+o" then exit (ctrl+x). Now the icon works with Easy Debian + Inception.

The same Easy Debian image can be used on Maemo 4, Maemo 5 and MeeGo 1.2 Harmattan, so read the Easy Debian Wiki about using Easy Debian.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.

Last edited by rcolistete; 2012-08-05 at 19:38. Reason: Citation of Easy Debian Harmattan package
 

The Following 10 Users Say Thank You to rcolistete For This Useful Post: