Closed Thread
Thread Tools
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#1
UPDATE 12-Oct-08: New TURBO CHARGED version! Go HERE!

The Bundyo-Benson-Build

easy-deb-chroot-0.6-2_armel.deb

This version uses Bundyo's 'hostwin' app to open the IceWM window (and give it a nice icon). The most important thing about this is that there are no more dependencies on Python packages. You can install the easy chroot package on a stock tablet now. It also includes Benson's much more flexible chroot script, which allows you to change your chroot settings by changing the settings in the /home/user/.chroot file.

This update also includes:
  • Kilian's clock fix: the clock now reads correctly in IceWM
  • fatalsaint's xmodmap: N810 keys now work correctly in IceWM
  • debernardis' /tmp resize: PDF creation and complex doc printing now work
  • Darken's GTK stylus fix: once the correct packages are installed (see below*), tap-and-hold in AbiWord and other GTK apps will act as a right-click.
  • IceWM preference tweaks: network activity now shows, matchbox-keyboard now starts from toolbar button (instead of xvkbd), kazehakase* starts from toolbar button (instead of iceweasel)

PLEASE see this post and this post for more (important) information.

Finally, Debian for everyone!

This package, when installed, will give you OpenOffice.org, AbiWord, the IceWM window manager, Firefox 3.0 (called Iceweasel in Debian) with Java support, printing support, and access to thousands of applications that can be easily browsed and downloaded.

This package will give you all of these applications without any need for installing dependencies or other applications, and it should work on all of the tablets.

What you need:

You need 1.3 GB free on one of your memory cards (this includes the built-in 2GB on the N810), although after installing, you will only need 1 GB.

You need to keep your expectations reasonable. Big desktop applications like OpenOffice and Firefox run slowly on the tablet. They are designed for big, power-hungry CPUs. The N8x0's processor is comparable to a Pentium II processor. Just imagine running these apps on your computer from the mid-90s (remember Windows 95?), and you'll get the idea. But sometimes, you really need something on the tablet that only these apps can provide, like MS Word compatibility or Java applets.

Install instructions:

You need to install the easy-deb-chroot package. Install it with the Application Manager.

When this package is installed, you have to run the "Debian Image Installer" in your Extras menu. This will download and install the big image to the memory card of your choice. It will take about a half hour to download if you have fast Internet connection, and another 15 minutes to extract it on your tablet.

This may take longer... Start the install when you can leave your tablet downloading for a while, maybe just before bed or before going out

Finally, when you get the "Congratulations!" message, REBOOT.

Using the IceWM Window Manager:
If it doesn't work: You need Python and PyGTK to open the window in OS2008.
Switching to OS2008: Just press the "Home" key (with the house on it) to get back to OS2008.
Switching to IceWM: Click on the icon on the left hand side of OS2008, or use the Home key to choose IceWM.
Onscreen Keyboard: The button to the left of the "x-terminal" button on the toolbar pops up an on-screen keyboard. Getting this to work can be tricky sometimes. I've found that it helps to check the "Always on top?" on the xvkbd menu (lower left corner of kbd), even though it doesn't actually keep the keyboard on top, then click on the app that you want to type in, then click on a key on the keyboard. This brings the keyboard to the top but lets you type in the app.
Exiting IceWM: Log out, don't just close the window.

International (non-English speaking) users:

Please click on the "Debian chroot" icon and type the following command:
Code:
dpkg-reconfigure locales
Choose your language(s).

Note that you should choose the language with no period between the language and the iso code (eg. "en_CA ISO-8859-1"), and optionally, the utf-8 version, too (eg. "en_CA.UTF-8").

Want more install space?

If you want more space for installing stuff, you can purge all of the language and localization files that you aren't using. Make sure you have configured your locales (as shown above) first.

Click on the "Debian chroot" icon and type the following command:
Code:
apt-get install localepurge; localepurge
This will get you at least 80MB back. You should probably do this first, before starting to install. Running out of space during an install in Debian is ugly.

Also, remember to frequently use "apt-get clean" to clear out old downloaded packages. That will help with free space. You can also probably safely delete lots of support packages. For example, if you don't plan to print from your applications, you can probably do "apt-get remove --purge cups"


