maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Easy Debian Fremantle Beta Testing (https://talk.maemo.org/showthread.php?t=34550)

naturegodtm 2010-07-05 21:52

Re: Easy Debian Fremantle Beta Testing
 
guyes hi , i have 1.2 gigabyte for installable applications. so that means that i cant install easy debian(wich requires 2gb at least ) right? thnx in advance

Laughing Man 2010-07-05 21:55

Re: Easy Debian Fremantle Beta Testing
 
The easy debian image (the 2 GB one) does not reside in the 2 GB /opt partition. It rests in the 32 GB MyDocs partition.

naturegodtm 2010-07-05 21:56

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Laughing Man (Post 741691)
The easy debian image does not install to the 2 GB /opt partition. It rests in the 32 GB MyDocs partition.

so i can install it without any problem thnx!!!

Laughing Man 2010-07-05 21:58

Re: Easy Debian Fremantle Beta Testing
 
Correct. As long as you have more than 2 GBs free in the MyDocs partition. Though I advise you to download the image from a computer and copying and pasting over USB than using the install method on the N900. It takes a llooonnnnggg time to download 2 GBs even over wifi.

rebhana 2010-07-05 21:59

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by naturegodtm (Post 741684)
guyes hi , i have 1.2 gigabyte for installable applications. so that means that i cant install easy debian(wich requires 2gb at least ) right? thnx in advance

You'll need about 2.5 GB in /home/user/MyDocs where you have all your data and media. The easy debian chroot application itself is very small.

EDIT: 3 posts while I was slowly typing mine, wow.

naturegodtm 2010-07-05 22:08

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 741698)
You'll need about 2.5 GB in /home/user/MyDocs where you have all your data and media. The easy debian chroot application itself is very small.

EDIT: 3 posts while I was slowly typing mine, wow.

hehe ,So where can i download it? is this the one located at downolads >system > easy debian?? i would like to have a full debian OS with a terminal and all the applications that i can get :P ,,

but i guess this isnt possible right?

rebhana 2010-07-05 22:13

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by naturegodtm (Post 741711)
hehe ,So where can i download it? is this the one located at downolads >system > easy debian?? i would like to have a full debian OS with a terminal and all the applications that i can get :P ,,

but i guess this isnt possible right?

It is a full Debian system, just in a chroot. For detailled installation instructions see http://wiki.maemo.org/Easy_Debian

naturegodtm 2010-07-05 22:14

Re: Easy Debian Fremantle Beta Testing
 
y i ve read all of it , but i havent figure out what is a chroot ?

rebhana 2010-07-05 22:18

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by naturegodtm (Post 741717)
y i ve read all of it , but i havent figure out what is a chroot ?

This has some background information, although it's not up-to-date regarding the N900:

http://qole.blogspot.com/2009/03/eas...for-maemo.html

naturegodtm 2010-07-05 22:21

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 741720)
This has some background information, although it's not up-to-date regarding the N900:

http://qole.blogspot.com/2009/03/eas...for-maemo.html

thnx m8 i ll read that right away. Can u plz tell me where can i get the full 2.5 easy debian for n900 image?

rebhana 2010-07-05 22:25

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by naturegodtm (Post 741722)
thnx m8 i ll read that right away. Can u plz tell me where can i get the full 2.5 easy debian for n900 image?

Seems you should read the wiki once again ;) The 2 GB image is what you get after downloading and extracting the compressed image from qole.org.

naturegodtm 2010-07-05 22:39

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 741725)
Seems you should read the wiki once again ;) The 2 GB image is what you get after downloading and extracting the compressed image from qole.org.

thnx again for ur time , but i am realy confuced where to get the latest image from qole.org/files there are lots of files :O

Nathraiben 2010-07-05 22:49

Re: Easy Debian Fremantle Beta Testing
 
First off, I'm sorry if this got covered before, but I couldn't find anything on the Wiki page or through my trusty stalker friend Google.

I have a minor issue with running an application with debbie - namely the wonderful Eric I installed a couple of hours before. It works like a charm in LXDE and will probably be heavily used by me once I managed to map the keyboard in a way that covers all the characters needed for Python development... ;)

Sadly, while it almost seems like Eric was especially designed to run with debbie (gracefully resizes to a comfortable workspace), I can't get it to accept ANY keyboard input at all.

Keyboard works fine with Eric in LXDE, and all the other applications I tried with debbie show no sign of keyboard problems, either.

Does anyone have any ideas on why the keyboard breaks with only this ONE application and only in debbie mode at that?

mscion 2010-07-06 01:58

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 741676)
Yes, but only under LXDE and when it was launched previously. When started through debbie, I hardly see any improvements, do you?

Your are right. I have to run it twice to get writer to start in a few seconds. While I would still consider this an improvement (although not quite as significant) there seems to be a problem with the quickstarter option. If I run OO.o writer, cleanly exit out of OO.o writer (and OO.o), shutdown LXDE, restart LXDE and try to run OO.o writer it doesn't start up anymore. I have to turn off the N900 and start over to get OO.o writer to run again in LXDE. If I disable the quickstarter option the problem goes away but then I'm basically back at the previous start up speeds for OO.o...

See if you get the same.

vitamina 2010-07-06 12:42

Re: Easy Debian Fremantle Beta Testing
 
When i try to install easy debian a message apears that i dont have wget installed...but...when i try to instal wget it say iincompatible application package...any ideas ?

rebhana 2010-07-06 12:58

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by naturegodtm (Post 741742)
thnx again for ur time , but i am realy confuced where to get the latest image from qole.org/files there are lots of files :O

The most recent Debian image is http://qole.org/files/debian-m5-v3d.img.ext2.lzma and is referred to in the manual installation instructions in the wiki by the link "here".

rebhana 2010-07-06 13:02

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by vitamina (Post 742396)
When i try to install easy debian a message apears that i dont have wget installed...but...when i try to instal wget it say iincompatible application package...any ideas ?

wget should get pulled in by installing easy-deb-chroot. When I do a dry-run to reinstall it, I see nothing wrong. What errors did you get precisely?

vitamina 2010-07-06 13:28

Re: Easy Debian Fremantle Beta Testing
 
I was tryng to install wget.deb file downloaded from my computer.When i was tryng to intall the deb from my phone i receive "incompatible application package".I solved this with apt-get :D works like a charm

rebhana 2010-07-06 13:37

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Nathraiben (Post 741748)
Keyboard works fine with Eric in LXDE, and all the other applications I tried with debbie show no sign of keyboard problems, either.

I've installed eric and verified your problem. I see that keyboard input gets sent to XTerminal from where I started eric and not to eric.

qole, any idea of how to fix that?

mscion 2010-07-06 15:36

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by mscion (Post 741858)
Your are right. I have to run it twice to get writer to start in a few seconds. While I would still consider this an improvement (although not quite as significant) there seems to be a problem with the quickstarter option. If I run OO.o writer, cleanly exit out of OO.o writer (and OO.o), shutdown LXDE, restart LXDE and try to run OO.o writer it doesn't start up anymore. I have to turn off the N900 and start over to get OO.o writer to run again in LXDE. If I disable the quickstarter option the problem goes away but then I'm basically back at the previous start up speeds for OO.o...

See if you get the same.

One more refinement to this process. The problem arises after you turn off the n900 (having cleanly shut down LXDE). Once you turn on the n900, OO will work, using quickstarter, in LXDE until you shutdown and restart. LXDE.

I'm currently using the squeeze version of OO. I'm not sure if this is a probem with 3.1 or earlier versions

rebhana 2010-07-06 17:16

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by mscion (Post 742623)
One more refinement to this process. The problem arises after you turn off the n900 (having cleanly shut down LXDE). Once you turn on the n900, OO will work, using quickstarter, in LXDE until you shutdown and restart. LXDE.

I'm currently using the squeeze version of OO. I'm not sure if this is a probem with 3.1 or earlier versions

I also have this phenomenon. Even when it wouldn't start any longer in LXDE, there is no problem with debbie. In order to have OO start again in LXDE, I need to do a closechroot before restarting LXDE. (So no need to reboot the device at least)

mscion 2010-07-06 19:54

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 742750)
I also have this phenomenon. Even when it wouldn't start any longer in LXDE, there is no problem with debbie. In order to have OO start again in LXDE, I need to do a closechroot before restarting LXDE. (So no need to reboot the device at least)

Doing a closechroot worked. Thanks for suggestion.
Now the first start up of OO is 20s from LXDE and about 3s to 4s the second try. Although a minor thing, hopefully the closeroot step can be ommited at some point.

qole 2010-07-06 21:46

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Nathraiben (Post 741748)
I have a minor issue with running an application with debbie - namely the wonderful Eric I installed a couple of hours before... Sadly, while it almost seems like Eric was especially designed to run with debbie (gracefully resizes to a comfortable workspace), I can't get it to accept ANY keyboard input at all.

Quote:

Originally Posted by rebhana (Post 742464)
I've installed eric and verified your problem. I see that keyboard input gets sent to XTerminal from where I started eric and not to eric.

qole, any idea of how to fix that?

Sigh. Eric must be another app that has "broken" keyboard focus.

I thought that you have to do the same trick to Eric that you do to Xephyr when starting LXDE. But I installed eric4 and tried to get the keyboard to work with fixkbdfocus, qobi-wmhint-fix, and set-focus, none of which seemed to work.

Probably eric4 suffers from the same problems as qobi was experiencing with emacs, and it might need his method for solving it... Although I think that is already one of the two programs that I tried (qobi-wmhint-fix and set-focus).

rm42 2010-07-07 02:03

Re: Easy Debian Fremantle Beta Testing
 
How hard is it to associate ODF files with Easy Debian OOo?

qole 2010-07-07 07:10

Re: Easy Debian Fremantle Beta Testing
 
Check out dbus-switchboard and look at the end of this thread for help.

vitamina 2010-07-07 07:19

Re: Easy Debian Fremantle Beta Testing
 
It is possible to run full version of debian/linux mint/ubuntu ? and how ?

rm42 2010-07-07 13:41

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 743369)
Check out dbus-switchboard and look at the end of this thread for help.

OK, that was hard to figure out, but easy to implement.

These are the basic steps as of right now:
  1. Enable extras-devel and install dbus-switchboard
  2. Restart the device
  3. In Maemo's File Manager, clik on a .odt file (for example).
  4. In the select application list select dbus switchboard.

And that is it, your file is opened with OOo Writer.

Now, I have to figure out how to make last step unnecessary. If someone can give me a tip it will be much appreciated.

Nathraiben 2010-07-07 15:29

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 743032)
Sigh. Eric must be another app that has "broken" keyboard focus.

I thought that you have to do the same trick to Eric that you do to Xephyr when starting LXDE. But I installed eric4 and tried to get the keyboard to work with fixkbdfocus, qobi-wmhint-fix, and set-focus, none of which seemed to work.

Probably eric4 suffers from the same problems as qobi was experiencing with emacs, and it might need his method for solving it... Although I think that is already one of the two programs that I tried (qobi-wmhint-fix and set-focus).

Sadly, that doesn't seem to work for me - though it might just as well be because I'm not sure I fully understood the instructions. Despite being a developer I'm still a terrible noob when it comes to OS specific things. :D

Guess I'll just have to wait until a different fix (or some idiot proof way for using the current ones) surfaces that actually works with Eric. Until then I'll just enjoy it from within LXDE.

Though, correct me if I got this wrong - using it from within will not allow for instant testing, since there's no way to get access to the Maemo python instance?

Anyway, thanks a lot for your help, rebhana & qole!

qole 2010-07-07 16:13

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Nathraiben (Post 743826)
Though, correct me if I got this wrong - using it from within will not allow for instant testing, since there's no way to get access to the Maemo python instance?

Actually, that's no problem at all. Just save your work in a subdirectory of /home/user and it is accessible from both Debian and Maemo.

So just keep a Maemo terminal open and you can run your python programs from there. Flip back and forth with the Ctrl-backarrow.

Nathraiben 2010-07-07 16:27

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 743861)
Actually, that's no problem at all. Just save your work in a subdirectory of /home/user and it is accessible from both Debian and Maemo.

So just keep a Maemo terminal open and you can run your python programs from there. Flip back and forth with the Ctrl-backarrow.

