maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Minimo 0.15 running (https://talk.maemo.org/showthread.php?t=1929)

jayholler 2006-05-07 02:50

Minimo 0.15 running
 
Check this out:

http://static.flickr.com/50/141172753_0cadf8996c.jpg

The deb and instructions can be found at http://tonikitoo.blogspot.com

It takes a little hacking and installation of libstdc++6.0, but it works as well as opera's browser. You need to run it from within xterm, and I took antonio's few lines of cli input and made a little shell script called runminimo to make it easier to launch. Pages like Google Reader work great, whereas opera won't properly load the ajax app for me. it does have a fullscreen mode, but there is currently no way to get back out of fullscreen. if someone figures this out the browser would be nearly end user ready. The way it is now, if I use fullscreen mode I then have to hit the home button, go back into xterm, open a new tab and run ps to get the id so i can kill the app. If I don't launch fullscreen mode, when I close minimo xterm closes the app but returns "Segmentation Fault". there are some other minor issues but if someone who knows what they were doing I suspect this could easily replace the default opera browser. it is just as fast, smooth, and easy to use. And besides handling pages opera won't render correctly, TABBED BROWSING ON THE 770!!!

Coolty 2006-05-07 05:15

sounds great, but i'm more interested in your theme :P
where can i get it?

kutibah 2006-05-07 06:50

Ok, I got this running, but do I have to do this:

Nokia770-05: cd /var/lib/install/usr/lib/minimo/
Nokia770-05: export LD_LIBRARY_PATH=.
Nokia770-05:/var/lib/install/usr/lib/minimo# export DISPLAY=:0
Nokia770-05:/var/lib/install/usr/lib/minimo# ./minimo

everytime I want to run minimo? Is there a way to create a symbolic link and make an icon in the Extras folder?

aflegg 2006-05-07 11:38

Quote:

Originally Posted by Coolty
sounds great, but i'm more interested in your theme :P
where can i get it?

The theme is kontorri's example NuvoTheme, which demonstrates his Theme Maker.

jayholler 2006-05-07 14:23

1 Attachment(s)
Quote:

Originally Posted by kutibah
Ok, I got this running, but do I have to do this:

Nokia770-05: cd /var/lib/install/usr/lib/minimo/
Nokia770-05: export LD_LIBRARY_PATH=.
Nokia770-05:/var/lib/install/usr/lib/minimo# export DISPLAY=:0
Nokia770-05:/var/lib/install/usr/lib/minimo# ./minimo

everytime I want to run minimo? Is there a way to create a symbolic link and make an icon in the Extras folder?

I put those four lines in a file called runminimo (you could call it anything i suppose, like "m" for example) and put it in /var/lib/install/usr/bin, since that is included in my path in the user .profile file. that makes it much easier to launch. the file is attached.

kutibah 2006-05-07 15:50

Quote:

Originally Posted by jayholler
I put those four lines in a file called runminimo (you could call it anything i suppose, like "m" for example) and put it in /var/lib/install/usr/bin, since that is included in my path in the user .profile file. that makes it much easier to launch. the file is attached.

Thank you!

andrew 2006-05-07 17:59

How did you get libstdc++6 on there?

troubleshootr 2006-05-07 17:59

Quote:

Originally Posted by jayholler
I put those four lines in a file called runminimo (you could call it anything i suppose, like "m" for example) and put it in /var/lib/install/usr/bin, since that is included in my path in the user .profile file. that makes it much easier to launch. the file is attached.

Wouldn't you need this in the file:

#!/bin/sh
cd /var/lib/install/usr/lib/minimo/
export LD_LIBRARY_PATH=.
export DISPLAY=:0
./minimo

Then make the file executable by chmod +x runminimo

kutibah 2006-05-07 18:34

Quote:

Originally Posted by troubleshootr
Wouldn't you need this in the file:

#!/bin/sh
cd /var/lib/install/usr/lib/minimo/
export LD_LIBRARY_PATH=.
export DISPLAY=:0
./minimo

Then make the file executable by chmod +x runminimo

I don't think so. I just put the file under /usr/bin/run.txt (renamed to run.txt) and then I can execute it just by entering in run.txt. It works fine.

kutibah 2006-05-07 18:39

Quote:

Originally Posted by andrew
How did you get libstdc++6 on there?

Go here:
http://ftp.us.debian.org/debian/pool...4.3-13_arm.deb

Download the arm package and put it in the root of your memory card. Use the command:

dpkg -x /media/mmc1/libstdc++6-0_3.4.3-13_arm.deb /

Make sure you have minimo installed. Then use the "mv" command to move the 2 directories that it makes to the Minimo directory: /var/lib/install/usr/lib/minimo

After all that, you'll need to type this in Xterm everytime you want to launch minimo:

cd /var/lib/install/usr/lib/minimo/
export LD_LIBRARY_PATH=.
/var/lib/install/usr/lib/minimo# export DISPLAY=:0
/var/lib/install/usr/lib/minimo# ./minimo

Or, you can use the autoscript which was stated above.

troubleshootr 2006-05-07 19:53

Quote:

Originally Posted by kutibah
I don't think so. I just put the file under /usr/bin/run.txt (renamed to run.txt) and then I can execute it just by entering in run.txt. It works fine.

hmmm, you're right.

troubleshootr 2006-05-07 22:37

Now aren't you glad you are not running Windows Mobile? Surfing the internet was but impossible with Windows Mobile. No comparison to the 770 display.


http://cassarapage.com/new_ui_1.PNG

My Dell AXIM now sits in the dresser drawer.

jayholler 2006-05-08 13:21

Some observations:

Google Reader works as expected.

On Flickr, I can't edit te titles, add pictures to photosets, or do much of anything really in the Opera browser, but minimo let's me do all that. The thing that bothers me is it is possible to integrate these changes into the opera browser but they must have specifically decided not to include features. Why? Stability? Last night I edited te titles to 37 new photos, and also added each one to photosets I created. The browser didn't bat an eye. It might even be a hair quicker than my PC at work which only has IE.

A few minor modifications would make this the browser to beat on the 770:

If the keyboard didn't pop up everytime a new page is loading, and minimized when typing the (enter) key.

If thre was a way to toggle between full screen mode back out to "regular", what is that called anyway. I think this is a limitation of running a program from xterm, not the SW. The SW can certainly do it, but the hacky nature of running minimo on linux will leave some things to be desired until this app can be further modified. This is simply a matter of mapping a HWkey on the device to toggle this behavior. However I haven't found anything yet in any minimo files that sets HW keys as easily as input.ini in the opera folders.

jayholler 2006-05-08 17:27

So, is anybody able or willing to hack minimo a little to optimise it for the 770? It would be really great to be able to use it in fullscreen mode, and launch it from the extras menu on the home screen. It would also be nice if the menu buttons on the left and right bottom of the screen were accessible in fullscreen mode. besides that, and the fact that bookmarks never seem to stay (always comes up empty when opening the program, although it remembers all the previously entered addresses), it does just a good if not better job of web browsing than opera's app.

dcarter 2006-05-08 20:03

Quote:

Originally Posted by kutibah
Go here:
http://ftp.us.debian.org/debian/pool...4.3-13_arm.deb

Download the arm package and put it in the root of your memory card. Use the command:

dpkg -x /media/mmc1/libstdc++6-0_3.4.3-13_arm.deb /

Make sure you have minimo installed. Then use the "mv" command to move the 2 directories that it makes to the Minimo directory: /var/lib/install/usr/lib/minimo

After all that, you'll need to type this in Xterm everytime you want to launch minimo:

cd /var/lib/install/usr/lib/minimo/
export LD_LIBRARY_PATH=.
/var/lib/install/usr/lib/minimo# export DISPLAY=:0
/var/lib/install/usr/lib/minimo# ./minimo

Or, you can use the autoscript which was stated above.


I am so lame. I apologize for the idiocy of my questions,
but, here goes:

I ran the dpkg command successfully from xterm on the libstdk .deb placed on my mmc. That worked fine, but I can't find any resulting files,
and, even if I can,
can you help me with the mv command specifically- i.e. how to place the resulting files from the dpkg of libstdk .deb in the minimo folder (which I installed via ai)

I am an educator who would be able to use my nokia at the workplace if I had minimo to get on the special sites I need.....

Don't know linux (yet) but I hate windows with a passion and am LOVING my 770.

Also, will minimo work if I have a swap going on?

Thanks in advance for any kindness thrown my way!

dcarter

gultig 2006-05-08 21:49

Quote:

Originally Posted by dcarter
I am so lame. I apologize for the idiocy of my questions,
but, here goes:

I ran the dpkg command successfully from xterm on the libstdk .deb placed on my mmc. That worked fine, but I can't find any resulting files,

If ran successfully, there will be a new usr folder and a new share folder I believe. Think of a deb as an elaborate zip file for right now. There are paths in this file that will result in folders being created where you ran it. In normal operation this helps the documentation be installed in the documentation folder, the application binary in the application binary section, and so forth.
Quote:

and, even if I can,
can you help me with the mv command specifically- i.e. how to place the resulting files from the dpkg of libstdk .deb in the minimo folder (which I installed via ai)
In *nix (linux/unix/etc) you will find that the directory that you are currently in is represented as a dot (.). So if you see the path ./folder it is referencing a folder found in the directory that you are currently in, whereas the path /folder is referring to a folder located at the base or root of the system ('c:\' if you will).

You will find the two files in ./usr/bin I believe. Once you have located them it will be:
mv ./libstdc++.so.60 /var/lib/install/usr/lib/minimo/libstdc++.so.6
mv ./libstdc++.so.60.0.3 /var/lib/install/usr/lib/minimo/

mv is called: mv frompath topath

So in the first example, the file is being renamed as it is moved to another directory. And in the second, we are simply moving the file to a new directory so there is no need to have the filename in topath.

* FYI - There are implicit and explicit ways to refer to objects (files/folders/links/etc) in the filesystem. The last command could have been called a few different ways and still work. I prefer explicit because it leaves no room for error when working with important objects.

Quote:

I am an educator who would be able to use my nokia at the workplace if I had minimo to get on the special sites I need.....
Quite frankly, this release is not there yet. Antonio has been working on this for the last bit, and there is quite some way to go. But seeing as he's even checking in on posts while he is on his vacation, this could take no time at all.

Quote:

Don't know linux (yet) but I hate windows with a passion and am LOVING my 770.

Also, will minimo work if I have a swap going on?
Don't know.

Quote:

Thanks in advance for any kindness thrown my way!

dcarter
You're welcome.

gultig 2006-05-08 21:53

Just noticed that kutibah's post is installing the deb into / rather than ./ or /media/mmc1 (look at the topath). This of course means that the files have been installed into the root of your filesystem. rather than your memory card. Look for the usr folder there.

jayholler 2006-05-09 04:26

Just another quick comment. Since i'm pretty new to linux I wasn't sure if I could name a script just a single letter, but I can. So I took the runminimo script from above and mv'd it to just m. So now I launch xterm, type m and hit enter, and minimo begins to load. Someone mentioned creating a symbolic link to make a menu item in the extras folder to make launching the app even easier, anyone know how to do this?

tonikitoo 2006-05-13 21:47

current todo list ...
 
Quote:

Originally Posted by jayholler
So, is anybody able or willing to hack minimo a little to optimise it for the 770?

yeap :) I am

after reading up all comments on my blog and here (thanks you all), I summarized a minimal list of tasks to make minimo 016 (or forth ) more pratical, suitable and user friendly for the 770:


* 770 hardware key support (including un/fullscreen mode, zomming in/out)
* command line options (including launching it in fullscreen mode)
* custom css (fitting it better into our 800x480)
* static link of libstdc++ (avoiding external .deb)
* make the virtual keyboard shows up/hide according to html forms' focus in/out events
* adapt firefox prompts (alert etc) to our screen size
* add an icon to launch it from extra-menu


do I miss something ?

btw, great feedback jay ;) thanks

dcarter 2006-05-13 21:56

Quote:

Originally Posted by gultig
If ran successfully, there will be a new usr folder and a new share folder I believe. Think of a deb as an elaborate zip file for right now. There are paths in this file that will result in folders being created where you ran it. In normal operation this helps the documentation be installed in the documentation folder, the application binary in the application binary section, and so forth.

In *nix (linux/unix/etc) you will find that the directory that you are currently in is represented as a dot (.). So if you see the path ./folder it is referencing a folder found in the directory that you are currently in, whereas the path /folder is referring to a folder located at the base or root of the system ('c:\' if you will).

You will find the two files in ./usr/bin I believe. Once you have located them it will be:
mv ./libstdc++.so.60 /var/lib/install/usr/lib/minimo/libstdc++.so.6
mv ./libstdc++.so.60.0.3 /var/lib/install/usr/lib/minimo/

mv is called: mv frompath topath

So in the first example, the file is being renamed as it is moved to another directory. And in the second, we are simply moving the file to a new directory so there is no need to have the filename in topath.

* FYI - There are implicit and explicit ways to refer to objects (files/folders/links/etc) in the filesystem. The last command could have been called a few different ways and still work. I prefer explicit because it leaves no room for error when working with important objects.


Quite frankly, this release is not there yet. Antonio has been working on this for the last bit, and there is quite some way to go. But seeing as he's even checking in on posts while he is on his vacation, this could take no time at all.


Don't know.



You're welcome.


DUDE! It worked!!!

Thanks for your help- I think I am getting the hang of non-GUI os manipulation, and I LIKE iT!!

It seems to crash if I try random sites, but if I browse off the cool little minimo-optimized links on the left, it does the tabbed-browsing thing like a champ!

This one piece of software, if optimized for N770, would REALLY work out nice with Google-Nokia's nefarious plans, non??

Once again, I really appreciate your help, folks!

DCarter

jayholler 2006-05-14 04:27

thanks antonio, I really like all the work you have put into this app, and working out all the bugs inherent in bring the app to a device with totally different ways of handling many aspects of the interface. I'm glad to help however i can. i really like open source, and i really like mozilla. it only makes sense that minimo should run on the 770. opera did a pretty good job, but it appears even a hacked minimo is more standards compliant in several ways. i'm really excited to hear of your plans for improvements to the app, and I can't wait to try .016! I'll give you as much feedback as possible. I can't believe mozilla isn't working on a 770 specific port in house. and i'm flattered to see a post about me in dougt's blog. woohoo!

cybe 2006-07-05 08:59

Tried a Minimo found on planet maemo. Very impressive. Multitasks well (tabs).

tonikitoo 2006-07-07 14:06

new version available at http://tonikitoo.blogspot.com/2006/0...available.html

feel free to mail tonikitoo@gmail.com !

ilia 2006-07-07 15:45

Considering Nokia's support of Minimo, it appears that Nokia is not doing anything about minimo port to Nokia 770. is that right? Is tonikitoo's effort the only one?

ilia 2006-07-07 15:46

tonikitoo, i installed your latest minimo on my Nokia 770 2006 OS and my tablet is now unusable. Everything crashes. I uninstalled minimo and still everything crashes. Looks like I will have to re-flash the tablet.

fpp 2006-07-08 20:30

Antonio, this port is coming along real nice !
Minimo is almost fast enough now, and it runs most Ajax sites that still break Opera in the 2006 OS : Google Calendar, NetVibes, etc... This is great !
Now what it mostly needs is hardware keys support... I went into full screen mode once and then didn't know how to get out of it :-)
Thanks for the good work,
fp

fpp 2006-07-08 20:44

Side note for RogerS : Minimo also appears to run TiddlyWiki just fine !

tonikitoo 2006-07-10 22:15

odd ...
 
Quote:

Originally Posted by ilia
tonikitoo, i installed your latest minimo on my Nokia 770 2006 OS and my tablet is now unusable. Everything crashes. I uninstalled minimo and still everything crashes. Looks like I will have to re-flash the tablet.

wow ... odd

A possible reason might be I had to pack some missing Xlibs into the .deb ... see http://maemo.org/pipermail/maemo-dev...ly/004499.html

anyways, but of course I tested the .deb on my device and I haven't seen any problem. Have anyone else you know of faced this problem ?

To avaid this kind of problems I'm going to create two .deb files: minimo itself, and other one packing these shared libraries it misses , but not for this next release yet ...

tonikitoo 2006-07-10 22:24

it's by my own
 
Quote:

Originally Posted by ilia
Considering Nokia's support of Minimo, it appears that Nokia is not doing anything about minimo port to Nokia 770. is that right? Is tonikitoo's effort the only one?

any nokia's finger at all on *minimo stuff specifically* ... although it'd be great to have device specific improvements on n770's xul support.

fpp 2006-07-10 22:26

My own install didn't seem to break anything. But then I'd only just flashed to the new OS ; maybe it's something that happens only if you've installed some other specific package before ? (in that case it's going to be hard to track down...)

Milhouse 2006-07-11 00:32

Quote:

Originally Posted by tonikitoo
any nokia's finger at all on *minimo stuff specifically* ... although it'd be great to have device specific improvements on n770's xul support.

http://www.mozillazine.org/talkback.html?article=4864

You'd best check with DougT, failing that see what contacts the Mozilla Foundation have with Nokia and see if Nokia are aware of your efforts to get Minimo up and running on the 770. Perhaps start with Alex Bishop from Mozillazine, or go straight to the top and contact Brendan Eich. Alternatively, Ari Jaaksi runs the Nokia Open Source development operation and one would hope he has a clue what Nokia are up to.

It does seem odd that Nokia aren't already involved with a 770 Minimo port, although more recently Nokia seem to have spent their time developing their own Symbian/S60 browser based on KHTML.

It's been 2+ years since their apparent involvement with Mozilla Foundation began, and with only one guy (DougT) appearing to be working on the Minimo project maybe Nokia have cut their losses and decided to stick with Opera and KHTML for now. :(

Talk about scatter gun approach to product selection - if you can't decide which one to support, support 'em all!

Milhouse 2006-07-11 00:37

By the way, my install of 0.16.1 went ok -ish.

First install didn't add an entry on the Extras menu (not even after a reboot) so I uninstalled and re-installed a second time at which point the entry appeared. After installing I didn't notice any instability with other applications, but had to uninstall as on the whole I found 0.16.1 unusable since the soft keyboard would not appear meaning it was impossible to enter new URLs! :)

I guess soft keyboard support will be added in due course - I look forward to seeing Minimo and tabbed browsing available on the 770 eventually!

Keep up the good work :)