Some notes / warnings:

  • As I said above, the big desktop apps start up really slowly, especially Iceweasel (since it has no splash screen). The tablet seems to be sitting there, doing nothing, sometimes for a long time. Don't hammer the button, you'll just get several copies trying to start at the same time, slowing things down even more.
  • If you want to use the apps in OS2008 with an N800, you will need an external keyboard, the matchbox-keyboard included with the package or the maemo xkbd port. You want the OS2008 version. If you install it, you maybe should use debernardis' method given here.
  • OpenOffice is completely OS2008 unfriendly. If you run it in OS2008, there's no icon on the left-hand app panel. If you lose your OpenOffice screen, or you need it fullscreen, use the included "Make OpenOffice Fullscreen" (in the Extras menu). I would have made one for AbiWord too, since the AbiWord fullscreen hides all the menu bars, but AbiWord sets the window title to your document name so I have no idea what window to fullscreen.
  • This deb messes with very little in OS2008. After install, your tablet should remain much the way it was before.
    Please note, however, that, in order to run properly on the tablet, running Debian apps have access to a lot of stuff, and they can possibly do damage, although none has been reported so far. This chroot isn't much of a "jail", on purpose. Experimenting can occasionally have some unexpected results. Sometimes, installing or updating an app will shut down or restart an important service on the tablet as part of the install. This can sometimes cause the tablet to freeze or reboot. The good news is that a reboot will always fix whatever went wrong.
  • The matchbox-keyboard menu item causes the matchbox keyboard (father to our tablet stylus keyboard) to pop up, or if it is up, the menu item makes it go away. There's no "hide" button on the matchbox-keyboard, so you have to use the menu item to hide it.
  • To run a Debian application as user from the command line, type "debbie <command>". If you need to run the app as root, use "sudo debian <command>".
  • I install qwerty12's movable-windows hack for OS2008. You really need it for running Debian programs in OS2008. If you hate that, uninstall my .deb, or copy /etc/osso-af-init/matchbox.defs.orig back to matchbox.defs and everything will be the way it was before.

Using This Thread:

Please post questions about installing this package, ideas for improving it, and related topics in this thread. For hacker / developer discussion about running Debian using this method, use the Running Debian in a chroot thread.

If you wish to discuss the best applications to run on the tablets, and the tweaks and changes needed to get them running well, please use the Debian Applications That Run Well on the Tablets thread.

IceWM running AbiWord and xvkbd, with OS2008 menu (invoked by pressing Home key)




THANKS:


Johnx for egging me on about Gimp and getting me interested in Debian on the tablets again
penguinbait for the base downloader script from his very cool KDE packages
Benson for always knowing the answer
qwerty12 for the movable window hack
debernardis and the hackers over in the developer thread for figuring stuff out with me (and for wanting openoffice so badly )
thp for showing us how cool it would be to have an easy-switching window manager in his video

Last edited by qole; 2008-10-13 at 03:22. Reason: version 0.9 beta-test
 