Sweet, I didn't even realise this works from within LXDE - once again, thanks qole! That makes for a perfect workflow now. :)

qole 2010-07-07 23:04

Re: Easy Debian Fremantle Beta Testing
 
In case you're wondering what the update in Extras-devel is about, I removed the MurrinaNightOrange theme from the Easy Debian package and MohammedAG made a new package for it. The Easy Debian package now depends on the new murrinanightorange package. He wants to use it in a couple of his projects but it was conflicting with Easy Debian.

EDIT: For some reason, my version themed any commands called with sudo, which I really liked. The new separate package no longer does this. Does anybody know why that would happen?

qole 2010-07-08 22:46

Re: Easy Debian Fremantle Beta Testing
 
It's now possible to make a bluetooth keyboard and mouse work fully in N900 Easy Debian. You need to hack a bunch of stuff to get it to work (see especially this post, this post and this thread), but I'm hoping to package this up for those wanting the Pocket Computer experience.

extendedping 2010-07-08 23:18

Re: Easy Debian Fremantle Beta Testing
 
Ok so I put easy debian on and love the fact that I have real linux (sorry maemo but busy box?) now to learn from. I have even done an apt-get update && apt-get upgrade and nothing broke. I do have 2 questions...

1) I have learned from tinkering that I can get logged in as root and directly into /root by typing debsu from maemo, and that I can bring the chroot closed by typing closechroot from maemo. But if I fire up debian through the desktop icon, it plops me into / not /root and if I cd ~ I am in /home/user, not in /root like the debsu command put me. Is there a way to have easy-deb-chroot plop me in as root in the /root directory when I use the desktop icon as opposed to having to do debsu from within the maemo terminal?

2) I tried from within debian to run the update-rc.d command to have some services I installed (such as mysql server and sendmail) start when I activate the chroot. but the command
"update-rc.d mysql enable" does not do the trick. It reports that it is creating links to /etc/init.d but still if I log out and bring debian down (either from the desktop app or by running closechroot) and then go back into debian, the service is not started. I am going to make a guess that since this in chroot that the scripts are not even getting read?

anyway it would be great to have both of these issues worked out as I am trying to make the debian chroot mimic a true linux environment (being in /root and having certain services started) as much as I can. after all the entire reason I bought this phone was to learn linux....

thanks for listening.

qole 2010-07-09 00:33

Re: Easy Debian Fremantle Beta Testing
 
extendedping:

1. In Maemo, as root, edit the /usr/share/applications/hildon/debchroot.desktop file to have the following Exec line:

Code:

Exec=osso-xterm "sudo debsu"
That will get the debsu behaviour from the icon.

2. See the startup scripts section in the wiki for information on starting services when you open the chroot.

HINT: You probably want $CHROOT/var/run/onfirstchroot.rc

extendedping 2010-07-09 00:38

Re: Easy Debian Fremantle Beta Testing
 
thanks, going to look at these things now...

avidscavenger 2010-07-09 03:34

Re: Easy Debian Fremantle Beta Testing
 
1 Attachment(s)
Sorry it's taken so long to reply - I was expecting an email to inform me that there had been posts on this thread.

Quote:

Originally Posted by rebhana (Post 741309)
Which version of OO are you using?

I'm using version 3.2.1-4 from sid.

Quote:

And yes, please provide a file that produces a crash.
Apparently something has changed. I just loaded up one file and sure enough my N900 crashed. But since then I've only been able to get OO to crash, with the N900 staying alive. I don't know whether some update has made Maemo more stable now. I can't send you the file that did make it crash because it's the original work of a colleague and I'd need, at the least, to get her permission first.

But let me attach a file that consistently makes OO crash, and in the past has also made N900 crash. It basically happens when you scroll down to the bullet points. I had to upload it as a .zip as .odt's can't be attached.

FWIW it seems that the armel build of OO has some known problems. They've taken openoffice.org-base out of the repository as it didn't work at all. Possibly this is all something to report as a debian bug.

rebhana 2010-07-09 07:58

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by avidscavenger (Post 745656)
I'm using version 3.2.1-4 from sid.

But let me attach a file that consistently makes OO crash, and in the past has also made N900 crash. It basically happens when you scroll down to the bullet points. I had to upload it as a .zip as .odt's can't be attached.

FWIW it seems that the armel build of OO has some known problems. They've taken openoffice.org-base out of the repository as it didn't work at all. Possibly this is all something to report as a debian bug.

I have tried your file in my OO version 3.2.1-3, which is the current version in squeeze and I don't get any crashes.

I noticed the newer version in sid, but didn't install it after I saw that a rather larger number of other packages would get upgraded to sid as well. So perhaps the problem is with those. In that case it might be best to start all over with your Debian installation and only upgrade to squeeze packages.

rebhana 2010-07-11 10:24

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 744281)
In case you're wondering what the update in Extras-devel is about, I removed the MurrinaNightOrange theme from the Easy Debian package and MohammedAG made a new package for it. The Easy Debian package now depends on the new murrinanightorange package. He wants to use it in a couple of his projects but it was conflicting with Easy Debian.

I guess that means that easy-deb-chroot with Maemo-side fixed scripts will remain in devel or testing somewhat longer, because promotion will depend on those additional packages now, but anyhow, it's perhaps an advantage to have two installable versions, one with Maemo-side and one with Debian-side fixes of the keyboard focus. Both have their advantages imo - the Maemo-side improvements give a better integration of Easy Debian windows, while the Debian-side improvements are more deterministic.

qole, whenever you have nothing better to do, I would suggest producing a new Debian image where the Debian-side fixes are included, together with an upgrade to the squeeze version of OO, since that is working fine at the moment, while sid seems to have introduced new problems. (If you have the 1:3.2.0 version, I would even suggest that. It is a bit faster than the newer 1:3.2.1, and users would then have the choice between that and the current squeeze version.)

radiochickenwax 2010-07-11 10:28

Re: Easy Debian Fremantle Beta Testing
 
Since this is my first post to this thread, I'd firstly like to thank everyone involved (especially qole), but thanking everyone would take forever.

I am running into some problems though.

Quote:

Originally Posted by mankir (Post 691556)
:
xephwm5, xephfocus, startlxde1, qobi-wmhint-fix and set-focus are not included in the image i found (These files should be explained in the wiki).
In chroot, install xserver-xephyr, zenity, wmctrl, xbindkeys and habak (Usage of Xephyr should also be explained in the wiki).


I second the idea that the wiki should include further explanation on Xephyr. I'd volunteer, but I'm currently lost, running two separate chroot partitions on external SD: one to load with bootmenu, and one to load from maemo with Xephyr.

I'd like to consolidate this into one simple partition, but...

The easy-debian partition won't boot from bootmenu-n900, and the debbootstrap partition won't load in Xephyr. The post I quoted doesn't quite fix this. I installed all the packages referenced.

For my bootable debian partition, when I call the debian-lxde script from easy-deb-chroot 0.9.53-1freemantle1, a window with a pointer shows up ( DISPLAY=:1 ), and then the terminals I've set to start in /root/.xsession load in separate windows ( DISPLAY=:0 ). The window manager (fluxbox) never loads. Otherwise it works fine if I use the easy-debian partition.

(EDIT: I can start the window manager from a chroot terminal however.)


For my easy-debian partition, I set an item in /etc/bootmenu.d/, but it never loads past the bootmenu screen. Otherwise it works fine from the bootstrapped partition.


Also, I am trying to find out how to mount and modify Maemo JFFS/NAND from a bootmenu setup, (so I don't have to reflash when I screw up something simple in Maemo). It would be very nice to have easy-debian setup for this purpose.

Any help would be appreciated as always.

rebhana 2010-07-11 10:47

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by radiochickenwax (Post 747993)
I second the idea that the wiki should include further explanation on Xephyr. I'd volunteer, but I'm currently lost, running two separate chroot partitions on external SD: one to load with bootmenu, and one to load from maemo with Xephyr.

I would suggest creating a new wiki page for such advanced topics as bootable Debian and then linking to that in the Easy Debian page. Otherwise the Easy Debian wiki might become prohibitively heavy reading, in particular for new users.


All times are GMT. The time now is 10:34.

vBulletin® Version 3.8.8