smackpotato 2006-07-11 00:45

opening about:config in minimo and changing nglayout.initialpaint.delay to 5
speeds it up considerably also changing browser.download.dir to a directory
that exists might be a start to geting downloads to work

smackpotato 2006-07-11 01:18

milhouse. pressing the hardware enter key brings up the keyboard

Milhouse 2006-07-11 01:37

Quote:

Originally Posted by smackpotato
milhouse. pressing the hardware enter key brings up the keyboard

Doh! Tried all the other keys except that one!!! Will reinstall in the next few days - thanks for the tip :)

johsua 2006-07-11 04:18

I was unable to log in to gmail. I could enter my name and password, but when I tapped on the submit button it just sat there. Any ideas? Otherwise it looks really nice vs. opera.

konfoo 2006-07-11 04:51

Great work. The application font for menus, title bars etc doesn't seem to obey the theme preferences. Any plans to include that in future releases?

tonikitoo 2006-07-11 14:40

just a second ... :)
 
Quote:

Originally Posted by Milhouse
http://www.mozillazine.org/talkback.html?article=4864

You'd best check with DougT, failing that see what contacts the Mozilla Foundation have with Nokia and see if Nokia are aware of your efforts to get Minimo up and running on the 770. Perhaps start with Alex Bishop from Mozillazine, or go straight to the top and contact Brendan Eich. Alternatively, Ari Jaaksi runs the Nokia Open Source development operation and one would hope he has a clue what Nokia are up to.

