Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : Using Minimo on the iRex iLiad


Adam B.
08-21-2007, 03:17 PM
It looks like iRex didn't cripple Minimo (http://www.mozilla.org/projects/minimo/) too much on the iLiad. After hacking a few configuration files, look what I can do. :D

Hopefully I can set it up so it's usable without having to launch it from the terminal. :grin2:

This thread has been closed and a beta has been released.

You can find the new thread here: http://www.mobileread.com/forums/showthread.php?t=15448

nekokami
08-21-2007, 03:31 PM
Brilliant!

Adam B.
08-21-2007, 04:09 PM
Checking gmail on the go...:cool:

BKeeper
08-21-2007, 05:56 PM
That's amazing Adam.
Thank you for your work.

jharker
08-21-2007, 06:01 PM
Fan-frickin-tastic. Outstanding. A major new functionality for the iLiad, here. You rock. I can't wait to install it on my iLiad, and start browsing away...

Much applause!

Adam B.
08-21-2007, 06:05 PM
There are a few kinks to it. The first (as always) is screen refreshes. It seems iRex didn't build them into minimo, so I have to rely on the modified libX11. Right now it does a full refresh, which can get quite annoying. I'll have to play around with the partial to see how well I can get that going.

The second is packaging, I've had to replace the default user style with that of another version of minimo. I'm not sure what problems this causes when viewing local html files from the contentlister. Perhaps I can run this as a standalone application from the memory card. I'll have to do more testing tomorrow.

jharker
08-21-2007, 07:34 PM
I agree... if you have to change the config files to make minimo work properly, it seems like the simplest thing would be to package it as a separate standalone application and run it from the CF...

Of course, once 2.11 comes out and you start modifying the registry with installations, you'll have plenty of options...

Once again, excellent work!

Fletcher
08-22-2007, 09:48 AM
Sorry, I'm new and not techie.

So we are seeing this from a computer terminal and not the iliad? I am interested in browsing options for the Iliad - all seem to have problems so far.

Adam B.
08-22-2007, 09:54 AM
Sorry, I'm new and not techie.

So we are seeing this from a computer terminal and not the iliad? I am interested in browsing options for the Iliad - all seem to have problems so far.

It's being launched from a terminal, but everything is run and displayed on the iLiad.

tribble
08-22-2007, 10:13 AM
A terminal is not a seperate computer terminal in this case.
It is started as a command line application and can not be run from the Content Lister.
There fore Adam uses a "terminal" where you can enter commands.
Try Start->Run... enter "cmd" and hit return. Thats a terminal under windows :)

For the iLIad we use this:
mrxvt (http://www.mobileread.com/forums/showthread.php?t=8569&highlight=mrxvt)

Jeroen13
08-22-2007, 04:59 PM
You rock, Adam! I was waiting to be able to use webmail functionality on my Iliad.

Keep up the good work!

Mike Kostousov
08-25-2007, 08:00 AM
oh.. It is very perfect ability for iLiad. So power of php, apache and mysql can be used here... We don't need even web 2.0 application. Any old web application can be used. E-mail clients, rss readers, contacts etc.... Is it possible to control iLiad via php "exec" function.. etc...

segatang
08-27-2007, 05:22 AM
Hi, Adam:
Can it support website with codes of tranditional/simplified Chinese and Japanese etc. or unicode? Thanks.

hkabir
09-03-2007, 06:13 AM
HI Adam,

I'm not familiar with Linux command that much. Can you please tell me how to run minimo from the terminal. A bit detail.... . And when would you be able to set up minimo like your other packages so that we don't have to do everything from terminal? Thanks

DeGodefroi
09-04-2007, 11:23 AM
I am just waiting for a full minimo version on the iliad that will work like a webbrowser on your PC.
**patience**
hard....
aaarch......

Adam B.
09-04-2007, 11:32 AM
You'll probably be waiting a while for a couple reasons:


I'm having some issues getting SSL working like I had done previously.
I'm not sure how to package it so that it run correctly but doesn't interfere with the iLiad's normal html viewing.
I'll also probably wait for 2.11 and unbricking since I will have to modify the internals.
My iLiad is on it's way back to iRex because of some battery/screen issues.

nekokami
09-04-2007, 12:57 PM
I'm not sure how to package it so that it run correctly but doesn't interfere with the iLiad's normal html viewing.
Not sure this is worth worrying about....

Mike Kostousov
09-10-2007, 02:11 PM
Is it possible to use minimo with google books?

jimbocho
10-02-2007, 12:10 AM
Hi Adam,

Can you please consider releasing a preview version? I don't care if SSL doesn't work correctly or if it has to be started by the terminal, but I'd really like to play around with Minimo. I don't mind hacking on it myself, but it would be great if you could share at least the chrome interface files, or a beta version of what you have...

Thanks so much,:)
-Jim