The Following 103 Users Say Thank You to qole For This Useful Post:
2733T, alephito, Alpha4, ArchiMark, Architengi, arono, b-man, BatPenguin, bearcat, birneyw, BoredOOMM, BrentDC, BruceL, bsmithyman, bunanson, Bundyo, Cadabena, cheve, codeMonkey, Cptnodegard, dan, daperl, dazzakoh, debernardis, delaroca, dik, doctorbri, doppers, dvergin, eliagp, fatalsaint, fatdat888, Faz, feighery, FierceDeityLink1, flib, FrankWalzer, frostbyte, Glasswalker, gs1, Handspring, hns, hyartep, iafliu, IcoNyx, int_ua, ioan, ioioio, joshv06, josiahg777, kazuya, klulukasz, ldrn, lm2, locusf, lud666, luso, macster, Makurosu, meizirkki, monoceros, mrlanrat, murphy, n9mjg, Natehunderd, nef919, nicholes, penguinbait, phutterman, pipeline, platon, ponkwillis, possessedskier, psykosis, qwerty12, rbrewer123, rexii23, rmancl, scottklein, semdev01, smog, stangri, stelchio, stlpaul, suitti, tekplay, Temporal, Texrat, thopiekar, thoughtfix, timsamoff, tip184, tolou, TrulsT, twaelti, t_moyashi, Underscore, urilabob, vkv.raju, yabbas, yerga
Posts: 1 | Thanked: 0 times | Joined on Jul 2008
#2
Totally awesome! Thank you a ton! Can Ubuntu support be far behind?
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#3
Trust me - ubuntu-mid is nothing to be desired...
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following User Says Thank You to Bundyo For This Useful Post:
Greyghost's Avatar
Posts: 415 | Thanked: 44 times | Joined on Apr 2007 @ Austin, Texas
#4
Wow! Thanks quole! This looks very interesting. I can't wait to try it out, but it'll have to be tomorrow, so I will get the benefit of this thread before I get started.
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#5
Thank you very much Qole!
You know what's lacking now (I guess)?
Mapping for 2nd functions of the N810 keyboard under Xephyr/Icewm.
I think that Xmodmap is needed and a fellow with some spare time.
 

The Following User Says Thank You to debernardis For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#6
Originally Posted by debernardis View Post
Thank you very much Qole!
You know what's lacking now (I guess)?
Mapping for 2nd functions of the N810 keyboard under Xephyr/Icewm.
I think that Xmodmap is needed and a fellow with some spare time.
I completely agree. I also just realized I didn't include a file manager in IceWM. Funny that a window manager doesn't have one by default...
__________________
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!
 
Posts: 7 | Thanked: 0 times | Joined on May 2008
#7
Thanks for all the work that went into this. I'm really excited about using this, but can't get it to work. The .deb installed fine, and the image seemed to download fine, but the installer quits before extracting it. When I run Debian chroot I get and error message:

You have no debian.img.ext2 on your memory cards.

When I run Debian image installer I get this error:

the file is already fully retrieved; noting to do.

And then it exits. Any help would be greatly appreciated!
 
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#8
Everything works, thank you qole.

It took 31 min for the dl, I think the file is ~288M. It then took 15 min to extract it. and I guess, upon successful, there is a message in a white rectange: "Congratulation......" If you get that far, you made it.

Upon loading Iceweasel, it took another 23 seconds, as if the tablet is NOT doing a thing, suddenly, here comes the web page.

Load up IceWM is fast. Some difficulty in using the keyboard though, / \ and numerals do not work; even with an ext keyboard.


bun
Attached Images
  

Last edited by bunanson; 2008-07-05 at 22:10.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#9
Originally Posted by lud666 View Post
Thanks for all the work that went into this. I'm really excited about using this, but can't get it to work. The .deb installed fine, and the image seemed to download fine, but the installer quits before extracting it. When I run Debian chroot I get and error message:

You have no debian.img.ext2 on your memory cards.

When I run Debian image installer I get this error:

the file is already fully retrieved; noting to do.

And then it exits. Any help would be greatly appreciated!
It sounds like your installer is downloading the file, but not extracting it. Could you please open a terminal window and type the following:

Code:
/home/user/img-install/installer.sh
This will run the installer, but it won't close the window when it's finished, so you can report what it says after "the file is already fully retrieved; nothing to do".

It should sit for a long time saying nothing but "debian.img.ext2", as it extracts the image, but it sounds like there's something wrong with the extraction process. Funny, there's supposed to be an error window if the extraction fails, I wonder why there isn't...
__________________
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; 2008-07-05 at 21:16.
 
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#10
Try to get into Xterm as root/synaptic pack manager, stuck at the admin password. Try user, rootme, root didnt work. ???

It works with an ext kbd, virtual kbd, but when I slide the N810 kbd out, screen got to be very slow, and when I tapped a few chars, it crashed.


Edit: after reboot, all chars worked now.

bun

Last edited by bunanson; 2008-07-05 at 22:27.
 
Closed Thread

Tags
debian, easy debian, obsolete

Thread Tools

 
Forum Jump


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