It does seem odd that Nokia aren't already involved with a 770 Minimo port, although more recently Nokia seem to have spent their time developing their own Symbian/S60 browser based on KHTML.

It's been 2+ years since their apparent involvement with Mozilla Foundation began, and with only one guy (DougT) appearing to be working on the Minimo project maybe Nokia have cut their losses and decided to stick with Opera and KHTML for now. :(

Talk about scatter gun approach to product selection - if you can't decide which one to support, support 'em all!

milhouse, I can not talk in name of nokia, and neither could nor want to ... So I am not claiming nokia is not involved on mozilla stuff targeting n770 ... I am just talking about my port job ! (Just to clarify things ;))

and yes, there are lot of rumors about nokia and minimo ... not sure about any of them

tonikitoo 2006-07-11 14:44

logins are broken ...
 
Quote:

Originally Posted by johsua
I was unable to log in to gmail. I could enter my name and password, but when I tapped on the submit button it just sat there. Any ideas? Otherwise it looks really nice vs. opera.

It'll be fixed on next releases ... thanks for reporting

tonikitoo 2006-07-11 14:47

in the future
 
Quote:

Originally Posted by konfoo
Great work. The application font for menus, title bars etc doesn't seem to obey the theme preferences. Any plans to include that in future releases?

Yeap, Konfoo, but currently I'll spend time on usability and more needed features ... but after getting it stable, themes , fonts and look'n'feel issues will be under attack :)


All times are GMT. The time now is 22:38.

vBulletin® Version 3.8.8