PDA

View Full Version : [Debian] ANNOUNCE: Easy Debian For Everyone! OpenOffice, Firefox 3, Java, AbiWord, IceWM, etc


Pages : [1] 2

qole
07-05-2008, 02:11 PM
UPDATE 12-Oct-08: New TURBO CHARGED version! Go HERE (http://www.internettablettalk.com/forums/showthread.php?t=24272)!

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 (http://www.internettablettalk.com/forums/showthread.php?p=207644#post207644) and this post (http://www.internettablettalk.com/forums/showthread.php?p=208065#post208065) for more (important) information.

Finally, Debian for everyone! :D :)

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 ;) :D

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:

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:

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 (http://pupnik.de/xkbd.html). You want the OS2008 version (http://pupnik.de/xkbd_0.8.15m-2_armel.deb). If you install it, you maybe should use debernardis' method given here (http://www.internettablettalk.com/forums/showthread.php?t=10101).
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 (http://www.internettablettalk.com/forums/showthread.php?t=20342).

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 (http://www.internettablettalk.com/forums/showthread.php?t=21719) thread.

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

http://farm4.static.flickr.com/3162/2640695795_db517973ff_o.png (http://www.flickr.com/photos/qole2/2640695795/)


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 (http://www.internettablettalk.com/forums/showthread.php?t=20342) for figuring stuff out with me (and for wanting openoffice so badly :) )
thp for showing us (http://www.internettablettalk.com/forums/showthread.php?p=195817#post195817) how cool it would be to have an easy-switching window manager in his video (http://video.google.com/videoplay?docid=-1367124103884440661&hl=en)

donnellymp
07-05-2008, 02:37 PM
Totally awesome! Thank you a ton! Can Ubuntu support be far behind?

Bundyo
07-05-2008, 02:41 PM
Trust me - ubuntu-mid is nothing to be desired...

Greyghost
07-05-2008, 02:52 PM
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
07-05-2008, 03:44 PM
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.

qole
07-05-2008, 03:47 PM
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...

lud666
07-05-2008, 04:26 PM
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!

bunanson
07-05-2008, 05:02 PM
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

qole
07-05-2008, 05:13 PM
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:


/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...

bunanson
07-05-2008, 06:07 PM
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

qole
07-05-2008, 06:25 PM
Try to get into Xterm as root/synaptic pack manager, stuck at the admin password. Try user, rootme, root didnt work. ???

bun

The password for Debian's root user should be the same as your Maemo root user, because my script copies the user info from Maemo. (Just checked; it works...) Beware that if you have an N800 and you try to run Synaptic in IceWM, you will need a hardware keyboard to enter the admin password.

Perhaps you shouldn't bother trying to do that stuff in IceWM; after all, just press the "Home" key (with the house on it) to get back to OS2008. If you run the "Debian chroot" from your menu, it drops you to a root prompt in Debian. Also, the "Synaptic Package Manager" item from the menu gives you root access without a password.

EDIT: Bun, you changed your post after I replied! Cheater! ;)

EDIT2: I just checked, there's a passwordless root terminal in IceWM under Programs / Applications / Terminal Emulators called "X-Terminal as root (GKsu)"

psykosis
07-05-2008, 07:04 PM
Great job Qole! Is there any additional functionality packed in the deb as far as the chroot'ing and whatnot that goes beyond the initial one (besides the automatic image download bit - e.g. if I wanted to keep utilizing my existing image, would there be benefits to grabbing the updated easy-deb-chroot deb?)

qole
07-05-2008, 07:19 PM
Great job Qole! Is there any additional functionality packed in the deb as far as the chroot'ing and whatnot that goes beyond the initial one (besides the automatic image download bit - e.g. if I wanted to keep utilizing my existing image, would there be benefits to grabbing the updated easy-deb-chroot deb?)

You definitely should upgrade your easy-deb-chroot .deb. The scripts are much much better now. As for the big disk image, you can use your old one, but the IceWM setup in this version is pretty cool.

Major changes since first chroot package:

I've got the IceWM setup in there now!
Locales left in for international users
No hacks to remove docs
New un-hacked versions of OpenOffice and Iceweasel


The new script looks for the first image file that starts with "debian" so you could, in theory, keep both image files, and just rename the one you don't want to use to "xdebian.img.ext2" as required to use one or the other (rebooting between uses).

IceWM on top of OS2008 is cool:

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

http://farm4.static.flickr.com/3162/2640695795_db517973ff_o.png (http://www.flickr.com/photos/qole2/2640695795/)

yabbas
07-06-2008, 02:40 AM
incredible work :D

These tablets are going from strength to strength!

debernardis
07-06-2008, 03:35 AM
I also just realized I didn't include a file manager in IceWM. Funny that a window manager doesn't have one by default...
The answer is ROX (the puppy linux way...)
http://packages.debian.org/etch/rox-filer

bunanson
07-06-2008, 08:18 AM
The answer is ROX (the puppy linux way...)
http://packages.debian.org/etch/rox-filer

which package should i use?

Or if I go to synaptic, they offer 2.7 rox-filer instead of 2.5. Would 2.7 make the tablet explode?


bun

leavic
07-06-2008, 08:28 AM
finnaly,you announced it.great job,thanks a lot.

debernardis
07-06-2008, 09:32 AM
Would 2.7 make the tablet explode?

Version 2.7 is allright, I was only pointing to the debian page showing it is available.
Rox-filer is very light and configurable, but remember it needs the right mouse key, so in order to have it install keylaunch. I don't know if it's already in Qole last easy debian package because I'm still using my old rootfs from Johnx.

bunanson
07-06-2008, 10:58 AM
Yes, rox-filer 2.7 installed successfully.

Open Synaptic Package Manager, wait for 20 seconds or so, manually locate rox-filer 2.7-1 and marked for install, and follow installation, takes some 2 minutes. Get out, boot into IceWM, debian>Programs>Applications>System>ROX Filer.

Error message, '/home/user/.icons' not found, other than that, it seems working. Have not learned how to use it yet, :( , it is a 10 page user manual.


bun

bunanson
07-06-2008, 11:05 AM
On the synaptic, there is also kde desktop environment. Can I install it? Would that made my house on fire?

BTW, the clock is always 3 hrs ahead, is that qole's clock? How do I set it to average user use? Thanks, it is fun........till reflash, I guess :rolleyes:

bun

qole
07-06-2008, 11:08 AM
... remember it needs the right mouse key, so in order to have it install keylaunch. I don't know if it's already in Qole's last easy debian package because I'm still using my old rootfs from Johnx.

I don't have keylaunch yet. I think that's the package that only works on the N810? Benson said he was going to map right-click to the HW + key for me, but he's been busy with other stuff, I guess..

I'll look into mapping the right-click somehow. Help would be appreciated.

Kilian
07-06-2008, 01:20 PM
BTW, the clock is always 3 hrs ahead, is that qole's clock? How do I set it to average user use? Thanks, it is fun........till reflash, I guess :rolleyes:
bun

Hello;

I fixing this issue coping the OS2008's time local definition in the Debian's chroot:

cp -a /etc/localtime /debian/etc/localtime

Maybe Qole can add this file to the package "easy-deb-chroot".

P.D: Thank's Qole for the awesome package.

manni
07-06-2008, 01:51 PM
Quick question...does the easy-deb-chroot delete everything on the memory card. I'm already booting from memory card.

Thanks

geneven
07-06-2008, 02:04 PM
Manni: It doesn't delete anything from the memory card.

qole
07-06-2008, 03:10 PM
On the synaptic, there is also kde desktop environment. Can I install it? Would that made my house on fire?

Burning house. You'd run out of room in your disk image for sure. If you're a crazy installer like me, you're better to make a big (2-8 GB) partition and use that instead...

BTW, the clock is always 3 hrs ahead, is that qole's clock? How do I set it to average user use?

I think that's GMT. You need to set your time zone like St. Kilian says:


cp -a /etc/localtime /debian/etc/localtime


I'll include that in version 0.6...

Thanks, it is fun........till reflash, I guess :rolleyes:

Actually, your Debian install will survive a reflash, since it is on your memory card. You might lose some personal settings from your home diectory, but, a reinstall of the small easy chroot .deb is all that's needed after a reflash.

bunanson
07-06-2008, 03:54 PM
Burning house. You'd run out of room in your disk image for sure. If you're a crazy installer like me, you're better to make a big (2-8 GB) partition and use that instead...
...

I got a 6 G partition, should I, may I, can I :o ?
Somewhere in your post, i guess the 1st one, Debian installation runs out of room is 'ugly'. Does it mean I need to reflash AND reformat the card, or even more.........nay, I leave it alone for the time being.


bun

manni
07-06-2008, 04:15 PM
Thanks Geneven,

I'm using my 8GB memory card to boot from so my internal memory card on the N800 has a total size of 480MB, the actual "device"memory has enough space how to I install the image file on the actual device memory. Can I download the image file and place it on the actual device memory?

Thanks

qole
07-06-2008, 05:30 PM
You need a memory card (called /media/mmc1 or /media/mmc2) with 1.3 GB free on the first partition.

If you install the deb and run the installer, it will show you how much space you have on your cards. You may need to buy a bigger card ;)

manni
07-06-2008, 11:52 PM
Hi Qole,

The memory card is large enough its just that I'm booting from the memory card using penguinbates deb. Am I able to resize partitions and if so how so without having to wipe the card?

Thanks

dcarter
07-07-2008, 12:07 AM
Qole, this really is the bomb.
So practical and applicable.....
I have had great luck with the gimp (using a limited pixel size of course)
and I find ABI Word is quite fast within the Ice Windows Manager.

But, the best part is that now, within Maemo, I can actually move around the non-full-screen menus. -try it with the connection connect window that pops up.

You really executed the Debian environment beautifully.
It is enough to make me jealous of myself!!!

Thank you very much

dcarter

Victor_A
07-07-2008, 02:12 AM
How do I find the pygtk installer or package. I have everything working except for that. I have python-2.5. Any help would be very appreciated. I tried look for it but could not find it in the maemo.org site.

dunsun
07-07-2008, 03:55 AM
How about JAVA JDK ?
Will my java apps work ?

Jaffa
07-07-2008, 08:28 AM
Qole, you should get yourself to the Maemo Summit (http://wiki.maemo.org/Maemo_Summit_2008) (with sponsorship, probably) and do a talk/demo of Debian chroot on top of Maemo.

D'ohboy
07-07-2008, 01:25 PM
Is there a way to install the IceWM Window Manager with an existing setup of a debian chroot? Like one on its own partition made by following the wiki article about running debian in a chroot?

qole
07-07-2008, 02:39 PM
Qole, you should get yourself to the Maemo Summit (http://wiki.maemo.org/Maemo_Summit_2008) (with sponsorship, probably) and do a talk/demo of Debian chroot on top of Maemo.

That sounds cool. I'll apply for sponsorship and see what happens!

EDIT: Applied. We'll see what happens.

qole
07-07-2008, 02:41 PM
Is there a way to install the IceWM Window Manager with an existing setup of a debian chroot? Like one on its own partition made by following the wiki article about running debian in a chroot?

Yes, there is. It's very simple, actually. I am going to be posting some little scripts and stuff over at the developer's thread (http://www.internettablettalk.com/forums/showthread.php?t=20342) for you guys who are already running a chroot in a partition, or if you have multiple chroots and you want to switch between them. Just give me a few days; I've been neglecting my family a bit, I have to mend some fences ;)

qole
07-07-2008, 03:01 PM
How about JAVA JDK ?
Will my java apps work ?

The open-source Java components are all installed, including the Firefox plugin, the JamVM, classpath, gappletviewer, etc.

You can run the "Debian chroot" menu item and try:


/usr/lib/classpath/gappletviewer http://java.sun.com/applets/jdk/1.4/demo/applets/TicTacToe/example1.html


This will (eventually) let you play a simple game of tic-tac-toe.

(or try one of the other demo applets (http://java.sun.com/applets/jdk/1.4/demo/applets/))

My tests indicate that Java applets via Debian run about the same speed as through Jalimo, ie very slowly.

qole
07-07-2008, 03:20 PM
How do I find the pygtk installer or package. I have everything working except for that. I have python-2.5. Any help would be very appreciated. I tried look for it but could not find it in the maemo.org site.

Thanks, that's a bug in my instructions!

I should have written, "python2.5-gtk2"

That package should be in the "extras" repository. If you can't find that package, perhaps the best thing is to install something else that uses that package, like the very cool "mytube" app.

qole
07-07-2008, 03:34 PM
I added a new section to my first post, how could I have forgotten it!


THANKS:

Johnx for egging me on about Gimp ;), providing a new Debian rootfs, 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
debernardis and the hackers over in the developer thread (http://www.internettablettalk.com/forums/showthread.php?t=20342) for figuring stuff out with me (and for wanting openoffice so badly :) )
thp for showing us (http://www.internettablettalk.com/forums/showthread.php?p=195817#post195817) how cool it would be to have an easy-switching window manager in his video (http://video.google.com/videoplay?docid=-1367124103884440661&hl=en)

jcherepy
07-07-2008, 07:50 PM
When I D/L the easy-deb-chroot package the App Manager asks where I want to put Office, Abiword, etc. Do I put them on a card or in Extras?

Thanks,

Bill

qole
07-07-2008, 08:04 PM
It's just asking you what menu you want to put the menu icons in, not where you want to put the applications physically :)

jcherepy
07-07-2008, 08:50 PM
It's just asking you what menu you want to put the menu icons in, not where you want to put the applications physically :)

OK, Great! Thanks for the quick response.

Bill

manni
07-07-2008, 10:02 PM
Hi qole,

Is it possible to repartition a SD card using the tablet. I don't have a SDHC card reader? Or can you provide a download link to the image file so I can download it and place it on my existing device memory which is over 3GB free?

Thanks
Manni

Maxoueb
07-07-2008, 11:14 PM
Hi there! Thanks so much for this incredible work!

Two questions:

- Is there a way to input numbers within IceWM using the N810 keyboard?
- Is there another/simpler way to add Applications to the Hildon menu other than:

Making a menu icon for Debian apps

As root, copy an existing .desktop menu icon file.

cp /usr/share/applications/hildon/mplayer.desktop /usr/share/applications/hildon/abiword-deb.desktop

Edit the new .desktop file to look something like this (Changing the name, etc. of course):

[Desktop Entry]
Encoding=UTF-8
Name=Debian AbiWord
Exec=/usr/bin/debbie abiword
Icon=qgn_list_btno_gen_computer
X-Osso-Type=application/x-executable
X-HildonDesk-ShowInToolbar=true


Also, how do you add the proper app icon to be display in the hildon menu?

Thanks a lot!

Max

colesen
07-08-2008, 01:34 AM
I did not know chroot, just now read some about it and am still curious as to how all this works. Is OS2008 in use at all when running deb? If not does that mean that deb could be the sole os? if so then why was os200n (maemo) invented?

ponkwillis
07-08-2008, 07:44 AM
This is PURE OWNAGE! Cold Blooded ownage.

And no, its not slow. Its very fast. Applications don't feel like they have been ported. They run like they were meant to run natively.

Which makes me think, why did nokia ever come up with maemo. And if they did, why didn't they try to port the entire linux to maemo instead of having community develop applications from ground up. Its like re-inventing the wheel.

I am still surprised how easy it is to install new applications. Very cool.

The shift key doesn't work right now but this is way way cool to complain about any thing. I do wish that you upload the deb to garage.maemo so its easy to find as times goes.

THis is very cool. And the best thing is nothing has changed on the original maemo. Nothing breaks there. That entire piece is untouched and suddenly we have the entire power of linux at our hands.

Now I only need to figure how to run matlab on this :) (That would be slow!)

Thanks for this pioneering work (every one who has been involved in this ladder, and biggest thanks to Qole for the final HUGE HUGE leap!)

I hope and wish that maemo goes in this direction. There is no need of developing new applications. All they need to do is some how port the entire linux.

ponkwillis
07-08-2008, 09:37 AM
Hi there! Thanks so much for this incredible work!

Two questions:

- Is there a way to input numbers within IceWM using the N810 keyboard?
- Is there another/simpler way to add Applications to the Hildon menu other than:



Also, how do you add the proper app icon to be display in the hildon menu?

Thanks a lot!

Max





There is one really easy way. Use personal menu application for maemo. It basically lets you create your own personal menu. All configuration (really simple) is graphical. You can specify your own command lines to run and it lets you select icons etc.

I use personal menu for giving me an easy shortcut to run one of my scripts that I use for running bluetooth PAN on diablo.

I would think that any application (example sillypoker :)), you can just create the shortcut as 'sudo debian hilda sillypoker' in your personal menu.


In fact, is this true that applications will run faster by running from within plain vanila hildon vs running from within IceWM? (Just because of the over head of extra processes like taskbar, clock, monitor applets and various other desktop related processes).

maxzar100
07-08-2008, 11:03 AM
ok so i installed the old debian installer from you, and then when this came out i uninstalled the .deb and deleted the image file. now this debian installs but does not run. when i load debian in chroot i get the following: Setting up the chroot...
ls: /media/mmc2/debian*.img*: No such file or directory
using image file: /media/mmc1/debian.img.ext2
insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/mbcache.ko': File exists (-1): File exists
Using ext2 file system
insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/ext2.ko': File exists (-1): File exists
mount: mounting /dev/loop0 on /debian failed
.
mount: mounting /dev on /debian/dev failed
..
mount: none is write-protected, mounting read-only
mount: mounting none on /debian/dev/pts failed
mount: mounting /tmp on /debian/tmp failed
...
mount: /media/mmc1 is write-protected, mounting read-only
mount: mounting /media/mmc1 on /debian/media/mmc1 failedmount: /media/mmc2 is write-protected, mounting read-only
mount: mounting /media/mmc2 on /debian/media/mmc2 failedmount: /media/usb is write-protected, mounting read-onlymount: mounting /media/usb on /debian/media/usb failed
....
cp: cannot stat '/debian/etc/resolv.conf': Permission denied
cp: cannot stat '/debian/etc/hosts': Permission denied
cp: cannot stat '/debian/etc/group': Permission denied
cp: cannot stat '/debian/etc/passwd': Permission denied
cp: cannot stat '/debian/etc/pointercal.default': Permission denied
cp: cannot stat '/debian/etc/pointercal': Permission denied
Everything set up, running chroot...
[I have no name!@Debian: /]
please help me

ponkwillis
07-08-2008, 11:26 AM
Also it would be nice if we could choose a bigger space for installing extra applications. Mine shows about 185 megs free. I want to dedicate more space (around 500 megs more) to debian. Is that possible?

qole
07-08-2008, 12:53 PM
Hi guys, you're starting to ask fairly advanced questions now. If you want to make a bigger image file or download the image file to a non-standard location, you're going to have to roll up your sleeves, pop the hood, and start tinkering with the scripts. If you want to do that stuff, it would be best if you went to the other advanced thread (http://www.internettablettalk.com/forums/showthread.php?t=20342). That one has lots of answers to these fairly technical questions.

I was going to post a direct link to the image file, but it seems that my host is down. I hope we didn't bring it down with downloads of the Debian image!

joeD
07-08-2008, 02:50 PM
Qole, thanks for all your hard work on this package, and an equally big thanks to all the affiliated parties involved. This is an amazing feat. I have an observation and a question or two. Firstly, after I installed the easy deb package, ran it and downloaded the debian image, I noticed on my hildon desktop that all my little pop-up dialogue boxes are either in the upper left hand or lower right hand corners now instead of the middle of the screen. I'm not sure if this is normal and it's not that big of deal, just takes some getting used to. Is there a way to get the original way back? I was just curious. Secondly, my question is with regards to the time setting. When you say this:

"Setting the clock to the right time zone: Kilian has the answer! After running the chroot, get a (non-Debian) root prompt and enter the following:"

Code:
cp -a /etc/localtime /debian/etc/localtime

Is this in the Debian root X-term? If so, how do you get a non-debian root after running debian chroot? Sorry for the silly question, I'm learning everyday about this stuff and am totally captivated! Thanks for the help and the incredible application/alternative OS.

ponkwillis
07-08-2008, 02:53 PM
Qole, thanks for all your hard work on this package, and an equally big thanks to all the affiliated parties involved. This is an amazing feat. I have an observation and a question or two. Firstly, after I installed the easy deb package, ran it and downloaded the debian image, I noticed on my hildon desktop that all my little pop-up dialogue boxes are either in the upper left hand or lower right hand corners now instead of the middle of the screen. I'm not sure if this is normal and it's not that big of deal, just takes some getting used to. Is there a way to get the original way back? I was just curious. Secondly, my question is with regards to the time setting. When you say this:

"Setting the clock to the right time zone: Kilian has the answer! After running the chroot, get a (non-Debian) root prompt and enter the following:"

Code:
cp -a /etc/localtime /debian/etc/localtime

Is this in the Debian root X-term? If so, how do you get a non-debian root after running debian chroot? Sorry for the silly question, I'm learning everyday about this stuff and am totally captivated! Thanks for the help and the incredible application/alternative OS.


No this is not in debian root x-term. Forget debian for this. You need to run normal xterm (from Utilities) and there you need a way to become root. There is a package called 'becomeroot' that lets you do 'sudo gainroot' and then you become root on maemo's xterm. There are other ways too and this is just one of the ways.

qole
07-08-2008, 03:10 PM
I noticed on my hildon desktop that all my little pop-up dialogue boxes are either in the upper left hand or lower right hand corners now instead of the middle of the screen. I'm not sure if this is normal and it's not that big of deal, just takes some getting used to. Is there a way to get the original way back? I was just curious.

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.


Ha, I just got told that my message was too short. I guess because it is all quotes.

So I'll post a direct link to the big Debian tarball:

http://qole.maemobox.org/debian-chroot-img-v2.tar.bz2

cfrantz
07-08-2008, 04:50 PM
Thank you for making the Nokia much more useful. Installation was a breeze. I have been waiting a while for something to make the Nokia more than the just a fun gadget.

I do have a couple issues that I am not sure how to work around. When using my iGo bluetooth keyboard with either ABIword or OpenOffice with IceWM, the keyboard defaults to all caps. The only way to make it work is to hold down the shift key while I type for lowercase letters. The Caps lock key doesn't reset to lowercase. When I open ABIword and OpenOffice without running IceWM it defaults to all caps, but when I use the Caps Lock key, I get lower case letters.

I cannot get my Think Outside bluetooth mouse to work in either mode.

I am still playing around with some of the other things. Things look great. Thank you!

qole
07-08-2008, 08:08 PM
Kazehakase is a lighter-weight gecko-based browser. (it still isn't lightning-fast, though) Previously, I couldn't get it to run Java, but I just installed it in this Debian package and it runs Java applets now!

If you want Java in your browser on the tablet, this might be your best bet at the moment.

http://farm4.static.flickr.com/3100/2651451452_f67c2ffedd_o.png (http://www.flickr.com/photos/qole2/2651451452/)

That's the matchbox-keyboard running, by the way. I'm getting pretty sick of the flakey xvkbd. I think the next debian image will have matchbox-keyboard as the default virtual keyboard...

(I also noticed that I had to do an apt-get update before apt-get install kazehakase because they've obviously done a big package update)

jcherepy
07-08-2008, 10:53 PM
Ok, I had to start with a clean (reflashed) N800. I then installed becomeroot and python 2.5. I downloaded the easy-deb-chroot package and set things a-runnin' while I went out to dinner and a club meeting. When I returned, I had a "sucessful install" message on the tablet. Everything seems to work so far, but I haven't had a chance to play with it much. My Apple Bluetooth Keyboard that I paired in Maemo works in Abiword.

Thanks for all of your good work.

Bill

Greyghost
07-08-2008, 11:07 PM
O ack. I was installing and ran out of battery power, so the tablet shut down mid-install. I had downloaded the packages and was installing the debian package. Now, re-booted, xterm opens and runs into an endless loop when I try to install.

Sorry for mesing things up in such a dumb way. Any suggestions on how to get restarted without a re-flash? I deleted the file on my MMC2, but that didn't work:(

qole
07-09-2008, 01:35 AM
O ack. I was installing and ran out of battery power, so the tablet shut down mid-install. I had downloaded the packages and was installing the debian package. Now, re-booted, xterm opens and runs into an endless loop when I try to install.

Sorry for mesing things up in such a dumb way. Any suggestions on how to get restarted without a re-flash? I deleted the file on my MMC2, but that didn't work:(

I've seen that endless loop behaviour before when the tablet didn't have an Internet connection... are you online?

You could download the file manually using this link (http://qole.maemobox.org/debian-chroot-img-v2.tar.bz2) and drop it onto your mmc2, then tell the installer that you want to install there... It will go right into the extraction phase...

What's the xterm saying in its endless loop? You should be able to read it if you open a terminal window and type the following:


/home/user/img-install/installer.sh


When the endless loops starts, hit CTRL-C and then post what it's saying...

D'ohboy
07-09-2008, 01:38 AM
I have a few questions if i create an empty ext2 first partition on my memory card will this deb install the debian image there? If so will debian utilize all the space on the partition, allowing me to download large apps without worrying about running out of space? Or is the size of the image fixed and the size of the partition doesn't matter?

qole
07-09-2008, 10:31 AM
I have a few questions if i create an empty ext2 first partition on my memory card will this deb install the debian image there? If so will debian utilize all the space on the partition, allowing me to download large apps without worrying about running out of space? Or is the size of the image fixed and the size of the partition doesn't matter?

This package downloads a fixed size image file. If you want to set up a more advanced system, post in the Debian chroot thread and we'll help you do it.

Darken
07-09-2008, 12:06 PM
I really love this... I live in Central Europe, so I had no use for map of Alaska and this is great way howto use internal memory card. I don't need ooo or firefox, but I really enjoyd e.g. claws mail with pgp support.

It's amazing. I can just download add sources I found on packages.debian.org and install it. That's exactly what I miss on Maemo.

I would like to know, wether it's possible to merge maemo gui and tools with complete debian.

Greyghost
07-09-2008, 12:21 PM
I've seen that endless loop behaviour before when the tablet didn't have an Internet connection... are you online?

No, I wasn't at the time.

You could download the file manually using this link (http://qole.maemobox.org/debian-chroot-img-v2.tar.bz2) and drop it onto your mmc2, then tell the installer that you want to install there... It will go right into the extraction phase...


Yep, it's working. Hopefully the battery will last this time:)

Thanks, qole, for your help...if a dumb mistake can be made, I'll be the one to do it:rolleyes: Thanks also for expanding the range and possibilities of the IT...I'm looking forward to testing this out!

possessedskier
07-09-2008, 02:57 PM
This has got to be the coolest thing I've seen yet for the tablet! It's installed and running perfectly (except for cups) on my N800.

Should cups printing work without additional setup? I can see and select my network printers when trying to print from AbiWord and Iceweasel, but nothing prints. I can print ok from Penguinbait's KDE.

qole
07-09-2008, 03:02 PM
Should cups printing work without additional setup? I can see and select my network printers when trying to print from AbiWord and Iceweasel, but nothing prints. I can print ok from Penguinbait's KDE.

Thanks for testing cups printing (and samba networking?). I never got printing working with KDE either, so I can't test this myself...

I might have broken something in cups when I removed "foomatic-db" to free up some space.

Try reinstalling foomatic-db (apt-get install foomatic-db) and see if that fixes things...

possessedskier
07-09-2008, 03:16 PM
I'm trying to print to a printer attached to a network print server, which is also reachable as a printer shared by an Ubuntu Linux PC, so it's not using samba (at least I don't think it is). I can cups print to a pdf file.

I'll reinstall foomatic-db and try printing when I get home from work.

Ok... I installed foomatic-db (takes up a lot of space - I hope this isn't the problem and I can take it back out) and tried printing to the printer both via the printer server and the Ubuntu PC. No luck. Trying KDE to see if it still prints...

Yes. Still prints from KDE through the Ubuntu PC... after I manually woke the Ubuntu PC up from standby. Back to Dabian to try again now that the Ubuntu PC is awake...

Still no luck from Dabian. Could old print jobs be hung up in the print queue? Isn't there a way to check the cups print queue using http?

qole
07-09-2008, 06:17 PM
Qole, you should get yourself to the Maemo Summit (http://wiki.maemo.org/Maemo_Summit_2008) (with sponsorship, probably) and do a talk/demo of Debian chroot on top of Maemo.

Hooray! They accepted my sponsorship request!

Alpha4
07-09-2008, 06:37 PM
Hooray! They accepted my sponsorship request!

Congrats! Get the old Passport dusted off.

qole
07-09-2008, 06:54 PM
Still no luck from Debian. Could old print jobs be hung up in the print queue? Isn't there a way to check the cups print queue using http?

I wish I could help you... I just don't know about cups... Where is the cups print queue located on the file system? Maybe I need to bind that directory into the chroot so it is shared? I think there's a cups daemon (EDIT: there is, called "cupsd"), and if you start it in KDE, you probably need to explicitly start / restart it in the chroot so it is using the Debian daemon not the KDE one (which probably knows nothing of Debian's print jobs ... unless we bind the directory)...

Perhaps you should copy your cups config file from KDE over to Debian. That might do the magic...

EDIT: I just looked at this page, it says you can see your cups stuff at localhost:631 (http://www.novell.com/documentation/suse91/suselinux-adminguide/html/ch05s05.html). I opened a Debian chroot terminal, ran "cupsd", and then used MicroB to surf to http://localhost:631...

http://farm4.static.flickr.com/3235/2653500973_2e395480f6_o.png (http://www.flickr.com/photos/qole2/2653500973/)

Does anyone know anything more about cups here?

This is probably a discussion for the "Running Debian in a chroot" thread, since I can see it getting quite technical...

urilabob
07-09-2008, 10:07 PM
Amaaazing! Thanks guys! :)

Two questions:
I've hit an (apparently minor) problem with locales: I tried to set up en_AU locale, which failed, and seems to have now left my locale setup in a bad state (see below). The system still seems to work, but I'd like to fix this and switch it to en_AU if possible. Any thoughts on what I've done wrong/how to fix?

!!!! My mistake: it's still necessary to set the shell environment variables to a legal language (since I had removed en_GB, the initial default to en_GB in qole's setup didn't work). Resetting the shell environment variables to sensible values now works fine.

OpenOffice 2.4 is working, and appears to allow creating text documents, presentations and drawing, but not spreadsheets (that is, they aren't listed in the File/New menu). This could be a confusion on my part - I'm more familiar with OpenOffice 3.0 beta on a mac. Are spreadsheets really missing from 2.4? Do you just create them in a different way in 2.4? Or have I screwed up my installation somehow?

!!! qole explains below how to install the spreadsheet (I guess this should have been obvious to me, I just didn't realise that it deliberately wasn't installed)

Best Wishes
Bob

Results on running dpkg-configure locales:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_MESSAGES = "en_GB",
LANG = "en_GB"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

possessedskier
07-09-2008, 10:32 PM
I ran localhost:631 in microb and was able to view the KDE print jobs and print a test page. I killed cupsd and started cupsd in chroot then ran localhost:631 in iceweasel. No printers or print jobs were listed. I tried installing the printer and it eventually asks for a user or root password. Neither root/rootme or user/rootme worked. What should I use for a username/password?

If this doesn't work I'll take it to the "Running Debian in a chroot" thread as you suggested.

jbb
07-09-2008, 11:21 PM
I am sorry, but how do you use this the only thing that opens at all is icewm thing I have never used anything like this before so I have no idea could you please help with iceweasel and the other things

possessedskier
07-10-2008, 09:10 AM
I am sorry, but how do you use this the only thing that opens at all is icewm thing I have never used anything like this before so I have no idea could you please help with iceweasel and the other things

Run Debian chroot first. It opens a terminal window and runs the chroot setup. After that all the other Debian programs will open in a window in Maemo without running icewm.

Icewm is a window manager with an interface that works similar to MSWindows. The debian button works the same as the Windows Start button. Click it to get a list of installed programs to run.

qole
07-10-2008, 12:23 PM
I am sorry, but how do you use this the only thing that opens at all is icewm thing I have never used anything like this before so I have no idea could you please help with iceweasel and the other things

Iceweasel will take a very long time to open in Maemo if you select it from the menu. You have to be patient. It doesn't have a splash screen with a progress bar like OpenOffice, and it takes at least as long to open.

Run Debian chroot first. It opens a terminal window and runs the chroot setup. After that all the other Debian programs will open in a window in Maemo without running icewm.

Actually the Debian chroot setup runs any time you click on a Debian icon in Maemo, you shouldn't have to open the terminal window at all.

I killed cupsd and started cupsd in chroot then ran localhost:631 in iceweasel. No printers or print jobs were listed. I tried installing the printer and it eventually asks for a user or root password. Neither root/rootme or user/rootme worked. What should I use for a username/password?

The password info is copied into Debian from Maemo. So whatever your root password is in Maemo, that should work here too. If you have never set up a root password, you really should....

skibur
07-10-2008, 12:31 PM
I launch ICEwm, but all I get is a Tree background with the Debian logo in the center. Is ICEwm broken?

murphy
07-10-2008, 12:35 PM
Don't you have a menu/taskbar in the bottom ?

qole
07-10-2008, 12:36 PM
I launch ICEwm, but all I get is a Tree background with the Debian logo in the center. Is ICEwm broken?

There should be a menu/task bar across the bottom, no?

If there's anything weird going on, try a reboot and see if things run better.

skibur
07-10-2008, 01:07 PM
I don't see the menu/taskbar at the bottom. It seems like if it can go into full screen, I might be able to view it. Right now its not in fullscreen. How do I make ICEwm into full screen? The fullscreen button doesn't seem to have an affect on it.

murphy
07-10-2008, 01:13 PM
You have definitively a problem because fullscreen is the only mode available for me.

dan67sf
07-10-2008, 01:21 PM
I had this problem once, not sure why, I reboot the Tablet and it has been working fine since. Not sure if this will fix yours or not but it worked for me.

qole
07-10-2008, 01:36 PM
I don't see the menu/taskbar at the bottom. It seems like if it can go into full screen, I might be able to view it. Right now its not in fullscreen. How do I make ICEwm into full screen? The fullscreen button doesn't seem to have an affect on it.

Yeah, if the window isn't going fullscreen, you should definitely try a reboot. The bottom bar is there, but it is hidden because you shouldn't be seeing it in a window.

Ah, I have an idea! Do you have python2.5 (http://repository.maemo.org/extras/pool/diablo/free/p/python2.5/python2.5_2.5.2-1osso3_armel.deb) and python2.5-gtk2 (http://repository.maemo.org/extras/pool/diablo/free/p/python-gtk2/python2.5-gtk2_2.12.1-1osso4_armel.deb) installed? Because I use a tiny Python script to open the window that the IceWM starts in. If you don't see the window pop open, with instructions about logging out before closing the window, you probably need the Python stuff.

jjg
07-10-2008, 02:12 PM
The installation ran fine, but, after install, certain things no longer show up correctly. For instance, when I hit the power button to bring up the "Device mode" menu, the menu displays in the lower, right-hand corner instead of in the middle of the screen. It's almost as if the device now thinks the screen is larger than it really is.

Also, twice, when running OO, and once, when not running anything, the tablet has spontaneously rebooted. After the reboot, when I run OO, it wants to recover the file I was editing, but the buttons to start the recovery are off the bottom of the screen (but I can get there with a TAB on the iGo keyboard).

I am running on an n800.

Has anybody else encountered these issues?

JJG

skibur
07-10-2008, 02:19 PM
I do have python 2.5 and python gtk, but nothing. I restarted, but nothing. I will try reinstalling it again.

qole
07-10-2008, 02:20 PM
The installation ran fine, but, after install, certain things no longer show up correctly. For instance, when I hit the power button to bring up the "Device mode" menu, the menu displays in the lower, right-hand corner instead of in the middle of the screen. It's almost as if the device now thinks the screen is larger than it really is.

Yes, that's mentioned in the initial post:

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.


Feel free to set it back to the way it was before. I personally found that it takes a bit to get used to, but afterwards, you really grow to like it.

Also, twice, when running OO, and once, when not running anything, the tablet has spontaneously rebooted. After the reboot, when I run OO, it wants to recover the file I was editing, but the buttons to start the recovery are off the bottom of the screen (but I can get there with a TAB on the iGo keyboard).

The OO "document recovery" window is the bane of my existence. They don't make the window into a dialog box (like they should) so you can't just move the window up to get to the buttons. The only way seems to be hitting "tab" on a keyboard (how many times? Trial and error...) and then "enter". It doesn't really matter if you try to recover or not, I found that it invariably fails to recover anyway...

As for the spontaneous reboots, yeah I've had a couple of those too. I think it sometimes happens when the CPU redlines for a while and the watchdog shuts down the tablet to protect it... Or maybe not... I dunno.. :D

qole
07-10-2008, 02:21 PM
I do have python 2.5 and python gtk, but nothing. I restarted, but nothing. I will try reinstalling it again.

Try opening a standard (non-root, non-Debian) terminal and type:

openhostwin.py IceWM


Tell me what happens.

possessedskier
07-10-2008, 02:33 PM
Actually the Debian chroot setup runs any time you click on a Debian icon in Maemo, you shouldn't have to open the terminal window at all.

The first time I started Abiword and Iceweasel after the installation it loaded icewm with no program running. After I ran chroot the first time this didn't happen again.


The password info is copied into Debian from Maemo. So whatever your root password is in Maemo, that should work here too. If you have never set up a root password, you really should....

When cups asked for the username and password I tried root and my root password. I also tried user with no password. Neither one worked.

I'll try copying my KDE cups config file to Debian. If that doesn't work I'll take this problem to the "Running Debian in a chroot" thread as you suggested.

cfrantz
07-10-2008, 02:34 PM
Is there anything I should do to uninstall Debian?

I am having some problems with the Wayfinder Map application (shuts down when I search for a street name, rendering it useless), and I am not sure if the problems occurred after I installed Debian or upgraded to Diablo (did both in the same afternoon).

Will uninstalling clean up the window size problems and return things to opening screens in the middle of the screen?

Will uninstalling cause other problems?

Is there a uninstall procedure?

Searched and did not find anything about Debian deinstall/uninstall.

thanks in advance for any insight you can provide.

qole
07-10-2008, 02:37 PM
Is there anything I should do to uninstall Debian?

I am having some problems with the Wayfinder Map application (shuts down when I search for a street name, rendering it useless), and I am not sure if the problems occurred after I installed Debian or upgraded to Diablo (did both in the same afternoon).

Will uninstalling clean up the window size problems and return things to opening screens in the middle of the screen?

Will uninstalling cause other problems?

Is there a uninstall procedure?

Searched and did not find anything about Debian deinstall/uninstall.

thanks in advance for any insight you can provide.

Uninstall the easy-deb-chroot app from inside Application Manager. Reboot. That should set everything back. If it doesn't, please post here.

jjg
07-10-2008, 02:42 PM
Yes, that's mentioned in the initial post:



Feel free to set it back to the way it was before. I personally found that it takes a bit to get used to, but afterwards, you really grow to like it.

I must have just missed it in your original post. Thanks.

As for the spontaneous reboots, yeah I've had a couple of those too. I think it sometimes happens when the CPU redlines for a while and the watchdog shuts down the tablet to protect it... Or maybe not... I dunno.. :D

Yeah, I pretty much thought that it must have used up all it's resources and lost it's mind. I actually hope that this isn't it, though, because that might mean that there is no fix for it. I would rather believe that there will be a fix down the road.

JJG

skibur
07-10-2008, 03:16 PM
Try opening a standard (non-root, non-Debian) terminal and type:

openhostwin.py IceWM


Tell me what happens.

I get the following:

~ $ openhostwin.py IceWM
Traceback (most recent call last):
File "/usr/bin/openhostwin.py", line 4, in <module>
import hildon
ImportError: No module named hildon
~ $

cfrantz
07-10-2008, 03:19 PM
Uninstall the easy-deb-chroot app from inside Application Manager. Reboot. That should set everything back. If it doesn't, please post here.

qole,
I un-installed and deleted the large file on external memory, rebooted the IT and still have problems with Wayfinder Map. Dumps me out when I try to find an address.

I did get my menu positioning back though! Small victory I guess, since it wasnt that inconvenient.

Will try to figure out what is happening and get that fixed before I reinstall Debian. Thanks for the help

qole
07-10-2008, 03:37 PM
qole,
I un-installed and deleted the large file on external memory, rebooted the IT and still have problems with Wayfinder Map. Dumps me out when I try to find an address.

I did get my menu positioning back though! Small victory I guess, since it wasnt that inconvenient.

Will try to figure out what is happening and get that fixed before I reinstall Debian. Thanks for the help

The menu positioning thing is definitely caused by my package. The wayfinder thing is almost surely not.

qole
07-10-2008, 03:44 PM
I get the following:

~ $ openhostwin.py IceWM
Traceback (most recent call last):
File "/usr/bin/openhostwin.py", line 4, in <module>
import hildon
ImportError: No module named hildon
~ $


Arrrgh! I'm such an idiot! That line ("import hildon") doesn't even need to be there! I will have to fix that for my next release, but if you have a text editor installed, you can get root in a terminal and edit /usr/bin/openhostwin.py and remove that "import hildon" line altogether. It will then work fine.

Alternately, you can install python2.5-hildon (http://repository.maemo.org/extras/pool/diablo/free/p/python-hildon/python2.5-hildon_0.8.9-1osso2_armel.deb) and it will work.

I'm sorry about that stupid bug.

qole
07-10-2008, 03:46 PM
When cups asked for the username and password I tried root and my root password. I also tried user with no password. Neither one worked.

I just set up a new test printer using the web interface to Debian CUPS. It asked me for username and password, and I gave it root and my root password. It accepted them. Are you sure you have a root password set up on your system? If you installed SSH then you would have been asked to make one...

Any new questions about CUPS should be posted in the Debian chroot thread.

skibur
07-10-2008, 04:11 PM
Arrrgh! I'm such an idiot! That line ("import hildon") doesn't even need to be there! I will have to fix that for my next release, but if you have a text editor installed, you can get root in a terminal and edit /usr/bin/openhostwin.py and remove that "import hildon" line altogether. It will then work fine.

Alternately, you can install python2.5-hildon (http://repository.maemo.org/extras/pool/diablo/free/p/python-hildon/python2.5-hildon_0.8.9-1osso2_armel.deb) and it will work.

I'm sorry about that stupid bug.

W00t!!! Nice work qole! I installed python2.5-hildon and restarted my N800 and IceWM works. Respect.

Linux Rulez!

qole
07-11-2008, 12:07 AM
Hey all, I was reminded that I didn't include OpenOffice Calc.

I left it out because we have maemo gnumeric already, but if you want it,
apt-get install openoffice.org-calc

murphy
07-11-2008, 08:26 AM
About OpenOffice, the maemo shortcut lauch it well but the fullscreen one doesn't seem to work...
How does it work? I clicked on it after OO was launched but OO stays windowed.
Also when reduced (and invisible), "Make OO fullscreen" does not make it appear.
Can I start it from xterm to see more messages?

Also there's some weird thing with keyboard in IceWM/n810: Fn keys sometimes don't work and since they work it stays forever!

birneyw
07-11-2008, 08:32 AM
Ok now I have Debian installed (thanks for the easy install) and working properly, now what, im a linux newb. I know about the open office programs, but where should I go from here? Where do I get the thousands of programs?

djf_jeff
07-11-2008, 08:36 AM
I have the same problem as some user here. I installed the deb and the big file and everything went very well, thank you!

After that, I have player with my n810 for 1-2 hours and shut it down. This morning, I boot it and now the dialog don't appear at the center of the screen.

For exemple, the "Selection Connection" for wifi appear at the upper left. The shutdown screen appear at bottom right.

I have not startep anything related to debian this morning before this.

murphy
07-11-2008, 08:39 AM
Ok now I have Debian installed (thanks for the easy install) and working properly, now what, im a linux newb. I know about the open office programs, but where should I go from here? Where do I get the thousands of programs?

Just use the Synaptic Package Manager to find more apps.

I have the same problem as some user here. I installed the deb and the big file and everything went very well, thank you!

After that, I have player with my n810 for 1-2 hours and shut it down. This morning, I boot it and now the dialog don't appear at the center of the screen.

For exemple, the "Selection Connection" for wifi appear at the upper left. The shutdown screen appear at bottom right.

I have not startep anything related to debian this morning before this.

It's explicated in first post:

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.
So it's a mod for moving windows (very cool!) but there are no more centered. Try to drag them!

birneyw
07-11-2008, 08:46 AM
Just use the Synaptic Package Manager to find more apps.





ok thought it would be that easy, just had to find it in the menu's doh, its asking for a pword, back to searching the forum.

djf_jeff
07-11-2008, 08:48 AM
Hum, my bad, I have read the entire thread 2-3 times and missed that. I suppose it's what it do when you read and have your attention on something else (playing with the neat feature on the tablet ;) )

Ok, fine, I will install the hack. But does someone know why it do this? If yes, we can try to solve this problem more "cleanly".

EDIT : does restoring /etc/osso-af-init/matchbox.defs make the Debian chroot continue to work?

birneyw
07-11-2008, 08:53 AM
So I take it to enter a password for the package manager, and owning a N800, I need a keyboard.... doh!

murphy
07-11-2008, 09:52 AM
Ok, fine, I will install the hack. But does someone know why it do this? If yes, we can try to solve this problem more "cleanly".

EDIT : does restoring /etc/osso-af-init/matchbox.defs make the Debian chroot continue to work?

I think that it's necessary for using IceWM...

So I take it to enter a password for the package manager, and owning a N800, I need a keyboard.... doh!
With the Synaptics shortcut in Maemo, password is not asked.
For root password in chroot, it's the same as in maemo. If you haven't configured it (in maemo), try "passwd" in root (with gainroot package, "sudo gainroot").

birneyw
07-11-2008, 10:24 AM
I think that it's necessary for using IceWM...


With the Synaptics shortcut in Maemo, password is not asked.
For root password in chroot, it's the same as in maemo. If you haven't configured it (in maemo), try "passwd" in root (with gainroot package, "sudo gainroot").

doh, didnt check there, thanks! worked like a charm.... now im an installing foo

Benson
07-11-2008, 10:47 AM
Hum, my bad, I have read the entire thread 2-3 times and missed that. I suppose it's what it do when you read and have your attention on something else (playing with the neat feature on the tablet ;) )

Ok, fine, I will install the hack. But does someone know why it do this? If yes, we can try to solve this problem more "cleanly".

No, you're getting it confused. That hack (I personally term it a "tweak", but whatever...) is installed when you install qole's package.
It has 2 effects: Makes all dialogs draggable (highly desirable, since some apps in Debian have dialogs too large to fit on-screen)
Makes all dialogs start up in the corner of the screen. (collateral damage; it's not as nice, but no real harm, since you can always drag them back...)
It takes effect next time matchbox starts; unless you are clever, that just means on the next reboot.

EDIT: Plainspeak translation: No, you won't install the hack; you did that earlier! ;)

As for cleaner solutions, it's just the way matchbox does things; using a different window manager or writing and submitting a patch to matchbox are pretty much the options available...
EDIT : does restoring /etc/osso-af-init/matchbox.defs make the Debian chroot continue to work?Well, the chroot works either way; if you undo that tweak, you're left with dialogs centered, but non-draggable; everything will still work, but you'll run into some dialogs so large you can't reach the OK and Cancel buttons...

djf_jeff
07-11-2008, 11:34 AM
Thank you very much for explaining clearly!

Other small question : If I only run the Debian application in IceWM, I am not affected if I revert back to non dragable screen, if I understand correctly?

Benson
07-11-2008, 11:42 AM
I believe that's entirely correct.

Robotinator
07-11-2008, 03:25 PM
Okay, so I got the package installed and extracted, and got the "congratulations" message, but what do I do now? The debian chroot program is asking for a password that I don't have, and if there's another way to start it up I don't know about it. This is my first time modifying my precious little tablet, so I'm a little confused.

qole
07-11-2008, 05:26 PM
First, reboot after congrats message. I think I'll add that to the install instructions.

Sounds like you need to install some way to get root(like easyroot), or you can try (after rebooting, from X-Term, not Debian chroot):

sudo su -
passwd

Robotinator
07-11-2008, 07:33 PM
Hmm, "passwd" doesn't seem to be working. I also tried "rootme" and just "root". Do you have to put the root password into debian chroot to start the debian programs?

Okay, hold on, this is weird. I used easyroot to change my password, but then anytime chroot (or any other terminal) prompts me for the root password, it does not recognize it. I went back into easyroot, changed it again, same deal. What's going on? What password is it asking for?

migs
07-12-2008, 06:15 PM
Youtube, Google videos do not work in Iceweasel is this normal?

qole
07-12-2008, 11:15 PM
I can confirm that Gnash, the open-source flash player plugin installed in this package, is not up to the task of playing YouTube videos. Thankfully, Adobe Flash was one of the things that Nokia paid the license fees for, and so the built-in browser is fairly good at online Flash videos, and the MyTube app is also very successful.

qole
07-13-2008, 01:06 AM
To close off the printing issue:

Just want to say that Debian CUPS printing works fine. You have to run "cupsd" in the Debian chroot first, but you can use the MicroB browser to set things up (http://localhost:631). For my shared Windows printer, I used "type: raw", the ppd file I downloaded from OpenPrinting (http://openprinting.org/printer_list.cgi), and I set the URI to smb://printerhost/Laser. I sent a test page... Hooray!


Notes:

I did have to re-install foomatic-db for my printer. If you have to use a custom PPD file, then you'll have to reinstall it...
If cups admin refuses your password, try going to the Debian chroot prompt and typing
killall cupsd
cupsd

then try logging in again. That worked for me the one time I had authentication problems.

NEW: Printing complex documents (with pictures) from AbiWord (and probably OpenOffice, etc) will probably require that you increase your temporary space (the /tmp folder) by using this cool trick (http://www.internettablettalk.com/forums/showpost.php?p=185372&postcount=73).

rcadden
07-13-2008, 04:00 PM
Anyone else notice that Canola seems to be hosed after installing Debian? I even uninstalled/reinstalled Canola2, and I can get the blue theme (in fact that's all I get) but I can't get the Last.FM plugin to show up.

SilverHound
07-13-2008, 07:35 PM
Help! I really want to install and use your Debian package, but I cannot proceed because I can't install the three Python packages. When I try to install any of them, I get a message that it is an "incompatible application package."

After having this problem, I re-flashed my N800 to the latest version of Diablo (4.2008.23-14), and left it "clean" with no other apps installed. When I tried to install the Python packages, I got the same message. What am I doing wrong?

I try to install by opening the internettablettalk web page on my N800 and clicking on the links. The package is downloaded, and I am asked "Install Application?", but when I click "OK", I immediately get a message "unable to install <package>. Incompatible application package."

Thanks in advance for any help.

D'ohboy
07-13-2008, 08:04 PM
Have you tried to install using red pill mode?

t3h
07-13-2008, 09:13 PM
As for the spontaneous reboots, yeah I've had a couple of those too. I think it sometimes happens when the CPU redlines for a while and the watchdog shuts down the tablet to protect it... Or maybe not... I dunno.. :D

I think it's when it runs out of memory and gets stuck, as it has no swap..

cfrantz
07-14-2008, 09:10 AM
Anyone else notice that Canola seems to be hosed after installing Debian? I even uninstalled/reinstalled Canola2, and I can get the blue theme (in fact that's all I get) but I can't get the Last.FM plugin to show up.

Yeah, I have the same problem. Actually I cannot get the Last.FM plugin or the YouTube plugin to show up in Canola. I did the whole unistall/reinstall thing as well. Not sure if someone has figured out a workaround to that. I use Canola a lot, and the Last.FM plugin was a nice add. I found myself using that one most of the time unless I was listening to music in my car.

If someone figures out how to get these to work, please post the fix here. Thanks

fatalsaint
07-14-2008, 10:26 AM
For what it's worth.. my Canola2 functions fine and the Youtube plugin still shows up and I'm in a black theme.

N810 running Diablo Rotate Kernel (I think? I've reloaded several times :D)

Kernel: 2.6.21-omap1

But I hope to get Media running in Debian decently.. I prefer the icewm desktop now that I got the keyboard working on the N810. Once I hack the crap out of qole's debian to be perfect in a chroot i'll move it outside his image to boot into it. Maemo FTL :D.

qole
07-14-2008, 01:28 PM
I don't believe that your Canola problems are related to the Debian install. My install makes only two changes to your system, and they are undone when you uninstall the package. If Debian has any impact on your system (you start the print daemon running, for example), a reboot will set everything back to "normal".

Also, fatalsaint, I would suggest partitioning your card to give yourself a big 3+ GB Debian partition, then setting up your chroot there before you do much more hacking. You'll get noticeably better speed and you won't have to worry about resizing your image file.

Also, if you are planning to boot to Debian, don't use my chroot as the basis for your install, use Johnx's bootable Debian.

fatalsaint
07-14-2008, 01:48 PM
Also, if you are planning to boot to Debian, don't use my chroot as the basis for your install, use Johnx's bootable Debian.

Besides the over-written passwd file and resolv.conf files... whats the difference? You used his as a basis for your chroot in your initial how-to's and wiki correct?? So I imagine you used his as the basis for your .img???

Did you strip the kernel and stuff from your image? (haven't checked)

I also noticed that your icewm menu looked a lot cleaner than mine from when I did it manually via your wiki on downloading his .tar.gz, unzip it to a partion, create the scripts manually, etc.. I ran an apt-get install icewm and booted it and it was nice.. but the menu system was cluttered.. was a mess of stuff in there that I had to find.. etc.

Your menu looked cleaner - not sure if that was just software I had loaded or you actually modified it from the original menu.. Looks like you may have added a theme or two as well??

The only projects I really have remaining is getting the Bluetooth pairing to work (i've gotten probably half way).. as well as getting a good WPA front-end and getting wireless stuff to work easily like in Maemo.. after that - debian will be pretty much as functional; with more power; than the Maemo base, IMHO.

geneven
07-14-2008, 02:16 PM
Ok, so I haven't read all thirteen pages of comments; I hope this doesn't duplicate them. I installed and everything worked pretty good. I installed WindowMaker and even getting a terminal to come up was way slow. I installed Foxmarks in Gran Paradiso (why not FF 3.0?) and installation was way slow. In fact, everything was way slow.

I know, you say in the beginning that we need to adjust our expectations. Well, I enjoyed a really good circus trick, running Debian on my N800!

Now that the fun is over, though, I don't see this as being a usable alternative environment.

Is anyone out there going to always run this now? I have the impression that some people run PB's kde environment all the time...

But isn't the only reason to run this in preference to the usual Nokia tablet environment to run programs that haven't yet been ported?

Or have I just not optimized my Debian environment yet? (btw, my desktop computer already runs Sidux, one of the cooler versions of Debian).

fatalsaint
07-14-2008, 02:27 PM
Ok, so I haven't read all thirteen pages of comments; I hope this doesn't duplicate them. I installed and everything worked pretty good. I installed WindowMaker and even getting a terminal to come up was way slow. I installed Foxmarks in Gran Paradiso (why not FF 3.0?) and installation was way slow. In fact, everything was way slow.


How are you launching WindowMaker?? I installed WM when I did the manual chroot installation and had little-no problem with it.. i configured the whole menu system and made the quick launch boxes just like the guy in the Video that used it. Using a terminal was relatively fast..

This debian I have used icewm (the one qole provides).. apt-get can sometimes take a while to get past the initial point.. then runs fine. Synaptic runs extremely slow for me. Firefox runs manageable.. a very long startup time; but once it's up - with the exception of 2 posts today; the rest of my relatively few posts came from within IceWeasel in IceWM. It all appears manageable to me.. This is running XChat and Pidgin from within IceWM as well.. (Why?? Because I don't like switching >.<).

Somewhere around these forums some dude posted a bunch of services you can stop to make android run faster.. I went and played with that (running it all causes IceWM to die because of how qole has integrated it with OS2008.) Shutting down most of those services causes IceWM to seriously increase on speed .. so I imagine if you do a full boot to debian it'll fly at least as fast as maemo.

Right now you need to keep the expectation that you have a 400mhz processor with 128mb ram .. and running debian within a chroot is almost like running a virtual machine with debian on it. Not quite the overhead.. but comparable IMHO. It'll always run a little slow.

qole
07-14-2008, 03:10 PM
Besides the over-written passwd file and resolv.conf files... whats the difference? You used his as a basis for your chroot in your initial how-to's and wiki correct?? So I imagine you used his as the basis for your .img???

No. I used a clean root filesystem. See the Debian chroot thread for more technical info, or for posting questions about how to do it yourself.

I also noticed that your icewm menu looked a lot cleaner than mine from when I did it manually via your wiki on downloading his .tar.gz, unzip it to a partion, create the scripts manually, etc.. I ran an apt-get install icewm and booted it and it was nice.. but the menu system was cluttered.. was a mess of stuff in there that I had to find.. etc.

Yes, I did some manual clean-up to the IceWM menu and stuff. Again, see the Debian chroot thread (the last few pages) for the discussion on that, as I searched high and low for the right files to edit...

after that - debian will be pretty much as functional; with more power; than the Maemo base, IMHO.

Debian certainly has more power, however it is non-optimized for our tablets and so unmodified Debian apps tend to be slow and bloaty on the N8x0...

geneven
07-14-2008, 03:15 PM
I installed wmaker from synaptic in icewm. I'll try it from tthe chroot terminal, or maybe I'll try Fluxbox first.

qole
07-14-2008, 03:29 PM
Ok, so I haven't read all thirteen pages of comments; I hope this doesn't duplicate them. I installed and everything worked pretty good. I installed WindowMaker and even getting a terminal to come up was way slow. I installed Foxmarks in Gran Paradiso (why not FF 3.0?) and installation was way slow. In fact, everything was way slow... Is anyone out there going to always run this now? I have the impression that some people run PB's kde environment all the time...

Things are generally slower this way, for sure. Part of the problem is that, in order to keep things simple for newbies and to disturb as little as possible on the tablet, we're running Debian in (1) a "virtual" chroot filesystem that (2) lives in a mounted image file on a (3) flash memory card with fairly slow read/write speed. If you run an alternate window manager like IceWM, then you're also running (4) a nested X-Server (so, TWO X-Servers) and (5) TWO window managers.

The first thing that will really help your Debian speed is to use the alternate window manager only when you need it. Use the Debian chroot terminal and Synaptic from within OS2008.

There is a noticeable speed improvement if you set up your chroot in its own partition or a folder in your rootfs (if you have a big primary partition). There would probably be another big speed improvement if you were willing to shut down the OS2008 system like penguinbait does with KDE (or like fatalsaint suggests above). But one of the big plusses of this system is that you can keep OS2008 open and run another window manager at the same time, and you can switch back and forth.

I'm working on a new version that will help with this kind of disappointment. For example, my next version will run Kazehakase (or similar) as the default browser, rather than Firefox. Firefox is really just unacceptably slow, and I really shake my head when I think that the whole point of FF was to strip away all the bloat of Netscape / Mozilla. It has ended up being big and bloated again...

Or have I just not optimized my Debian environment yet?

There are some optimization tips in the Debian chroot thread. More are always welcome.

fatalsaint
07-14-2008, 03:33 PM
I'd recommend not launching IceWM at all if you plan to use WMaker and instead modify/copy the debian /usr/bin/xpice script that qole has written.
Change this line:

su user -c 'export DISPLAY=:1; icewm-session'

To something like:

su user -c 'export DISPLAY=:1; wmaker'


And then from the normal Maemo terminal launch: debwm WindowMaker xpice (or whatever you called your copy.)

Or from a debian root shell I think you can just launch xpice... although this discussion probably ought to move to the "technical" one.. since qole is redirecting me there as well :D

qole
07-14-2008, 03:42 PM
I'd recommend not launching IceWM at all if you plan to use WMaker and instead modify/copy the debian /usr/bin/xpice script that qole has written.

And then from the normal Maemo terminal launch: debwm WindowMaker xpice (or whatever you called your copy.)

Or from a debian root shell I think you can just launch xpice... although this discussion probably ought to move to the "technical" one.. since qole is redirecting me there as well :D

I would really recommend making a copy of xpice, call it xpwm or something, so you can run IceWM or WindowMaker as you wish.

Then you can make another menu item for WindowMaker.

But yes, please, further discussion at this level should be in the "techie" thread. I would love to discuss what WM to include in the next version over there, especially if you have strong emotions about why I should ditch IceWM in favour of another... :D

danahyatt
07-16-2008, 03:55 AM
Thanks. I have wanted to install Debian since the first day I received my 810. However now I am hold off because I am more productive and depend on the tablet for many things, daily. Although using OpenOffice and FireFox 3 will be worth the load time. Thanks again.

maillaxa
07-17-2008, 04:14 PM
How can I extend the rootfs ?

Darken
07-19-2008, 12:33 PM
I successfully modifed xmodmap from .icewm/startup file.

But I still have a problem with stylus and applications running in debian chroot. I can't simulate rightclick.

I installed tslib, libgtkstylus and add export GTK_MODULES=libgtkstylus.so into /usr/bin/xpice

Then I tried to start xephyr with -mouse tslib argument, but I got this error message:

Couldn't find pointer driver tslib

It even does not work in debian, where Xomap runs well.

It seems to me, that Xephyr just can't handle pointer drivers, but Xomap can. Is that right?

If yes, I was able to start second Xomap on screen :1. It should be possible to somehow define exotic combination of characters to switch among xservers. Is that right?

Darken
07-19-2008, 10:16 PM
Or, another way I found now: When you don't need IceWM and you only need to launch app on maemo desktop, you should run app this way (in chroot)

export DISPLAY=:0
export GTK_MODULES=libgtkstylus.so
abiword

And right click works fine, at least in Xomap

debernardis
07-20-2008, 01:02 AM
export GTK_MODULES=libgtkstylus.so

Thanks for this neat trick to get right click in gtk apps! Unfortunately, in thoose only it seems.

EDIT: however, quite luckily, new versions of openoffice.org seem to do nicely without the right mouse key, because every menu voice in the right click menu appears to be duplicated in the main menus.

Darken
07-20-2008, 06:39 AM
You are right, I was too busy playing with gtk apps, I forget that are that there are also other widgets :). Anyway, I hope, it will be usefull.

What about the idea with two Xomap servers and switching among then? Does anybody know where this key combinations are defined?

qole
07-20-2008, 07:03 AM
The question is not, "how do I switch between X servers," but, "how do I switch between displays?" I was using Xephyr because it puts a virtual display :1 on top of display :0 ... is there another way to get to :1?

The only other way I'm aware of is starting a VNC server in the chroot and then using maemo VNC from the garage. You can then use the + hardware button as right-click. You can also define a desktop that is vertically larger than the tablet's screen using the -geometry parameter. (I like -geometry 770x770 because you get a single vertical scrollbar when you are fullscreen)

Darken, I am going to include your GTK right-click tip in my next version.

As far as I know, there is no way to simulate right click in non-GTK apps without some kind of hack. Somebody suggested using evrouter from the usbmouse package, others have come up with solutions involving a script that toggles right-click when you press a button, but there really is no nice solution for this. It is a problem that is far bigger than which X server you are using...

qole
07-20-2008, 07:07 AM
The mention of VNC reminds me that I should thank the mysterious "megami" for getting me into the whole Debian chroot thing in the first place, back in January.

Here (http://www.internettablettalk.com/forums/showpost.php?p=121553&postcount=184) is his teaser screenshot post, and then here (http://www.internettablettalk.com/forums/showpost.php?p=122167&postcount=189)'s his explanation post. He even wrote up a wiki article on the subject.

Darken
07-20-2008, 10:22 AM
Well, when you lauch new Xomap server on :1, displays on tablet are change. So you can do something simular like this

in maemo:

Xomap -mouse tslib (--other params) :1

in debian chroot:

export GTK_MODULES=libgtkstylus.so
export DISPLAY=:1
xsetroot
icewm

And you can enjoy maemo X server without xephyr. After you exit :1 server, you are back in default maemo enviroment.

Problem I found:

2] I tried to enable display switch, using xmodmap and I mapped switch signal to +/- button on top of tablet.

keycode 73 = XF86_Switch_VT_7
keycode 74 = XF86_Switch_VT_8

According to xev, action si send, but Xomap ignore it. Maybe it's somehow connected with Xomap paratemer -switchCmd Command to execute on vt switch but I am not able to find more about this argument.

Advantage is, you can use your window manager with stylus support (at least in apps which support them. XFCE and other gtk2 managers should be fine. Who will try to install gnome? ;))

It's quite dirty solution now, I will try to wrap it into some nice script :)

Darken
07-20-2008, 10:30 AM
Darken, I am going to include your GTK right-click tip in my next version.

Then don't forget add libgtkstylus package to default image :o

qole
07-20-2008, 11:20 AM
I tried to start xephyr with -mouse tslib argument, but I got this error message:

Couldn't find pointer driver tslib

It even does not work in debian, where Xomap runs well.

It seems to me, that Xephyr just can't handle pointer drivers, but Xomap can. Is that right?

I did a lot of research (at 3am) on this, maybe you're not using the right format? There are a lot of multi-seat tutorials (http://en.wikibooks.org/wiki/Multiterminal_with_Xephyr) that have a script that can use the -mouse parameter in Xephyr... Everything I've seen suggests that the -mouse parameter doesn't enable any new features (except enabling extra mouse buttons), it just selects between inputs listed here:

cat /proc/bus/input/devices


On the other hand, lots of people seem to be complaining, as you do, of missing support for mouse features, so maybe you're right, Xephyr just won't be able to do it without patches...


Advantage is, you can use your window manager with stylus support (at least in apps which support them. XFCE and other gtk2 managers should be fine. Who will try to install gnome? ;)


Has anyone tried setting up libgtkstylus.so and then running xfce4 on Xephyr? Maybe the problem is the WM?


Anyway, this is definitely a conversation for the advanced thread. :)

Darken
07-20-2008, 11:32 AM
Thank you for your help. It seems that mouse parameter for Xephyr mean something different that mouse parameterThe parameter -mouse tslib works fine for Xomap.

In xomap, the argument port mouse parameter, is mouse driver (touch screen in our case). The xephyr help screen says also:

-mouse driver [,n,,options] Specify the pointer driver and its options (n is the number of buttons)

But in tutorials you sent, they uset input device file instead of driver

Has anyone tried setting up libgtkstylus.so and then running xfce4 on Xephyr? Maybe the problem is the WM?

WM is not the problem, because I was able to use stylus in gtk2 apps in icewm under Xomap :)

qole
07-20-2008, 02:05 PM
@Darken: I'm taking this (very interesting) discussion over here (http://www.internettablettalk.com/forums/showthread.php?p=205060#post205060).

suitti
07-20-2008, 06:32 PM
Woot! I brought up OpenOffice! Took slightly less than forever, but it worked! I created a test document, with multiple fonts and an inserted graphic, and i had OpenOffice rescale it. Text wrap around the graphic. Way cool.

I'm in Iceweasel typing this.

I have an igo bt keyboard for my n800. Works as usual.

To get localtime copied, i went to OS2008 xterm, copied /etc/localtime to /tmp,
brought up a text window in Debian, ran su, which let me be root, and coped /tmp/localtime to /etc. These two don't see the same /etc, but do see a common /tmp. Maybe these instructions were on something other than the first page... But anyway, the displayed time jumped to correct time right away. I should mention that /debian did not show up in OS2008. No idea why not.

delaroca
07-22-2008, 10:44 AM
For a clean unistall, does it suffice to unistall the "easy-Deb-Chroot" package via the Application manager - does it remove all the various 'chroot' bits?

-- Denis

keitai
07-22-2008, 04:13 PM
openoffice.org 2.4.1-6 migrated to lenny (testing today). It features added java support (for reports, jdbc connectivity etc). Effectively Openoffice for armel is now featurewise identical to x86/amd64 versions. If this new version is significantly slower than the previous version, please note and we can revert this change.

Also, if you want to reach more debian/armel users, you should use debian-arm@lists.debian.org mailing list, this forum will only reach a small subset of users ;)

rwijnhov
07-23-2008, 03:03 AM
HI I have a problem. Everything works fine except iceweasel, abiword, and synaptics package manager. Iceweasel and abiword won't startup. Not even after waiting more then 15 minutes. And when i open synaptics package manager all is see is blocks instead of text. So i believe something is not ok. Anyone know how to fix this? I am a bit of a newbe on linux.

delaroca
07-24-2008, 11:17 AM
In trying to convert a 248 KB .doc file to .pdf using OpenOffice, I end up with the following error message "Error saving the document xxxxxxx / Resource Exhausted / No more space on device."

Would this shortage of temporary storage be within the Debian image file being used for chroot?

-- Denis

fatalsaint
07-24-2008, 11:20 AM
My guess would be memory or img/hard drive space.

qole
07-25-2008, 08:04 PM
In trying to convert a 248 KB .doc file to .pdf using OpenOffice, I end up with the following error message "Error saving the document xxxxxxx / Resource Exhausted / No more space on device."

Would this shortage of temporary storage be within the Debian image file being used for chroot?

Yes, this is because your /tmp is too small. I'm fixing this in the next release, but you can fix it with this command (http://www.internettablettalk.com/forums/showpost.php?p=185372&postcount=73).

qole
07-27-2008, 04:15 PM
Hey all,

I've updated the easy chroot package today to version 0.6.

EDIT: DOWNLOAD FIXED NOW

easy-deb-chroot-0.6-2_armel.deb (http://qole.maemobox.org/easy-deb-chroot-0.6-2_armel.deb)

The Bundyo-Benson-Build

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)


This package does NOT update the big Debian image file. Don't re-download the big package if you've already done so.

* Extra Debian Packages You'll Want To Install Manually:

In order to get tap-and-hold right-click in IceWM AbiWord, you need to run the "Debian chroot" menu item in OS2008 and enter the following:


apt-get -y install libts-0.0-0 libgtkstylus


To use kazehakase (a faster, lighter-weight browser with Java support) as your browser, you need to run the "Debian chroot" menu item in OS2008 and enter the following:


apt-get -y install kazehakase


If you have errors about not finding things when trying to do either of the above installs, you need to do this first, then try again:


apt-get update


IceWM config files:
The /home/user/.icewm/ folder now contains some IceWM config files. the "toolbar" file lets you change the "quick launch" buttons, and the "prefoverride" file has a few settings changed so you can learn by example.

For the future:

These things will be automatically in place (along with the updated full OpenOffice, working sound, etc) in the next big Debian file download, but I want to see if we can get some other aspects ironed out before doing that big update and forcing everyone to download the big package again. I'm hoping we'll be able to make a "Debian patch" package that will update and install any needed packages in your existing image so you won't have to download again...

EXTRA NOTE:

Please see this post (http://www.internettablettalk.com/forums/showthread.php?p=208065#post208065) for more important information!

firstohit
07-27-2008, 05:42 PM
I didn't have to download the big image file. However, when I chroot now it asks me for password. I tried "rootme" but it didn't work. Is there a way to rest the password?

qole
07-27-2008, 06:00 PM
I didn't have to download the big image file.

Why not? This package will not work unless you either download the big image file or you change the settings in /home/user/.chroot to point to another file system that you can chroot to.

qole
07-27-2008, 06:05 PM
When i open synaptics package manager all is see is blocks instead of text.

This sounds like you may have a language / locale problem. Please see the first post about running "dpkg-reconfigure locales" to set your language correctly.

Everything works fine except iceweasel, abiword, and synaptics package manager. Iceweasel and abiword won't startup. Not even after waiting more then 15 minutes.

I wonder what does work. Anyway, try this: click on the "Debian chroot" menu item, and when you get to the prompt, type "hilda abiword" and see what happens. Report any errors you receive.

rwijnhov
07-28-2008, 03:31 AM
Ok tried it when ik run hilda abiword I get a whole lot of gtk-critical** errors.

qole
07-28-2008, 10:44 PM
I need more information than that. What was the error that caused abiword to fail? Usually that's the last error.

qole
07-28-2008, 11:35 PM
Hey all,

Here's the fixed Easy Debian install file.

The Bundyo Benson Build 0.6-2:

easy-deb-chroot-0.6-2_armel.deb (http://qole.maemobox.org/easy-deb-chroot-0.6-2_armel.deb)

Please see my earlier post (http://www.internettablettalk.com/forums/showthread.php?p=207644#post207644) for the details.

This version has two small extras.

It now ensures that all GTK-compliant apps (including AbiWord and IceWeasel, but sadly, not OpenOffice) will use tap-and-hold as right-click if you execute (once) the following in the Debian Chroot prompt:


apt-get update
apt-get install libts-0.0-0 libgtkstylus


I have also included a configuration file for powerlaunch (http://powerlaunch.garage.maemo.org/), so if you install the powerlaunch .deb (https://garage.maemo.org/frs/download.php/4220/powerlaunch_0.8-4_armel.deb) and then reboot, you can press the power button and then another hardware button to do a couple of useful Debian-related things:

power-fullscreen: toggles ANY app between fullscreen and window, including all Debian apps (even the IceWM window).
power-menu: pops up / hides the matchbox keyboard, useful for typing into non-Debian apps (or the maemo AbiWord beta version ;) )


(Those who already have a ~/.powerlaunch/powerlaunch.conf file can rest easy; I copy your file to powerlaunch.conf.orig so you can either combine the two files or replace my file with your one.)

jhford
07-29-2008, 08:33 AM
It now ensures that all GTK-compliant apps (including AbiWord and IceWeasel, but sadly, not OpenOffice) will use tap-and-hold as right-click if you execute (once) the following in the Debian Chroot prompt:


apt-get update
apt-get install libts-0.0-0 libgtkstylus




Great. But what's the chroot password?

Benson
07-29-2008, 09:07 AM
That's the wrong question. ;) There's no such thing as a chroot password.

Are you looking for the root password or the user password of the Debian system?

delaroca
07-29-2008, 09:11 AM
Just curious. When "Easy Debian" is installed, [Hildon] 'transient windows' are displayed always anchored on the upper left corner of the screen... instead of appearing "centered" on the screen. What causes this?

Benson
07-29-2008, 09:19 AM
Not anchored, they just start there. There's one setting for dragability, but turning it on disables all automatic positioning, even on initial placement; hence all dialogs start at 0,0.

dan
07-29-2008, 05:28 PM
upgraded to the latest Bundyo/Benson build and everything loaded properly. Then I tried to add openoffice.calc and the libraries for openoffice.core are off. I keep getting errors for the library. I've tried to reload, fix broken packages and reboot. No luck. Anyone get the same problem?

Edit: FYI, started getting 'configure -a' messages in synatic manager and knew it was time to redo so I removed and reloaded Debian.
If you install a dual boot with a swap file keep Debian off that card. Causes major conflicts.

This is the way Nokia should go. Start with a small bundle and let users build on that. I wonder if KDE can be done like this. I enjoy going between Debian and Hildon. I created a large swap file and I can now run several apps at once without choking memory of N800. I need to learn more about swap.

P.S. Anyone know where the hidden Debian files reside? Also can the 1gb downloaded file be removed once Debian is installed? I'm showing 2gb on my card after download and install. TIA

migs
07-29-2008, 08:08 PM
Anyone know if there is an updated flash player plugin for Iceweasel aka Firefox 3? I still can't play flash movies in webpages, I like watching News clips...

firstohit
07-29-2008, 11:14 PM
I love the debian environment. Can I try other enviroments as well?

I have some comment on the new debian. The matchbox keyboard does not help inside the debian environment. Instead I have to use the virtual keyboard and use focus. Can this be fixed?

When I am inside debian what is the root password? when using passwd to change it it asks for current password? How to obtain root privileges inside debian to install packages.

possessedskier
07-30-2008, 08:49 AM
Hey all,

Here's the fixed Easy Debian install file.

The Bundyo Benson Build 0.6-2:

easy-deb-chroot-0.6-2_armel.deb (http://qole.maemobox.org/easy-deb-chroot-0.6-2_armel.deb)




The link to the deb file doesn't work:
"The requested URL /easy-deb-chroot-0.6-2_armel.deb was not found on this server."

Edit: Now it is. Thanks.

BrentDC
07-30-2008, 01:10 PM
I may be a bit late to the Debian party, but I just wanted to say...

http://i269.photobucket.com/albums/jj67/BrentDC2/screenshot03-2.png

(yep, that's The GIMP :cool: ).

This is freakin' awesome!

delaroca
08-01-2008, 11:47 PM
I had installed the previous version of easy-deb-chroot, then uninstalied it, ncluding deleting the debian image file... upon re-installation of the newer version 0.6 everything goes fine except that the debian image file is not fetched / installed. Something must still be around from the previous install. Any suggestions what to look for and clean by hand?

--denis

jhford
08-02-2008, 09:36 AM
That's the wrong question. ;) There's no such thing as a chroot password.

Are you looking for the root password or the user password of the Debian system?
Both.
Thanks

qole
08-02-2008, 11:46 AM
If you want root access in Debian, just run the 'Debian chroot' menu item in OS2008. It will not ask for a password. If you want to install software via Synaptic, use the 'Synaptic Package Manager' menu item.

The root and user passwords in Debian are the same as your OS2008 passwords. If you don't know what they are, don't try to get root in IceWM.

The Debian Image Installer just downloads and 'unzips' a big file on your memory card. It might have problems if you aren't connected to the 'Net, or you don't have enough space... Please post specific errors.

And I really don't think the open source Flash player will ever be as good as the one we have in the OS2008 browser.

jhford
08-02-2008, 12:31 PM
If you want root access in Debian, just run the 'Debian chroot' menu item in OS2008. It will not ask for a password.
It does ask for a password on my N810.

qole
08-02-2008, 12:43 PM
After installing the easy chroot .deb and rebooting, your tablet should not ask for root password anymore, since I added a line to sudoers that lets you type, 'sudo <command>' and it will run any command without root password.

Perhaps you have some sudo / gain root package installed that specifically enables the root password?

jhford
08-02-2008, 07:17 PM
Perhaps you have some sudo / gain root package installed that specifically enables the root password?
I had Rootsh installed, but I uninstalled it and rebooted. It still asks for a password. When I click enter, it closed Debian chroot.

firstohit
08-02-2008, 09:01 PM
In my case. I am having trouble using the keyboard in the debian ICEWM. I can't get the virtual keyboard to work. I doesn't load today. before when I use it it closes the terminal or the keyboard. I started to have this problem after I installed the new deb. The old one worked fine.

Underscore
08-02-2008, 09:26 PM
I had the same problem as firstohit. Just switch to matchbox/hildon and tap a text box. Leave the matchbox keyboard up in matchbox/hildon and then switch to the chroot.

firstohit
08-02-2008, 09:32 PM
I had the same problem as firstohit. Just switch to matchbox/hildon and tap a text box. Leave the matchbox keyboard up in matchbox/hildon and then switch to the chroot.



I didn't understand your instructions. There are 3 keyboards in the virtual enviroment. Virtual from tools and the one on taskbar then there is the one with the addon.

I am inside the debian lets say ABIword how to switch to chroot?

Underscore
08-02-2008, 09:34 PM
Ok, sorry firstohit. Nevermind. I thought you were having a different problem. :|

qole
08-03-2008, 03:32 AM
It does ask for a password on my N810.

This just happened to me too!

I was upgrading the easy chroot package on my Diablo partition.

I fixed it by:

uninstalling the easy chroot package
rebooting
installing the easy chroot package
rebooting

qwerty12
08-03-2008, 04:40 AM
Just a note, rootsh doesn't touch the sudoers file ;)

qole
08-03-2008, 01:01 PM
Just a note, rootsh doesn't touch the sudoers file ;)

Yes, it is clearly a problem with the install scripts in my package... :(

qwerty12
08-03-2008, 01:04 PM
I experienced no problem using this but I'm using anpaza's sudser which gives me nopasswd to all things anyway :)

keitai
08-04-2008, 09:39 AM
Now in debian/armel unstable:

icedtea-gcjwebplugin + openjdk-6-jre

This gives a browser java plugin based on the official opensourced java, and makes some java applications run than on the gcj/classpath based java. JOSM (http://wiki.openstreetmap.org/index.php/JOSM) would especially be interesting, but I think it might work quite bad without right mouse button.

murphy
08-06-2008, 10:11 AM
I've updated to the last "easy debian chroot", the keyboard works fine in icewm except the FN key which seems inactive.
I've a french N810, any idea ? (maybe just some mod in Xmodmap-debian?)

fatalsaint
08-06-2008, 10:16 AM
NVM.. didn't notice French keyboard.. I have no idea

debernardis
08-06-2008, 10:24 AM
@Murphy: yes, xmodmap works, you can find a thread in the Debian section of these forums with English and Italian .xmodmap files, and start from those to make a French version (and publish it if you want for other francophones).

qole
08-06-2008, 12:11 PM
@Murphy: yes, xmodmap works, you can find a thread in the Debian section of these forums with English and Italian .xmodmap files, and start from those to make a French version (and publish it if you want for other francophones).

As I've mentioned above, I'm using fatalsaint's english .Xmodmap file (yes, capital X) in the latest version. You can modify that to your liking. I will be honest, since I don't have an 810, I can't test this part; I only assume it is working because it runs and it gives no errors :)

fatalsaint
08-06-2008, 12:30 PM
As I've mentioned above, I'm using fatalsaint's english .Xmodmap file (yes, capital X) in the latest version. You can modify that to your liking. I will be honest, since I don't have an 810, I can't test this part; I only assume it is working because it runs and it gives no errors :)

But would someone have to re-download the image to get that?? or does the installer automatically add the lines to the IceWM startup file.. or does the scripts run Xmodmap when you launch IceWM??

If someone already has the other image, just downloads the new scripts, and run it - I don't think the Xmodmap will work without some manual work.. but correct me if I'm wrong.

qole
08-06-2008, 12:39 PM
But would someone have to re-download the image to get that?? or does the installer automatically add the lines to the IceWM startup file.. or does the scripts run Xmodmap when you launch IceWM??

If someone already has the other image, just downloads the new scripts, and run it - I don't think the Xmodmap will work without some manual work.. but correct me if I'm wrong.

Since the .Xmodmap and .icewm/startup files are in the /home/user directory, not in the image file, they are no problem to update. Like I said, I would need someone with an English-keyboard N810 to test things to make sure they work beyond simply not giving any errors :)

fatalsaint
08-06-2008, 12:46 PM
http://www.fangamers.net/images/smilies/wallbash.gif I keep forgetting that dang home drive thing. I don't do this so it's hard for me to keep track.

I'm quite sure it works as long as the startup file is there; and has "#!/bin/sh" at the top of it... worked for me every time.. even in chroot. I think his problem is probably the different keyboard then.. I don't know what keyboard a "french n810" has.. whether it's azerty, qwerty, or any other odd erty :).

murphy
08-06-2008, 12:52 PM
It's not just a translation problem, the FN key didn't do anything!
a => a
FN+a => a

I tried this :
sudo gainroot
mv /debian/usr/share/X11/xkb /debian/usr/share/X11/xkb.bak
cp -R /usr/share/X11/xkb /debian/usr/share/X11/
and it works like an english keybord :)
EDIT: (there was no /debian/usr/share/X11/xkb !)

I'm now trying to find some signs that are on my keyboard (ê, ç, µ, §).
Any idea where to find correspondance ?

PS: french keyboard is azerty :)

fatalsaint
08-06-2008, 12:55 PM
Wow.. so Apparantly that fix works for more than just the odd keyboard behavior I had.. I shall update my original post to include it if experiencing difficulties..

qole
08-06-2008, 03:16 PM
Thanks murphy! I'm glad that someone with an N810 using the chroot image was able to tell me what was missing... That xkb copy is another cool bit to add to the next version!

murphy
08-06-2008, 03:50 PM
I've finished my french .Xmodmap-debian and keyboard works even better than in OS2008 :)
http://www.internettablettalk.com/forums/showpost.php?p=210915&postcount=32

Picklesworth
08-09-2008, 12:39 PM
Sorry if I am repeating something (tried a thread search!). How exactly is that nested x session working with IceWM here? I want to have the same thing for XFCE. I have been able to get it replacing my Hildon desktop by accident after killalling the existing desktop, but I can't for the life of me get it to exist inside of a window.

Could we get a login manager to appear in an xnest, which I believe would make choosing desktop environments (and their respective window managers) super easy? For example, Ubuntu has a default menu item for "New Login in a Window", which runs gdmflexiserver --xnest.

qole
08-09-2008, 06:15 PM
I've answered that question several times, most recently in this thread (http://www.internettablettalk.com/forums/showthread.php?p=211861#post211861). If my answer over there isn't good enough, join in the discussion over there 'till you get it working.

Stskeeps
08-23-2008, 08:36 AM
Well. I've recently added some interesting things into my installer for Deblet. First off, an installer that runs on tablet with an actual GUI for most questions and stuff (using zenity).

During the last nights I've implemented another interesting thing, which i'll just write as the steps it's done in the installer..:

* Utilities->Install Deblet (icon, woo)
* Select Deblet environment to install - it would be possible to have specific chroot environments where you could "upgrade" to bootable by apt-get install nit-env-stskeeps for instance :)
* Select Debian mirror
* Where would you like to install Deblet to?
* Simple but slow - A file on one of my FAT filesystem memory cards
* Advanced but fast (recommended) - To a partition on one of my memory cards

What's interesting is obviously the Simple but slow option :)

Next steps:

* Which MMC would you like to place the image file on? (select mmc1, mmc2)
* Do you already have a file /media/mmcX/deblet.img?
* Yes, don't create an image file
* No, please create an image file

If yes:
* How big would you like the image file to be? (choices 1024,1536,2048,3072,4096mb)

* Would you like to:
* Mount the file /media/mmcX/deblet.img as ext2
* Make a ext2 filesystem in /media/mmcX/deblet.img
* Mount the file /media/mmcX/deblet.img as ext3
* Make a ext3 filesystem in /media/mmcX/deblet.img

* Standard procedure from here on, where would you like to get Deblet packages from.. debootstrapping, installing environment..

At finish, which is the interesting part:

* Making /media/mmcX/deblet.img.linuxrc - wait, what's this? It's a boot script that boot menu (my latest patches towards fanoush's bootmenu with lbt's bootmenu.d idea, linuxrc and loopback device in /dev) can boot. It'll go in, mount the deblet.img file loopback and just start up the traditional deblet boot phase - like it was run off a partition!

* Copy in a busybox_mount (newest version that actually does loopback compared to initfs one....) to /media/mmcX. I know this is a noexec filesystem (since it's vfat)

* Set up a bootmenu.d boot item, that inserts Deblet-in-a-file on mmcblkXp1 item in bootmenu. It mounts mmcblkXp1 as vfat, without noexec, so we can run busybox_mount in deblet.img.linuxrc (linuxrc also makes sure it is mount -o remount,noexec afterwards). It also tells boot menu to load ext2/ext3 modules depending on which image type was selected

* Like with normal install, refresh_bootmenu.d, and reboot. Voila, Deblet-in-a-file.

So, how is this interesting for Easy Debian?

Well, obviously this process can have default answers so it's maybe a 1-2 step process (select debian mirror, select MMC to install to).

What's also interesting is that we can have a simple way to insert scripts in Maemo that allows for chrooted Deblet easily - both in file and partition. And if a user wants to boot into "real" Deblet with same setup, it's a matter of rebooting and using the bootmenu item that points to the same Deblet image as he's chrooting into. It being Deblet, also gives us the infrastructure to add specific packages supporting chroot environments and easy installation.

Current problems with installer:
* Restricted to vfat when it's deblet-in-a-file - and I'm not sure when booted that it's possible to access the files on the MMC "outside" the .img file
* Should also be possible to install into a directory on a ext2/ext3 partition with same way of having a two-stage linuxrc like deblet-in-a-file has it

Future ideas:

* Something alike Personal Menu in Maemo that retrieves Debian menu items and automatically has them with wrappers to run them in the chroot and show in Maemo.

Any comments are welcome.

qole
08-25-2008, 06:15 PM
Interest in the Easy Debian project has definitely waned; I'll probably do one more release of the .deb file with fixed-up scripts before the Maemo Summit, and, along with the .deb, one more version of the big image file with all the results of peoples' feedback put into it so that it will be the best install I can make. Hopefully after that, Stskeeps and co. will smoothly transition everyone over to deblet.

BrentDC
08-25-2008, 06:37 PM
Have you considered uploading Easy-Debian to Maemo-Extras? Ok, it may not be the most polished software around, but it's not that experimental. I'm sure you'd get a lot more interest that way...

qole
08-25-2008, 07:22 PM
Well, it's not a case of "polished" so much as it isn't something you just click on in App Manager to "give it a whirl" ... You have to know what you're getting into... On the other hand, with no dependencies anymore, perhaps I should add it to Extras and let people vote with their downloads...?

BrentDC
08-25-2008, 08:59 PM
Sounds like prudent thing to do. It can't hurt.

grog
08-26-2008, 08:45 AM
Definitely put it into the extras. I for one just got on board with it & haven't had a problem yet. Would hate to see it go away ;(

fatalsaint
08-26-2008, 10:06 AM
I don't think it's "going away" so much as merging with Deblet.. The Deblet project is making it's installer slowly allow the same kinds of options as Qole's as far as the Image File is concerned.. Qole needs to keep a package around that installs the Chroot scripts though.. those are vital.

Also need some way for Qole to add the 1 required debian script (xpice) into deblet where ever it gets installed to.. (maybe prompt the user, qole?).

Qole's easy debian is unbelievably useful.. if anything is lacking in the debian side I can always boot into Diablo; and fireup debian over the top of it.. and just use maemo for the missing pieces. But at the same time.. maintaining two different debian images seems a little redundant.

meizirkki
08-26-2008, 10:30 AM
I have been tested Gnome with both deblet and easy-debian (using ext2 partitions)

When i was using Gnome Deblet i had 90-110 mb swap, and it kept lagging and rebooting all the time. But with Easy Debian I was able to use Gnome and KDE 4.1 without loosing my mind. And i did not even have a SWAP. Why? Does anybody know why easy debian is so much faster?

fatalsaint
08-26-2008, 10:44 AM
I still think it's Xephyr with Maemo's device management takes up less memory than Xomap and debian controlled services...

I get worse battery life leaving Full Deblet running than I do with Maemo too.. so I think Debian in and of itself is just "bulkier" and thus it bleeds through to the WM.

qole
08-26-2008, 12:21 PM
Just to clarify, in my mind, Easy Debian is the chroot scripts. The big image file is completely replaceable with any root file system. You can use deblet, Ubuntu, Red Hat, OS2007, whatever.

And I wasn't saying that I was going to let the scripts "go away," I was just hoping that my next round of scripts will be sufficient to carry over to the new world of deblet.

Texrat
08-27-2008, 12:10 AM
This little venture deserves an award.

You are hereby entitled to 500 antiqolling points to be used at your discretion. Each point subtracts from one (1) qolling post.

Enjoy.

qole
08-27-2008, 12:20 AM
That should keep me going until next week.

Texrat
08-27-2008, 12:35 AM
Sorry, man-- current exchange rates suck.

qole
09-11-2008, 01:36 AM
Hoo boy! The image file for the "Final" version is substantially larger than the previous one.
This is despite the fact I'm not installing Abiword (we've got it for Maemo now), nor CUPS printing (printing from the tablet always struck me as a circus trick). I'm not sure what exactly is making it so much larger, but I suspect the fact I'm using the "real" open Java JDK (instead of gcj), as well as the much nicer (and, it would seem, much bigger) JXDE LXDE window manager instead of IceWM. I am also including Gimp, since that seems to be the most-installed app in Debian.

Well, when I release the new version, you can continue to use the older, smaller image, or you can use the new image, it will be up to you. I think the improvements in the new packages will be worth it.

qole
09-15-2008, 01:00 AM
Ok, I managed to get the file system size on my new image down below a gig, and I enlarged the image file to 1.1 GB, for a little bit more "head room".

I've uploaded the new big image file, but I still need some more time to get my .deb all put together. But you can start downloading now, in preparation for the imminent release of the Easy Debian Final package.

It has working sound, Adobe Flash, "real" Sun Java (http://openjdk.java.net/) (openjdk-6-jre (http://packages.debian.org/sid/openjdk-6-jre)), Gimp, LXDE, etc. It really feels like a finished, functional system. I think you'll like it.

Make sure you have the space, and then...

Download now! debian-chroot-img-final.tar.bz2 (http://qole.maemobox.org/debian-chroot-img-final.tar.bz2) (314MB download, 1.1GB uncompressed)

BrentDC
09-15-2008, 11:13 AM
Great work as always, qole. When you get a chance, could you upload a debian-chroot-apps-final.tar.bz2? You know, just the contents of the ext2 image in a tarball like last time. Thanks.

qole
09-15-2008, 12:04 PM
Of course. It just takes so long to upload each big file... I'll try to get to it...

adamboy007
09-15-2008, 02:02 PM
I maneged to install easydeb chroot on my n810 though the applications work the icewm doesn't load properly.....I made a video to demonstrate this "problem" (not a good quality......I loaded icewm.....: http://data.hu/get/625563/n810.3gp.html )......thanks for your help

qole
09-15-2008, 02:26 PM
Looks like I'm not going to get the new Deb done before I get on a plane for Berlin. The good news is that I'll probably have it ready by the time I step off the plane.

jiiv
09-15-2008, 03:45 PM
I haven't messed around with the chroot scripts yet, but I'm thinking I may lean that way in the near future.
Have fun over there-Berlin's a wonderful city. I highly recommend that you check out http://www.berlinerunterwelten.de/ if you have any free time- lots of neat history, and the tours (some of which are available in english) are only a few euro. Also be sure to eat your fill of schnitzel & wursts, and if you get tired of indigenous cuisine you should try a Döner kebab (like a gyro, but...better).
BTW, anyone know if they are planning to stream any of the presentations at Maemo Summit 2008? The wiki page seems mostly focused on people who are actually attending; I'd love to follow from home if they made anything available.
Edit: I did see some references to making audio and some video available after the fact, which I suppose is almost as good. Looks like they nixed any streaming media :/

meizirkki
09-16-2008, 03:57 PM
I am using debian chroot from ext3 partition, and i downloaded the "basic-debian-chroot-fs.tar.bz2". i want to try jxde, but i got no results with "apt-cache search jxde". How to install jxde?

moshing
09-17-2008, 08:40 AM
re:If it doesn't work: You need Python and PyGTK to open the window in OS2008.

can you please expand, in the application manger i have
python-elf-core-demo
python-pygtksourceview
python2.5-abook
python2.5-edje-demo
python2.5-pygtksourceview
python2.5-pyinotify
python2.5-pysqlite2

and re the pygtk i can only find a pygtkeditor

which are the ones i need? or do i justinstall them all?

already installed is the python-launcher but nothing to do with the pygtk?

help

meizirkki
09-17-2008, 09:58 AM
...as well as the much nicer (and, it would seem, much bigger) JXDE window manager instead of IceWM...

What did you mean ? JXDE? Never heard... :confused:

fatalsaint
09-17-2008, 10:42 AM
http://lxde.org/screenshots.html

He meant LXDE ( I believe )

meizirkki
09-17-2008, 03:57 PM
okay. thank you!

Just installed and it looks nice, lightweight.

meizirkki
09-18-2008, 12:25 AM
One problem, LXDE does not save any changes in the UI, like wallpaper, panel, etc... ?

fatalsaint
09-18-2008, 10:01 AM
I would think this is a permissions problem?? Seemed to save for me IIRC... what is the output of:

ls -la /home/user/.*

meizirkki
09-18-2008, 10:58 AM
Right now i am reinstalling my whole debian (again) because when i was installing audacity tablet done something stupid and i had I/O errors.

I think that the problem with lxde was this:

I installed hildon desktop to my debian (just trying) and of course it used my maemo settings and because of that it did not work, even if i created a new user to run it (and i set it to my default chroot user) then i installed lxde, and started it with still using the same user i created for hildon. aferwards i deleted that user and set user "user" to default chroot user. I think lxde did not save settings because of that huge mess i made just for trying hildon. moblin environment would be cool, but hildon tries to use same settings that maemo uses, and i guess that moblin is not yet ported to armel.

fatalsaint
09-18-2008, 11:19 AM
Your /home/user/.* settings are probably all messed up. You want them to be user:user for permissions.. the Easy Debian uses the same /home/user as maemo.. so by just making a new user wouldn't change that it would still try and use /home/user's home directory in maemo.. thus the new user wouldn't have rights to it's own home drive.. If I'm understanding you correctly.

meizirkki
09-18-2008, 12:06 PM
I speak bad english, sorry. Maemos hildon still works, but the hildon-desktop i installed to my debian did not work because it tryes to load same settings that maemo uses. Thats why i created new user named "hil" to my debian environment, hoping that because its own home-directory, it would not try to load maemos settings.

btw, i am not trying to use hildon in my debian any more.

I just installed the whole debian again, because dpkg vines about I/O errors in some files (i was not able to install any stuff).

And LXDE still does load "original settings" every time i start it.

But it sometimes shows this error:

GTK+ icon theme is not properly set

This usually means you don't have an XSETTINGS manager running. Desktop environment like GNOME or XFCE automatically execute their XSETTING managers like gnome-settings-daemon or xfce-mcs-manager.

If you don't use these desktop environments, you have two choices:
1. run an XSETTINGS manager, or
2. simply specify an icon theme in ~/.gtkrc-2.0.
For example to use the Tango icon theme add a line:
gtk-icon-theme-name="Tango" in your ~/.gtkrc-2.0. (create it if no such file)

NOTICE: The icon theme you choose should be compatible with GNOME, or the file icons cannot be displayed correctly. Due to the differences in icon naming of GNOME and KDE, KDE themes cannot be used. Currently there is no standard for this, but it will be solved by freedesktop.org in the future.

So, it seems to be problen with xsettings manager, witch is propably not running?

HowHH
09-18-2008, 01:09 PM
Qole, fatalsaint, in another thread suggested you would be the best one to ask the following question. I installed the Easy Debian 6-2 .deb file. Installation went without a problem, and seems to be running well; my N800 is becoming more of a pocket-sized laptop replacement. I notice that you have a more recent 9-1 .deb file up and I am wondering what advantages does this version offer over the previous?

meizirkki
09-18-2008, 01:17 PM
Fatalsaint, you were right.
it was a permission problem. LXDE did not have any permissions to .config...
I did not post output of that command, because it was lo large that it doest fit in two replies.
Thank You :)

HowHH, i installed the latest chroot .deb and i think it has the latest scripts, with some speed hacks etc...

fatalsaint
09-18-2008, 01:20 PM
/me points to the thanks button

I wanna feel speshul :D

meizirkki
09-19-2008, 01:47 AM
Yep, sorry i forgot :)

Is there a thread about sound in easy debian? i am so sure it is somewhere, but i did not find it... It would be nice to have sound when using audacity :D . The sound works only in gmpc?

meizirkki
09-19-2008, 02:29 AM
Found it:

http://www.internettablettalk.com/forums/showthread.php?t=21719&page=6

joshk1
09-20-2008, 02:07 AM
I was wondering if I could get some help. I installed everything properly on an n800, I have the newest firmware (diablo), I have python 2.5 and the python2.5-gtk2 installed, and I still can't get IceWM to open. It loads, then it closes a second later. Iceweasele won't open either. Any help?

meizirkki
09-20-2008, 04:03 AM
If you have the qoles newest chroot img it doesnt have icewm at all, did you download your img file using debian image iinstaller

joshk1
09-20-2008, 01:58 PM
Yea, I used the image installer. Unless I downloaded an outdated file initially. It was the file in the first page of this thread - easy-deb-chroot-0.6-2_armel.deb. Also, I think this thing has really slowed down installing other programs, as the application manager window can take over a minute to start installing things now. The Synaptic manager works, but no other part of it. Still stuck...

tltmts
09-20-2008, 06:09 PM
Qole, before you make your final `Easy Debian' package, I want to make one special request in order to ensure that `Easy Debian' lives up to its `Easy' namesake: I have almost a completely stock/virgin N810 flashed with the newest Diablo firmware, and your `Easy Debian' did not work for me. I got the exact same errors another user reported (who never received a reply), namely a bunch of permission denied errors when the chroot script tried to set up the mounts. I tried to manually execute the mount commands but they did not work, and other responsibilities don't allow me time to read manual pages and google my error messages to figure out how to fix the problem.

Anyway, your N810 is probably so tweaked and customized that my special request is that you test your Debian install on a `stock' N810 first so that you don't skip any dependencies or extra steps. If sudser or gainroot is needed, or python, or an edit to such-and-such config file, or setting such-and-such in Application Manager, please include that as a dependency....

This will save thousands from headaches.... Thank you!

BrentDC
09-20-2008, 09:57 PM
Qole, before you make your final `Easy Debian' package, I want to make one special request in order to ensure that `Easy Debian' lives up to its `Easy' namesake: I have almost a completely stock/virgin N810 flashed with the newest Diablo firmware, and your `Easy Debian' did not work for me. I got the exact same errors another user reported (who never received a reply), namely a bunch of permission denied errors when the chroot script tried to set up the mounts. I tried to manually execute the mount commands but they did not work, and other responsibilities don't allow me time to read manual pages and google my error messages to figure out how to fix the problem.

Anyway, your N810 is probably so tweaked and customized that my special request is that you test your Debian install on a `stock' N810 first so that you don't skip any dependencies or extra steps. If sudser or gainroot is needed, or python, or an edit to such-and-such config file, or setting such-and-such in Application Manager, please include that as a dependency....

This will save thousands from headaches.... Thank you!

I believe qole is in Germany for the OSIM conference; that is probably the reason he hasn't addressed some of the issues raised recently in this thread.

I believe that his main script expects root privileges, so that could be why it won't work (I'm guessing, as I've always had gainroot installed). Install 'rootsh' from maemo Extras.

fatalsaint
09-20-2008, 10:24 PM
The script depends on the users ability to "sudo". Any of a dozen methods I believe are around here for that. He probably needs to add one to the dependency line of his .deb.

tltmts
09-21-2008, 05:36 PM
Yes, I have had both rootsh and sudser installed for root access. Running the chroot script with sudo did not fix the problem. The problem is related to mounting. Perhaps one of you with a working setup could show the output of:

1. mount
2. cat /etc/fstab

Note the following curious behavior:

$ ls /debian #or sudo ls debian
ls: cannot access /debian/bin: Input/output error
ls: cannot access /debian/boot: Input/output errorls: cannot access /debian/dev: Input/output error
ls: cannot access /debian/etc: Input/output error
ls: cannot access /debian/home: Input/output errorls: cannot access /debian/media: Input/output errorls: cannot access /debian/mnt: Input/output error
ls: cannot access /debian/proc: Input/output errorls: cannot access /debian/root: Input/output errorls: cannot access /debian/srv: Input/output error
ls: cannot access /debian/sys: Input/output error
ls: cannot access /debian/tmp: Input/output error
ls: cannot access /debian/usr: Input/output error
bin etc lost+found opt sbin tmp
boot home media proc srv usr
dev lib mnt root sys var

I can see the contents of root, but can't access any of them.

I noticed that the mount options for mmc1 and mmc2 (but not loop0) seemed possibly restrictive, but remounting with the nosuid, noexec, nodev, etc. options removed did not fix the problem. Below is the output of mount. I would like to see what some of you have for its output.

$ mount
rootfs on / type rootfs (rw)
/dev/root on /mnt/initfs type jffs2 (ro)
none on /mnt/initfs/proc type proc (rw)
none on /mnt/initfs/sys type sysfs (rw)
none on /mnt/initfs/tmp type tmpfs (rw)
/dev/mtdblock4 on / type jffs2 (rw,rpsize=1024,rpuid=0,rpuid=30000)
none on /tmp type tmpfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
none on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
/dev/mmcblk1p1 on /media/mmc1 type vfat (rw,nosuid,nodev,noexec,uid=29999,fmask=0133,dmask =0000,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8)
/dev/mmcblk0p1 on /media/mmc2 type vfat (rw,nosuid,nodev,noexec,uid=29999,fmask=0133,dmask =0000,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8)
/dev/loop0 on /debian type ext2 (rw,noatime)

qole
09-22-2008, 12:52 PM
Qole, before you make your final `Easy Debian' package, I want to make one special request in order to ensure that `Easy Debian' lives up to its `Easy' namesake: I have almost a completely stock/virgin N810 flashed with the newest Diablo firmware, and your `Easy Debian' did not work for me. I got the exact same errors another user reported (who never received a reply), namely a bunch of permission denied errors when the chroot script tried to set up the mounts. I tried to manually execute the mount commands but they did not work, and other responsibilities don't allow me time to read manual pages and google my error messages to figure out how to fix the problem.

Anyway, your N810 is probably so tweaked and customized that my special request is that you test your Debian install on a `stock' N810 first so that you don't skip any dependencies or extra steps. If sudser or gainroot is needed, or python, or an edit to such-and-such config file, or setting such-and-such in Application Manager, please include that as a dependency....

This will save thousands from headaches.... Thank you!

I installed my package on two stock, non-tweaked, freshly-flashed N810s this week in Berlin without problems. However, it was the new 0.9 "final" edition.

I have noticed that the older 0.6 version sometimes had some install difficulties, I'm not sure why; one of the install tasks is to add passwordless sudo, so you can type "sudo debian synaptic" and it will run the Debian Synaptic package manager as root. However, this change seems to fail occasionally, I don't know why.

Please try the following:
- Uninstall your Easy Debian package
- Reboot
- Reinstall your Easy Debian package
- Reboot
- Try running the Debian Chroot icon
- Post your errors here

I promise to have my 0.9 version ready shortly (in the next day or two). I just need to recover from my flight a bit, and I found some interesting problems with my install script at the Summit that I need to fix before releasing.

passeridae
09-22-2008, 07:53 PM
Bigtime newbie here (I don't code, etc...) Just to see if this would work I installed penguinbait's "OS to SD Deb (http://www.internettablettalk.com/forums/showthread.php?t=19639)" and "KDE (http://www.internettablettalk.com/forums/showthread.php?t=19675)" on SD on my MMC2 card. Then using OS2008 on MMC2, I tried to install Easy Debian on my MMC1 card. It didn't appear to work. When I went to reboot, I was unable to boot into OS2008 on MMC2 (and therefore access the icons to startup debian).

So, would I be right in assuming that this doesn't work? Or, does it work and did I do something wrong?

I've used both of these separately, but would love to be able to use them both.

qole
09-22-2008, 08:03 PM
I have multiboot and penguinbait's KDE running beside Easy Debian. I didn't use his .deb packages, however. This should not conflict with them, but if anyone can comment, I'd love to hear from you. I don't know why my package would interfere with booting to a separate partition, since it doesn't change anything around that.

BrentDC
09-22-2008, 08:37 PM
Bigtime newbie here (I don't code, etc...) Just to see if this would work I installed penguinbait's "OS to SD Deb (http://www.internettablettalk.com/forums/showthread.php?t=19639)" and "KDE (http://www.internettablettalk.com/forums/showthread.php?t=19675)" on SD on my MMC2 card. Then using OS2008 on MMC2, I tried to install Easy Debian on my MMC1 card. It didn't appear to work. When I went to reboot, I was unable to boot into OS2008 on MMC2 (and therefore access the icons to startup debian).

So, would I be right in assuming that this doesn't work? Or, does it work and did I do something wrong?

I've used both of these separately, but would love to be able to use them both.

I've used both penguinbait's Clone SD to Deb and Install Tools Advanced Edition with both qole's debian-in-a-file and debian partition chroot setups, and they've all worked fine (basically, I've used every combination of the four).

It must be your setup.

dan
09-22-2008, 11:00 PM
I've installed about 7 times easy Debian and never had install problems. I did have a problem when I tried to install easy debian once on a single partition that had kde with dual boot. Never found out what the problem was. Maybe it was the dreaded HAL problem. Once I moved Easy Debian to removable card no problems other than running out of memory. :)

passeridae
09-22-2008, 11:14 PM
Thanks for the responses. Glad to see that some have penguinbait's KDE and qole's Easy Debian (Bundyo-Benson-Build) working together. I'll have to try it again and see if I can get it to work as well.

qole
09-23-2008, 01:52 PM
I've applied for an invitation to upload to Extras; this will make things better for Easy Debian Final. You'll be able to install from the standard repositories!

tltmts
09-23-2008, 02:18 PM
I uninstalled, rebooted, reinstalled, rebooted, and still get the exact same errors. If I click the Debian chroot icon the screen with the error messages vanishes, so I'm showing what happens when I run /sbin/debian, as the errors appear the same. As I said before, the problem seems to be that the mount commands don't work. One other user, maxzar100, earlier in this thread (on page 5 of this thread) gave an identical error log on so I am not the only one:

http://www.internettablettalk.com/forums/showthread.php?t=21629&page=5

So here is my error output:

$ sudo /sbin/debian
Setting up the chroot...
using device: /media/mmc1/debian.img.ext2
Using ext2 file system
.
mount: mounting /dev on /debian/dev failed
mount: mounting /proc on /debian/proc failed
..
mount: none is write-protected, mounting read-only
mount: mounting none on /debian/dev/pts failed
mount: mounting /tmp on /debian/tmp failed
...
mount: /media/mmc1 is write-protected, mounting read-onl y
mount: mounting /media/mmc1 on /debian/media/mmc1 failed
mount: /media/mmc2 is write-protected, mounting read-onl y
mount: mounting /media/mmc2 on /debian/media/mmc2 failed
mount: /media/usb is write-protected, mounting read-only
mount: mounting /media/usb on /debian/media/usb failed
....
mount: /home/user is write-protected, mounting read-only
mount: mounting /home/user on /debian/home/user failed
cp: cannot stat '/debian/etc/resolv.conf': Permission de nied
cp: cannot stat '/debian/etc/hosts': Permission denied
cp: cannot stat '/debian/etc/group': Permission denied
cp: cannot stat '/debian/etc/passwd': Permission denied
cp: cannot stat '/debian/etc/localtime': Permission deni ed
cp: cannot stat '/debian/etc/pointercal.default': Permis sion denied
cp: cannot stat '/debian/etc/pointercal': Permission den ied
touch: /debian/tmp/chroot-complete: Permission denied
Everything set up, running chroot...
chroot: cannot execute /bin/bash: Permission denied

fatalsaint
09-23-2008, 02:22 PM
what is the output of:


df -h

and

mount

qole
09-23-2008, 02:41 PM
My first thought is: there's something wrong with your debian.img.ext2 file.

All of your "mount failed" errors are very likely due to the fact that your debian image file isn't mounting properly in the first place, which causes all the other stuff to go south.

First, you need to know where your debian.img.ext2 file is. It should be something like /media/mmc2/debian.img.ext2 or /media/mmc1/debian.img.ext2 so substitute the right one in the commands that follow.

1. Reboot. This makes sure you've got nothing chroot-related mounted.
2. Open a terminal. Type the following (substitute your correct path for /media/mmc2/debian.img.ext2)

sudo su -
mount -t ext2 /media/mmc2/debian.img.ext2 /debian -o loop,noatime
ls /debian

3. Please post the results of those commands. Just so you know, the "ls /debian" command should produce lots of stuff. If it doesn't, then that might be your problem.

passeridae
09-23-2008, 10:11 PM
After trying again, penguinbait's "OS to SD Deb"+KDE on my MMC2 card and then qole's Easy Debian on my MMC1 card, is working well. I don't know what caused the problems the first time, but I'm very happy that it's now working! Thanks for the responses and to those who have put in all of the work!

tltmts
09-23-2008, 10:14 PM
Qole, I've tried before the very mount command you are now suggesting (except I did not bother to set noatime althought that is a good idea from a performance perspective with a slow flash drive). I've tried again just now just for the heck of it and I still get the same error messages. I've included the output of mount and df-h below also. (Yes, I do have a 1GB swapfile but trying everything with that disabled makes no difference.)

Just to repeat myself again, I went over your /sbin/debian script and tried executing the mount commands individual since they are what fails. Executing them does not work, sudo or no sudo.

The cryptic error output of the mount command is not very helpful. If I had time to install a version of mount with GDB breakpoints and source I just might try and debug the problem that way. I first installed Debian back in 1997 by the way back when it meant downloading about 8-10 1.44MB floppy images over a 33.6k modem. I used Debian with Windowmaker until 2003 when I got a Powerbook. Now I would once again like to use Debian---a system I know well---on this nice little N810. I have never in all my years had such a strange problem with the mount command. I used to boot mulitple operating systems on my old PC and I created and mounted all sorts of filesystems without issue. Anyway, the output:


$ sudo umount /debian
$ sudo su -


BusyBox v1.6.1 (2008-05-22 10:32:35 EEST) Built-inshell (ash)
Enter 'help' for a list of built-in commands.
Nokia-N810-23-14:~# mount -t ext2 /media/mmc1/debian
/media/mmc1/debian-chroot-img-v2.tar.bz2
/media/mmc1/debian.img.ext2
Nokia-N810-23-14:~# mount -t ext2 /media/mmc1/debian
/media/mmc1/debian-chroot-img-v2.tar.bz2
/media/mmc1/debian.img.ext2
Nokia-N810-23-14:~# mount -t ext2 /media/mmc1/debian.img.ext2 /debian -o loop,noatime
Nokia-N810-23-14:~# ls /debian
ls: cannot access /debian/bin: Input/output error
ls: cannot access /debian/boot: Input/output errorls: cannot access /debian/dev: Input/output error
ls: cannot access /debian/etc: Input/output error
ls: cannot access /debian/home: Input/output errorls: cannot access /debian/media: Input/output errorls: cannot access /debian/mnt: Input/output error
ls: cannot access /debian/proc: Input/output errorls: cannot access /debian/root: Input/output errorls: cannot access /debian/srv: Input/output error
ls: cannot access /debian/sys: Input/output error
ls: cannot access /debian/tmp: Input/output error
ls: cannot access /debian/usr: Input/output error
bin etc lost+found opt sbin tmp
boot home media proc srv usr
dev lib mnt root sys var
Nokia-N810-23-14:~# mount
rootfs on / type rootfs (rw)
/dev/root on /mnt/initfs type jffs2 (ro)
none on /mnt/initfs/proc type proc (rw)
none on /mnt/initfs/sys type sysfs (rw)
none on /mnt/initfs/tmp type tmpfs (rw)
/dev/mtdblock4 on / type jffs2 (rw,rpsize=1024,rpuid=0,rpuid=30000)
none on /tmp type tmpfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
none on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)/dev/mmcblk0p1 on /media/mmc2 type vfat (rw,nosuid,nodev,noexec,uid=29999,fmask=0133,dmask =0000,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8)/dev/mmcblk1p1 on /media/mmc1 type vfat (rw,nosuid,nodev,noexec,uid=29999,fmask=0133,dmask =0000,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8)/dev/loop0 on /debian type ext2 (rw,noatime)Nokia-N810-23-14:~# df -h
Filesystem Size Used AvailableUse% Mounted on
/dev/mtdblock4 4.0M 2.6M 1.4M 64% /mnt/initfs
none 2.0M 80.0k 1.9M 4% /mnt/initfs/tmp
/dev/mtdblock4 249.5M 205.9M 43.6M 83% /
none 2.0M 80.0k 1.9M 4% /tmp
none 1.0M 60.0k 964.0k 6% /dev
tmpfs 1.0M 0 1.0M 0% /dev/shm
/dev/mmcblk0p1 1.9G 1.6G 326.3M 83% /media/mmc2
/dev/mmcblk1p1 7.4G 1.4G 6.0G 19% /media/mmc1
/dev/loop0 1007.9M 834.5M 163.2M 84% /debian
Nokia-N810-23-14:~# ls -l /media/mmc1
total 1496976
-rw-r--r-- 1 user root 284881441 2008-07-05 04:56 debian-chroot-img-v2.tar.bz2
-rw-r--r-- 1 user root 172789248 2008-09-18 16:20 debian.img.ext2
-rw-r--r-- 1 user root 1479118 2008-09-23 01:36 easy-deb-chroot-0.6-2_armel.deb
-rw-r--r-- 1 user root 9 2008-09-19 13:33 foo.sh
-rw-r--r-- 1 user root 1073741824 2008-09-18 17:38 swapfile

fatalsaint
09-23-2008, 10:51 PM
You have either a bad image file... or bad sectors on your SD card... would be my guess.

qole
09-24-2008, 12:18 AM
tltmts:

I agree with fatalsaint. There's something seriously wrong with your image file, when a simple ls gives all kinds of errors.

Hey, I notice that you still have your .tar.bz2 file on your card. That's really suspicious. Did you use the installer to get it? If so, the file should have been deleted after it was untarred.

I would suggest you do the following:


sudo su -
umount /debian
rm /media/mmc1/debian.img.ext2
umount /media/mmc1
fsck -y /dev/mmcblk1p1
mount /dev/mmcblk1p1 /media/mmc1
cd /media/mmc1
tar xjvf debian-chroot-img-v2.tar.bz2 .


This unmounts your SD card, checks for errors, mounts the card again, and then untars the image file again.

Watch for errors... If there are any errors untarring the image file, that's the problem.

The good thing about using the auto-installer is that it checks the file's md5sum and makes sure that your download is finished and correct.

qole
09-24-2008, 07:19 PM
OK! Here we go!

I need a few brave souls to beta-test this for me.


Uninstall any current version of Easy Debian (0.6 or earlier) you might have.
Reboot.
Install the Easy Debian 0.9-3 package new turbo-charged Easy Debian 0.9-11 package.
Reboot.
Use the Debian Image Installer to download and extract the Easy-Debian-Final image (http://qole.maemobox.org/debian-chroot-img-final.tar.bz2).
Try starting LXDE and then run the virtual keyboard. Type a capital letter using the virtual keyboard.
Report any problems or errors you might get.

moshing
09-24-2008, 08:09 PM
i will do it tomorow, i.e. in the morning, it's the middle of the night in the uk.