jimbocho
10-02-2007, 01:29 AM
I copied
libX11.so.6 libXau.so.6 libXdmcp.so.6
to /mnt/cf/lib. Then I looked for ideas in /usr/lib/mozilla-minimo/un-mozilla.sh and decided to run:

LD_LIBRARY_PATH=/mnt/cf:/usr/lib/mozilla-minimo:/usr/lib/mozilla-minimo/extensions:/usr/lib/mozilla-minimo/components /usr/lib/mozilla-minimo/minimo

And it seems to be working. However I can't figure out how to get it to go to a URL I specify. Adding a URL as a command line argument doesn't work. There doesn't seem to be a URL bar that I can use either. Someone please help!

thanks,
-Jim

Adam B.
10-02-2007, 04:48 AM
I copied
libX11.so.6 libXau.so.6 libXdmcp.so.6
to /mnt/cf/lib. Then I looked for ideas in /usr/lib/mozilla-minimo/un-mozilla.sh and decided to run:

LD_LIBRARY_PATH=/mnt/cf:/usr/lib/mozilla-minimo:/usr/lib/mozilla-minimo/extensions:/usr/lib/mozilla-minimo/components /usr/lib/mozilla-minimo/minimo

And it seems to be working. However I can't figure out how to get it to go to a URL I specify. Adding a URL as a command line argument doesn't work. There doesn't seem to be a URL bar that I can use either. Someone please help!

thanks,
-Jim

It sounds like you're on track. I used the chrome files from an early minimo release. You can find releases here: http://www.meer.net/~dougt/minimo_ce/

Try 0.013. I think that was the one I used.

Gogolo
10-02-2007, 07:50 AM
Hi
I would be very interested in running minimo on the Illiad.

dillo does not show correctly the sites I want to use.

Would it be possible to browse in landscape with minimo? landscape is needed very much, because a lot of sites are 1024x768 optimzed.

Greetings
Olivier

jimbocho
10-04-2007, 12:09 AM
Thanks Adam, I got it to work.

In case anyone else is interested, I copied the classic.jar and classic.manifest from the chrome directory of minimo_ce 0.0.13 into /usr/lib/mozilla-minimo/chrome. (I overwrote the files that were there, after backing them up first.)

Then I set the display to :0 and started minimo as I described above. I was greeted with a new layout that allowed me to change the URL. I tried to copy the whole mozilla-minimo folder to CF and run it from there (so I didn't need to overwrite the files in /usr/lib/mozilla-minimo/chrome) but it still was using the /usr/lib/mozilla-minimo/chrome directory, so I had to overwrite them anyway.

Display refresh is problematic; even with the patched libX11 the display frequently does not update correctly. In these cases I run "displayMgrClient" to force a refresh.

Also heavy JavaScript sites (Google maps) can sometimes be quite slow, to the extent that Minimo gives a warning window about the script taking too long to run, asking if you want to abort or continue it.. I sometimes have to click continue once or twice but the page will eventually load. Making matters worse though, sometimes the warning window doesn't refresh correctly; only the frame is drawn. In those cases I first run displayMgrClient to refresh the display, then click on the "Continue" button.

It's kinda cool looking at Google maps on the iLiad, and the resolution is quite nice! It's a bit slow however.

My next goal is to write a simple web page that uses JavaScript to dynamically refresh itself without any user interaction.

-Jim

jimbocho
10-11-2007, 11:50 PM
Does anyone know how to start up minimo so that it starts at a given URL? I have tried passing it parameters on the command line but it doesn't seem to work. How is minimo invoked by the internal content lister?? Any ideas? I really would like to invoke minimo from the command line and have it start at the web page I specify...

thanks,
-Jim

jimbocho
10-14-2007, 10:29 PM
OK I finally figured it out. In case anyone is interested, edit the file greprefs/all.js and add this line to set a different homepage:

pref("browser.startup.homepage", "http://www.google.com/");

-Jim

o_parallos
10-15-2007, 12:18 PM
Any update on a release date or on dev news for minimo? I'm waiting anxiously for this since dillo development seems to be on hold and utf-8 pages are in abundance these days (dillo is only latin-1)...

Can't ........ wait ....... neeeeed......

and congrats for the wonderful job...

Adam B.
10-19-2007, 02:29 PM
After a few hours of hacking, I've finally got SSL working!!!

I'll have to do some more testing to make sure it isn't a fluke(:pray:), but if all goes well, expect a release in the next few days. :D :crowngrin

Edit: I'm going to go ahead and post for files for those who have SSH access. Delete the /usr/lib/mozilla-minimo directory (be sure to make a backup, this isn't tested very well), and overwrite with the attached file. You'll need the hacked libX11.so.6 in /usr/local/lib. Launch with "/usr/lib/mozilla-minimo/mozilla-run.sh minimo".

DeGodefroi
10-22-2007, 03:16 AM
And when will there be a minimo version for all who do not desire to go into linux?
:-)

Gogolo
10-22-2007, 06:26 AM
Patience is our duty! :pray:

But lets pray, Adam has some spare time :D:D:D

Adam B.
10-22-2007, 06:35 AM
It probably won't be today, maybe tomorrow. Today, I'm getting a new PDA phone that I've been waiting for for the last 8 months http://www.mobileread.com/forums/images/smilies/eek.gif, so I'll be pretty busy with that.

This will require a good amount of testing, as I'm replacing many files that work with the internal html viewer. I want to make sure that I can install it without any issues, or breaking any of the current functionality.

Patience is a virtue. :D :2thumbsup

tribble
10-22-2007, 09:08 AM
Darn, patience is not one of my strong virtues ;)

What kind of new toy did you get Adam?

DeGodefroi
10-22-2007, 09:14 AM
Hmmmm I wonder...HTC touch thingy? :)

Adam B.
10-22-2007, 09:19 AM
It's the Samsung i760.

Link here: http://estore.vzwshop.com/i760/

Hadrien
10-22-2007, 10:03 AM
It's the Samsung i760.

Link here: http://estore.vzwshop.com/i760/

Both T9 and qwerty keyboards ? Interesting. I wonder how big this phone really is. I do need a new smartphone...

Adam B.
10-22-2007, 10:11 AM
Go here: http://www.verizonwireless.com/b2c/store/controller?item=phoneFirst&action=viewPhoneDetail&selectedPhoneId=3364

Choose "View Size". It's pretty slim and decently sized. I don't think it has T9 input, on the number pad, just regular text capabilities. Also, it's only available for Verizon in the US.

nkelle
10-24-2007, 04:37 PM
Wow, Adam B., very nice work :)
Look and Feel is MUCH better than Dillo, now itīs really
nice to surf in the web..

(Using my Iliad becomes more and more affinity with my
good old Debian-system :D)

Best regards from an enthusiastic mobileread-fan

nkelle

MarkRPenn
10-25-2007, 03:27 AM
Umm, I tried the patience route, but it just didn't work. I think maybe my patience gland is failing:

Any progress with an idiots installer Adam? I have shell access, but other than that don't have a clue where to start with the instructions in this thread :(

Ta everso,

Mark

Adam B.
10-25-2007, 12:57 PM
To be honest, I haven't done anything on my iLiad in the past 3 days other than take notes in meetings.

I'd imagine to have something ready by the end of the week. Sorry for the delay guys...

nkelle
10-25-2007, 03:44 PM
Hi,
Hereīs a little help for tinkerer until Adam has time again
I did the following (SSL must be available-(unbrickable)):

1. copied dir /mozilla-minimo first to MMC
2. Delete the /usr/lib/mozilla-minimo directory with emelFM2 or via terminal mrxvt (backup)
2. copy from MMC /mozilla-minimo to /usr/lib
3. created at MMC dir /backup/hackx11 and copied the hacked libX11.so.6 , libXau.so.6, libXdmcp.so.6 and libXmu.so.6 from Antarcticta from this board to that dir
4. modiefied /usr/lib/mozilla-minimo/run-mozilla.sh Line 331 to LD_LIBRARY_PATH=/media/card/backup/hackx11
5. start LAN or WAN
6. run from mrxvt (full path required): /usr/lib/mozilla-minimo/run-mozilla.sh /usr/lib/mozilla-minimo/minimo

After a view seconds minimo arrives with mozillahomepage,
drag and drop the terminal window (not close) for better viewing.
Itīs not ultrafast or rockstable but it works nice with embedded pictures etc. :grin2:

Greets
nkelle

Adam B.
10-25-2007, 03:53 PM
I'm closing this thread and releasing a beta.

You can find the new thread here: http://www.mobileread.com/forums/showthread.php?t=15448

:locked: