Re: Om2009 testing release 5

2009-06-24 Thread Marco Trevisan (Treviño)
Michal Brzozowski wrote:
 Now I have Serenity again, the illume keyboard is turned off again
 (yay), the battery app shows the state wrong (!)

Ive not tried with paroli, but when I compile e17 from svn and I upgrade
the version I've in my Om2008 partition I've to go in Illume-settings -
Advanced - Battery Meter - Advanced - Hardware - Internal.
Then it counts correctly.

 I don't understand anything from this, why is Paroli duplicating the
 options from illume-settings?

Well, imho having everything in a settings manager could be useful.

 And a more general question, is Paroli trying to be more than a phone
 app? Is it going to replace illume?

According to the FAQ it isn't.
By the way in my opinion Paroli should allow to be run in two ways:
using its own launcher as an all-in-one/fullscreen application, and
using illume as launcher; In fact the paroli apps can be also launched
using a simple dbus call, but actually they seem to work only if the
launcher is still opened (while launching them with the main Launcher in
background causes Paroli to crash).

However it would be important to keep the dialer/log/contacts/messages
and other main paroli applications always in background to make them
popping-up quckly.

I think that this would be the best way to use the nice paroli telephony
related applications with an illume-based distro.

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [OM2009] airplane mode

2009-06-23 Thread Marco Trevisan (Treviño)
jeremy jozwik wrote:
 window seat makes no difference : )
 in fact for several minuets i was holding my freerunner against the
 window and got nothing...

I was able to... When I tried while flying, I needed a lot of time to
get the fix, but then I got it. Another time I've got the fix before of
getting in the plane and I was able to track all the flight :P

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Om2009 testing release 5

2009-06-23 Thread Marco Trevisan (Treviño)
Rui Miguel Silva Seabra wrote:
 I found the same issue than Michal, not a real problem, but it's hard to
 scroll without clicking.
 Could you specify on what views (or all?) is this?
 for the people view, it's ok, scrolling nicely without clicking, but in
 the settings menu, I put my finger on item A, then scroll up/down, when I
 release it, the item A is automatically clicked.
 
 Yes, it's very hard to navigate in the settings area. Maybe the list of items 
 is
 not being created the same way?

I'd suggest also to use the lateral scrolling (left/right) to
(respectively) decrease and increase the values for options such the
Suspend time and other cycling settings; actually changing them is
really annoying!

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr/elementary] fonts and styles

2009-06-12 Thread Marco Trevisan (Treviño)
David Ford wrote:
 raster?
 
 what are the settings i can put in a dotfile to adjust elementary app
 fonts and styles?

You've just to export env variables. Use ELM_SCALE or only
ELM_FINGER_SIZE. Read more at [1]. ;)


[1] http://trac.enlightenment.org/e/wiki/Elementary

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Popping up virtual keyboards via PyGTK, double click rate

2009-06-05 Thread Marco Trevisan (Treviño)
Al Johnson wrote:
 On Thursday 04 June 2009, David Ford wrote:
 I've been told that telling the widget to grab the focus should pop up
 the virtual keyboard, but it has yet to happen.
 
 Not quite - it responds to various X atoms being set. This post has some more 
 info, including c code. You may need to check the illume source for the 
 complete list of atoms.
 http://www.mail-archive.com/community@lists.openmoko.org/msg41666.html
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

Well, if you don't want to implement this only for an application, you
only have to add the libmb-im-invoker.so under the gtk lib immodules
dir. It's included in the opkg package matchbox-keyboard-im.

By the way the gtk libraries have a bug, since they don't allow the
keyboard to pop-up (i.e. don't send the focus callback) if the
selected entry has no visibility (i.e. if it is a password field).

Bye

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.30 - beta release) Elementary based mplayer frontend

2009-05-29 Thread Marco Trevisan (Treviño)
c_c wrote:
 Marco Trevisan (Treviño) wrote:
 Yes... It still plays while the interface hangs; so it's not a file
 issue. Just a GUI problem there.

  Hmmm, I guess I'll have to try running the distribution here. CAn you send
 me a link to the version of elementary you're using?
  I'll try debugging this soon.

I've already posted it. Here you are [1].

[1]
http://n2.nabble.com/Intone-%280.51%29-Elementary-mplayer-frontend---updated-20-May-tp2587826p2976554.html

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.30 - beta release) Elementary based mplayer frontend

2009-05-28 Thread Marco Trevisan (Treviño)
c_c wrote:
 Hi,
 
 Marco Trevisan (Treviño) wrote:
 However I've noticed that the interface hangs as soon as I play a
 song... But maybe this is just due to my mplayer version.
 Have you tried it?

  There are two things to look for:-
   1. Does mplayer play the same song from the command line? I have a few wma
 files that mplayer has issues handling - and intone hasn't yet grown to
 handle unexpected mplayer errors. That's on my list (actually to shift the
 entire mplayer handling to ecore_exe_pipe_run) - but I haven't really gotten
 around to doing it yet.

Yes... It still plays while the interface hangs; so it's not a file
issue. Just a GUI problem there.

   2. Does the version of elementary support sliders in 2008?

Om2008 neither has elementary; I've compiled it for it recently (I mean
just few weeks ago) and all the apps I've tested with works well, but
intone. Anyway the slider works there...

   You could try running intone from the command line and seeing what it
 throws up - if anything.

Done. Nothing changes.

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.30 - beta release) Elementary based mplayer frontend

2009-05-27 Thread Marco Trevisan (Treviño)
c_c wrote:
 Hi,
 
 Marco Trevisan (Treviño) wrote:
 Simply use my libraries [1] and run it with:
 LD_LIBRARY_PATH=/usr/e17/lib
 ELM_THEME=/usr/e17/share/elementary/themes/default.edj intone
  Thanks Marco. That was a pending bug - and I wasn't closer to finding any
 solution to that one. At least that's one thing solved.

However I've noticed that the interface hangs as soon as I play a
song... But maybe this is just due to my mplayer version.
Have you tried it?

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher/Home Page (Proof of concept) Working App Release 0.11

2009-05-26 Thread Marco Trevisan (Treviño)
Adam Jimerson wrote:
 I have ran into a dependency problem with it 
 launcher: error while loading shared libraries: libehal-ver-pre-svn-01.so.0: 
 cannot open shared object file: No such file or directory
 
 No errors where thrown during install of launcher, using the 0.15 package, I 
 am using the 05/03 release of SHR-Testing what needs to be done to resolve 
 this dependency, can't find anything that provides that in the SHR feeds.

For using it in testing, simple do:
 cd /usr/lib
 for i in libe*.so.0; do ln -s $i $(basename $i -ver-pre-01.so.0)
-ver-pre-svn-01.so.0; done

However, this is a cool application.
By the way what about implementing in it what I've done in shr-notifier
for sound/vibration notification (both when the phone is in standby and
suspended)?

I've explained what I've done here [1]. The python code (as example) is
in my git [2].
I'd really miss that..

[1] http://mail-archive.com/community@lists.openmoko.org/msg46036.html
[2] http://dev.3v1n0.net/gitweb/?p=shr-notifier.git

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.30 - beta release) Elementary based mplayer frontend

2009-05-26 Thread Marco Trevisan (Treviño)
Marco Trevisan (Treviño) wrote:
 I've just tried it again in my Om2008 with fresh svn e/elementary (just
 recompiled), but I still get the black page bug.
 This is quite strange since I only get this behavior with this
 elementary application... Who knows why... :/

I've retried it today and... I got it working also in Om2008 distros (I
still use it due to its stability, I figure I'm not the only) ;)

Simply use my libraries [1] and run it with:
LD_LIBRARY_PATH=/usr/e17/lib
ELM_THEME=/usr/e17/share/elementary/themes/default.edj intone

I've simply made a wrapper script in /usr/local/bin/intone with:

#!/bin/sh
export ELM_THEME=/usr/e17/share/elementary/themes/default.edj
export LD_LIBRARY_PATH=/usr/e17/lib
/usr/bin/intone $*

Who knows why it doesn't grab correctly the elm theme, but it's nice to
get it there too :P!

[1]
http://downloads.tuxfamily.org/3v1deb/openmoko/e17-illume-elementary%2bsvn20090507.tar.bz2

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: little today app for shr

2009-05-18 Thread Marco Trevisan (Treviño)
Pietro m0nt0 Montorfano wrote:
 Hi, bored loosing some calls and always need to periodically check
 pyphenlog i wrote a really simple apps that warn me if one or more call
 are lost.

Few days ago after that Pietro posted this app I hacked around its code
adding two main functionalities I needed:
 1) Vibrating/Sound [following the preferences] notifications every X
seconds (120 by default) if the phone is waked-up [1]
 2) Vibrating/Sound [following the preferences] notifications every X
minutes (15 by default) if the phone is sleeping [2].

While the first one is quite easy to add (It only needed an ecore timer)
the second one uses a workaround and ATD to work.
I've explained a little how it works in my commit at [2], but basically
it adds a new rtc-timer every 15 seconds and if the phone has been
resumed by ATD and if there's a notification to perform, then it plays a
vibration/sound and suspends again.

I've waited some days to post this on the list, because I wanted to test
it better, however I figure that the only way to fix the known issues of
the (2) feature (again, see [2]) is to patch the kernel to save in a
sysfile the latest resume time.

I've made this only as a proof-of-concept since I wanted this to be
implemented in the FSO correctly; I figure that this is the only way to
perform such notifications when the phone is suspended.

Any feedback? Please post :P

PS: To get the latest version of the script, look here [3].

[1] http://dev.3v1n0.net/gitweb/?p=shr-notifier.git;a=commit;h=42cd96
[2] http://dev.3v1n0.net/gitweb/?p=shr-notifier.git;a=commit;h=76ef4c695
[3]
http://dev.3v1n0.net/gitweb/?p=shr-notifier.git;a=blob;f=notifier;hb=HEAD

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Detecting headset button press

2009-05-07 Thread Marco Trevisan (Treviño)
arne anka wrote:
 fso framework detects headset plug-in and switches alsa stae accordingly  
 -- why don't you have a look at fso, how they do that?

In my qtopia-x11 version I've used this workaround [1] to do it.

Maybe it helps.

[1]
http://dev.3v1n0.net/gitweb/?p=qtopia-x11.git;a=commitdiff;h=ce3bcd11addffab7c3b1050f33ed8e67b0505740

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] Podboy (0.0.1 - pre-alpha release)

2009-05-07 Thread Marco Trevisan (Treviño)
Valery Febvre wrote:
 Podboy is a podcast aggregator/player written in Python/Elementary.
 
 Its interface aims to be easy and finger friendly.

I've just seen the screenshots but the interface is very cool.
Compliments ;)

 It uses Feedparser Python module for download/parsing of podcast feeds,

I've not tried it, so I'm only figuring this, but not to block the
interface you could use the ecore_con (ecore_file_download) functions to
retrieve the data.

 Gstreamer for playing of episodes and SQLite for storing data.

Is it gstreamer better than mplayer (from the performance point of view)?

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debuzzing

2009-05-06 Thread Marco Trevisan (Treviño)
Dr. H. Nikolaus Schaller wrote:
 2) Therefore we plan to offer this service to all Openmoko owners  
 within the EU harmonized market / tax union (to avoid re-import/export  
 hassle). Please note that there will be a rework fee. The final price  
 is not yet clear (expected to be less than 30 EUR incl. shipment)  
 because we are in intensive discussions with Openmoko how they can  
 help to reduce this fee for you.

Is this rework fee valid also for your customers? Don't you offer a kind
of warranty?
If not, can I fix my freerunner in another SMD rework company without
voiding my warranty?

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.30 - beta release) Elementary based mplayer frontend

2009-05-06 Thread Marco Trevisan (Treviño)
c_c ha wrote:
   One more thing, since now SHR, OM 2009 (unstable) and FSO all use the
 newer e libraries,
 I'm thinking of moving over to them. Just wanted to know if there are people
 still using older
 distributions - in which case I'll have to release 2 diff packages.
 
   For those on the newer libraries - a pre-release version is attached
 below. Just wanted to
 get some early feedback on the dbus stuff mainly - as also any other
 relevant points.

I've just tried it again in my Om2008 with fresh svn e/elementary (just
recompiled), but I still get the black page bug.
This is quite strange since I only get this behavior with this
elementary application... Who knows why... :/

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [New Mokomaze] Coming soon

2009-04-29 Thread Marco Trevisan (Treviño)
Michael 'Mickey' Lauer wrote:
 One solution would be to make the accelerometers a FSO Resource

Oh yes! This is a thing I was waiting for so long.

 One of the things I want to implement for FSO milestone6 is auto-suspend when 
 the phone is lying up-side-down on a table with auto-wakeup when you give it 
 a 
 whack.

Another gesture to be used could be to turn off the screen while there's
a phone call active and the phone is in a call position (so we don't
need a proximity sensor, but it only feels if the actual position is
possible for a phone near to a left/right ear) :P

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit skins...

2009-04-29 Thread Marco Trevisan (Treviño)
Yorick Moko wrote:
 your skin looks great,
 but it doesn't look all that good in landscape mode
 (needed to see all the letters of the navit keyboard)
 using the illume keyboard is a workaround though...

Sorry, I don't understand. Are you using the internal interface?
I'm not BTW.

However I've designed that skin by only using the moko in portrait
mode since my car-phone-holder can be used only in a such way :P

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-29 Thread Marco Trevisan (Treviño)
c_c wrote:
 Marco Trevisan (Treviño) wrote:
 c_c wrote:
 b) How do I use the pager with a genlist? In my case the pager works - but 
 it doesn't show the genlist - the buttons all show up though.
 Give a look to my eTube code in projects.openmoko.org. It has an
 implementation for it (BTW it works only in Illume WM, not in my
 standard system due to the fact that the window collapse without
 considering the preset evas size at all!)
 Yup ! Thats exactly what happened to me. OK - so I should try it on the FR. I 
 have the code for it commented out in gui.c. Will try it on the FR ASAP.

Ok, I've got this working also in a non-illume configuration. It was all
easy, you've just to use evas_object_size_hint_min_set() (and maybe also
the max correspondent) for setting the elm_bg min (max) size.
The pager won't touch it and it will work as expected ;).

See an example here [1].

[1]
http://dev.3v1n0.net/gitweb/?p=etube.git;a=commitdiff;h=51a3d7c92ab1e9d03bd74a2162c4bfda35299e8b

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit skins...

2009-04-27 Thread Marco Trevisan (Treviño)
Marco Trevisan (Treviño) wrote:
 And... How can be enabled the 3d-view? Should I change something in my
 navit.xml to get it working with latest svn version?
 On [1] they mention a cegui (not supported anymore) that can be  
 started in 3D mode by specifying:
 Well, it should work also in the gtk view using a svn version of navit
 (check also its wiki homepage), but it doesn't to me. :(
 
 I've just found that to use the 3d-mode with the gtk interface I have to
 set manually the pitch by using the w and x key of the keyboard
 (rotation with a and d).
 
 Maybe should be added a pre-set 3d view in the Display menu too.

Ah, and I've written in the Configuration Navit wiki, it can be pre-set
for any interface by setting the pitch=xx argument in the navit tag
of the navit.xml file.

(i.e. navit center=xxx . pitch=15  )

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [New Mokomaze] Coming soon

2009-04-27 Thread Marco Trevisan (Treviño)
 On Mon, Apr 27, 2009 at 10:37 AM, ANT ant0...@gmail.com wrote:
 Hello list!

 I want to tell that Mokomaze (ball-in-the-labyrinth game) is still
 developing.
 Currently I am preparing release of a new version (with completely new
 physics and graphics engines) which will satisfy (almost) all your
 improvement requests.
 The upcoming version (0.5.0) will include many changes compared with
 previous one

Cool!

By the way, using the vista logo was a cool idea, what about re-adding
it? :P

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Theora 320x240 - is it possible?

2009-04-27 Thread Marco Trevisan (Treviño)
David Garabana Barro ha scritto:
 On Monday 27 April 2009 14:33:47 Radek Polak wrote:
 Hi,
 i would like to distribute in my rootfs video player that can play
 theora videos in fullscreen mode 320x240.
 
 Glamo can only accelerate mpeg4 AFAIK
 
 I was experimenting with mplayer on with fbdev as video output, but
 i was able to play just very small resolution video (160x120). I
 used ffmpeg2theora for encoding and mplayer from debian.
 
 You should use a patched mplayer. Xglamo has not xv support.

Xglamo *does* support Xv. I'm using it and works quite at the same level
of the glamo engine (also for non-mp4 files).
For istance, I can nicely play 320x240 flv videos (I only have to use a
framedrop of 2-3 frames).
See previous posts about this. ;)

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all e/illume based] copy/paste

2009-04-26 Thread Marco Trevisan (Treviño)
Petr Vanek wrote:
 hi,
 
 has copy/paste been discussed and some solution exist? I tried to
 search through the wiki but no luck. selecting and copying text, then
 pasting in applications doesn't seem to be really possible. The minimal
 typical scenarios would probably be from sms/email to another sms/email
 or web browser and vice-versa. Any ideas?

Recent versions of Elementary include a support for easy copy/paste
actions. I think it's a good example that could be ported also to other
toolkits (wich mostly need patches, BTW).


-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit skins...

2009-04-26 Thread Marco Trevisan (Treviño)
Marco Trevisan (Treviño) wrote:
 D. Gassen wrote:
 Am 06.04.2009 um 02:49 schrieb Marco Trevisan (Treviño):

 Hello, some days ago I saw this nice skin for Navit [1] on scap.
 Please, could the author share it? :P

 Anyway, how can these skins be written?
 Maybe you want to check out [1], [2] and [3].
 
 Thanks after few searches I found that too :P

I've finally modified the OSD skin to improve the usability (from my
point of view). You can find it here [4].

 And... How can be enabled the 3d-view? Should I change something in my
 navit.xml to get it working with latest svn version?
 On [1] they mention a cegui (not supported anymore) that can be  
 started in 3D mode by specifying:
 
 Well, it should work also in the gtk view using a svn version of navit
 (check also its wiki homepage), but it doesn't to me. :(

I've just found that to use the 3d-mode with the gtk interface I have to
set manually the pitch by using the w and x key of the keyboard
(rotation with a and d).

Maybe should be added a pre-set 3d view in the Display menu too.

[4]
http://wiki.navit-project.org/index.php/OSD#Freerunner_version_by_Trevi.C3.B1o

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian] Woosh! browser from Hackable:1

2009-04-24 Thread Marco Trevisan (Treviño)
rakshat hooja wrote:
 does it have ssl support?

Every webkit based browser has it. You only have to use the right
libcurl (compiled with libgnutls support) or the right libsoap (for
webkit/gtk).

If you need that, search in the archives. I've posted some binaries that
could help you ;)

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Why enlightenment?

2009-04-21 Thread Marco Trevisan (Treviño)
Carsten Haitzler (The Rasterman) wrote:
 On Tue, 21 Apr 2009 13:46:46 +0200 Pander pan...@users.sourceforge.net said:
 Does something like 'PyEnlightenment' exist? Is this Paroli? If I was to
 port the application to Paroli or a 'PyEnlightenment', would it also
 work for noob users on desktops, i.e. can such a toolkit be installed
 via apt-get from the default Linux distribution repository?
 
 yes it does - there are ecore, evas, edje, elementary etc. bindings for
 python, they may be mostly complete. i don't maintain or use them though. as
 for apt-get install - you'll need to find some new repositories for that. we
 are actually preparing a snap of efl right now. elementary isn't included
 thoguh.

I guess you can install everything easily from SVN (see the get_e.sh by
Raster). I'm doing it (using my own scripts BTW) for some months and all
works always well.
So I'd suggest to compile it in your own machine, then you'll be able to
use python as C (of course :P) to write your software... I'm doing this
and also with the help of Xephyr I can forget to write for a phone. When
finally I compile the code for my little ARM boy :P I'm pretty sure
that all is working as expected since the toolkits I'm using are good
(also) for it! ;)

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-21 Thread Marco Trevisan (Treviño)
c_c wrote:
   2. Can I have a slider kind of menu coming in from the sides/bottom? I know 
 it can be done using evas - but I don't know how. That way I can shift out 
 the top 3 buttons (and more that I will add later) from the view so 
 increasing my view area - and yet have them available for use.

I don't know about animation, but if you want just to show the slider
when something is playing you have to add a box at the beginning, then
packing the data (sliders, labels...) there every time that is needed.
Then you can't simply hide them not to show them; you have to use
evas_object_del for each component of the box, and finally hide (not
delete) the box.

I've an implementation of this in eTube, give a look to my search-bar code.

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Why enlightenment?

2009-04-17 Thread Marco Trevisan (Treviño)
Thomas Seiler wrote:
 Hi,
 
 Why enlightenment?
 
 | You see things; and you say, 'Why?'
 | But I dream things that never were; and I say, Why not?
 |George Bernard Shaw,


Thumbs up, here! It was my reply too (Shaw, you only come up before! :P).

By the way if I can give my idea, the switch to Enlightenment has been
the best decision ever taken by Openmoko imho. This made (or helped)
Illume and Elementary to born, giving us a superior GUI system (both
from the usability and look point of view).

I don't really understand why E shouldn't be used. It has demonstrate to
be the best one, so far.

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone - the future and help needed

2009-04-15 Thread Marco Trevisan (Treviño)
c_c wrote:
 Hi,
 c_c wrote:
 can someone convert this to edbus? Also - how do I register a callback to 
 be triggered on an incoming call?
 
 I've used it just few times, but something like this [2] should work
 
  Ah! Thanks a lot. I get the idea.

You can also get more by looking at the test programs available in
e_dbus ;)

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone-video. Really Really Alpha!

2009-04-15 Thread Marco Trevisan (Treviño)
c_c wrote:
 Hi,
   Well, since I'm going to be travelling for the next 4 days - and I _might_ 
 not have time to play with this - I thought I'll quickly post a teaser ipk.

Nice... What about the sources? :P

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone - the future and help needed

2009-04-14 Thread Marco Trevisan (Treviño)
c_c wrote:
   1. dbus - I've coded in glib and I'm not yet comfortable in edbus. So 
 here's [1] the code I used in guitartune to request resource CPU - can 
 someone convert this to edbus? Also - how do I register a callback to be 
 triggered on an incoming call?

I've used it just few times, but something like this [2] should work
(I've not tested it in the phone).


[2] http://pastebin.ubuntu.com/151118/


-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [0M2008.12] qtopia theme

2009-04-09 Thread Marco Trevisan (Treviño)
PaulTT wrote:
 i'm putting together a theme, in a few days it'll be ready, i hope ;)
 i'll tell here when it will be

As PaulTT asked me, I've put together the SVGs I made to make the
qtopia-x11 dialer look more like the Elementary BW theme [1].

To use it in the proper way you should edit accordingly your theme's
dialer xml file.

[1]
http://3v1n0.tuxfamily.org/openmoko/qtopia-dialer-buttons-elementary-like-svg.tar.bz2

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [0M2008.12] qtopia theme

2009-04-09 Thread Marco Trevisan (Treviño)
Carlo Minucci wrote:
 Marco Trevisan (Treviño) ha scritto:
 Carlo Minucci wrote:
 Marco Trevisan (Treviño) ha scritto:

 However theming qtopia is quite easy, I've re-themed all mine with tango
 icons (and elementary-like buttons) :P
 how?
 You've simply to add the icons you want to use in the
 /opt/Qtopia/pics/themes/${theme} path. This is explained also in docs [1].
 
 in my om2008 i don't have this directory
 it's different

You've to create it! ;)

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.24) Elementary based mplayer frontend

2009-04-09 Thread Marco Trevisan (Treviño)
c_c wrote:
 Hi,
I have experienced an only black page when running intone while I was 
 upgrading packages. This might be related to the elementary theme 
 default.edj. After upgrading, things are back to normal - except that I cant 
 see text in entry boxes anymore.
   Any Ideas?

Who knows... I'm still getting the black page bug since the day 1
I've run it, and I'm using e17 svn compiled on 2009-04-02 :/

I'll have to try with a new elementary theme... Mhmh

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Upadated - Intone (0.21 - alpha release) Elementary based mplayer frontend

2009-04-08 Thread Marco Trevisan (Treviño)
c_c wrote:
 @ Treviño - Well, I don't have OM 2008 to test this on - but that is strange. 
 Can you confirm the newer version also does this? I guess I'll have to 
 download OM2008 now!

Yes... New version does it too (I've not the needed oss module [I've it
built-in in my kernel], and I get an error, but this shouldn't be the
cause, isn't it?!).

However if you want to test it with Om2008, use this [1] e17 version
(following the instruciton I posted at [2]) to run it.


[1]
http://downloads.tuxfamily.org/3v1deb/openmoko/e17-illume-elementary%2bsvn20090402.tar.bz2
[2]
http://n2.nabble.com/On-the-Enlightenment-Bleeding-Edge-tp2131838p2131838.html

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [0M2008.12] qtopia theme

2009-04-08 Thread Marco Trevisan (Treviño)
Bernd (Jesus McCloud) Prünster wrote:
 who made it [1] and where to get?
 
 [1] http://scap.linuxtogo.org/files/2abc691f82a2b2ea05789b960fb5f6c4.png

I guess an Italian user nicknamed PaulTT (you can find him at [1])...
However theming qtopia is quite easy, I've re-themed all mine with tango
icons (and elementary-like buttons) :P

[1] http://www.paultt.org/

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [0M2008.12] qtopia theme

2009-04-08 Thread Marco Trevisan (Treviño)
Carlo Minucci wrote:
 Marco Trevisan (Treviño) ha scritto:
 
 However theming qtopia is quite easy, I've re-themed all mine with tango
 icons (and elementary-like buttons) :P
 
 how?

You've simply to add the icons you want to use in the
/opt/Qtopia/pics/themes/${theme} path. This is explained also in docs [1].

To give an idea here you are the list of the icons I've added (they can
be in various formats like svg, png, pic...):

/opt/Qtopia/pics/themes/tango/pics/datebook/icons/readonly.svg
/opt/Qtopia/pics/themes/tango/pics/datebook/icons/birthday.svg
/opt/Qtopia/pics/themes/tango/pics/datebook/icons/duedate.svg
/opt/Qtopia/pics/themes/tango/pics/datebook/icons/silent.svg
/opt/Qtopia/pics/themes/tango/pics/datebook/icons/noalarm.svg
/opt/Qtopia/pics/themes/tango/pics/datebook/icons/anniversary.svg
/opt/Qtopia/pics/themes/tango/pics/datebook/icons/audible.svg
/opt/Qtopia/pics/themes/tango/pics/datebook/DateBook.svg
/opt/Qtopia/pics/themes/tango/pics/icons/day.svg
/opt/Qtopia/pics/themes/tango/pics/icons/new-mail.svg
/opt/Qtopia/pics/themes/tango/pics/icons/account.svg
/opt/Qtopia/pics/themes/tango/pics/icons/find1.svg
/opt/Qtopia/pics/themes/tango/pics/icons/find2.svg
/opt/Qtopia/pics/themes/tango/pics/icons/find.svg
/opt/Qtopia/pics/themes/tango/pics/icons/home.svg
/opt/Qtopia/pics/themes/tango/pics/icons/txt.svg
/opt/Qtopia/pics/themes/tango/pics/icons/globe.svg
/opt/Qtopia/pics/themes/tango/pics/icons/Note.svg
/opt/Qtopia/pics/themes/tango/pics/icons/right.svg
/opt/Qtopia/pics/themes/tango/pics/icons/left.svg
/opt/Qtopia/pics/themes/tango/pics/icons/email.svg
/opt/Qtopia/pics/themes/tango/pics/icons/details.svg
/opt/Qtopia/pics/themes/tango/pics/icons/new.svg
/opt/Qtopia/pics/themes/tango/pics/icons/repeat.svg
/opt/Qtopia/pics/themes/tango/pics/icons/alarmbell.svg
/opt/Qtopia/pics/themes/tango/pics/phone/icons/hangup.svg
/opt/Qtopia/pics/themes/tango/pics/phone/icons/calls.svg
/opt/Qtopia/pics/themes/tango/pics/phone/icons/missedcall.svg
/opt/Qtopia/pics/themes/tango/pics/phone/icons/incomingcall.svg
/opt/Qtopia/pics/themes/tango/pics/phone/icons/outgoingcall.svg
/opt/Qtopia/pics/themes/tango/pics/textedit/TextEditor.svg
/opt/Qtopia/pics/themes/tango/pics/alert_warning.svg
/opt/Qtopia/pics/themes/tango/pics/callhistory/CallHistory.svg
/opt/Qtopia/pics/themes/tango/pics/profileedit/Note.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/AddressBook.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/icons/AddressBook.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/icons/online.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/icons/offline.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/icons/businessmessage.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/icons/homephone.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/icons/homefax.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/icons/homemobile.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/icons/homevoip.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/icons/contactdetails.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/icons/homemessage.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/icons/business.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/icons/notes.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/icons/businessvoip.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/icons/businesspager.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/icons/businessfax.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/icons/businessmobile.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/icons/businessphone.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/contactgroups.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/generic-contact.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/home.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/contactgroup.svg
/opt/Qtopia/pics/themes/tango/pics/addressbook/generic-personal-contact.svg
/opt/Qtopia/pics/themes/tango/pics/qtmail/icons/outbox.svg
/opt/Qtopia/pics/themes/tango/pics/qtmail/icons/trash.svg
/opt/Qtopia/pics/themes/tango/pics/qtmail/icons/account.svg
/opt/Qtopia/pics/themes/tango/pics/qtmail/icons/sendmail.svg
/opt/Qtopia/pics/themes/tango/pics/qtmail/icons/getmail.svg
/opt/Qtopia/pics/themes/tango/pics/qtmail/icons/sent.svg
/opt/Qtopia/pics/themes/tango/pics/qtmail/icons/attach.svg
/opt/Qtopia/pics/themes/tango/pics/qtmail/icons/sent-1.svg
/opt/Qtopia/pics/themes/tango/pics/qtmail/icons/sent-2.svg
/opt/Qtopia/pics/themes/tango/pics/qtmail/icons/outbox-1.svg
/opt/Qtopia/pics/themes/tango/pics/qtmail/icons/trash-1.svg
/opt/Qtopia/pics/themes/tango/pics/qtmail/icons/inbox.svg
/opt/Qtopia/pics/themes/tango/pics/qtmail/icons/drafts.svg
/opt/Qtopia/pics/themes/tango/pics/qtmail/flag_toget.svg
/opt/Qtopia/pics/themes/tango/pics/qtmail/flag_removed.svg
/opt/Qtopia/pics/themes/tango/pics/qtmail/flag_normal.svg
/opt/Qtopia/pics/themes/tango/pics/qtmail/flag_unread.svg
/opt/Qtopia/pics/themes/tango/pics/qtmail/flag_tosend.svg
/opt/Qtopia/pics/themes/tango/pics/qtmail/flag_unread

Re: Intone OGG Support

2009-04-08 Thread Marco Trevisan (Treviño)
The Digital Pioneer wrote:
 Hi. It would seem, since I can't get Intone to actually handle any
 individual songs, that it lacks support for OGG. What's up with that?!
 And more importantly, how do I get OGG support? :)

It should manage it, but I've some problems with recent mplayer builds
and ogg files.

Could you check the output of mplayer when loading an ogg file?
Mine (a very recent svn build) crashes saying that it has been called an
unknown CPU call... :o

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-07 Thread Marco Trevisan (Treviño)
c_c wrote:
 (BTW it works only in Illume WM, not in my standard system due to the fact 
 that the window collapse withoutconsidering the preset evas size at all!) 
 Yup ! Thats exactly what happened to me. OK - so I should try it on the FR. I 
 have the code for it commented out in gui.c. Will try it on the FR ASAP.

You can also use Xephyr for this. Launch it as:
 Xephyr :1 -ac -dpi 283 -screen 480x640+86+295

Then launch e with something like:
 DISPLAY=:1 enlightenment_start -profile illume

And finally use that new display for testing intone ;)

 I'm assuming from the lack of bug-reports that either there aren't many show 
 stoppers - or that people haven't got the time to let me know about them yet. 
 Hope it's the first reason though :-)

Well, I've not written this already, but if I run it in my OM2008 (where
I've installed latest e17 svn) when I launch intone I only get a black
window. It's so strange... No other elementary app does it!

However if I'm not wrong another that is using my e17-svn rootfs had no
issues... :|

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Navit skins...

2009-04-06 Thread Marco Trevisan (Treviño)
Hello, some days ago I saw this nice skin for Navit [1] on scap.
Please, could the author share it? :P

Anyway, how can these skins be written?

And... How can be enabled the 3d-view? Should I change something in my
navit.xml to get it working with latest svn version?

Thanks.


PS: Is the navit EFL porting [2] going on?

[1] http://img403.imageshack.us/img403/2592/a1eb2f95f1cac3004593991.png
[2] http://i34.tinypic.com/2m7t64m.png

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit skins...

2009-04-06 Thread Marco Trevisan (Treviño)
D. Gassen wrote:
 Am 06.04.2009 um 02:49 schrieb Marco Trevisan (Treviño):
 
 Hello, some days ago I saw this nice skin for Navit [1] on scap.
 Please, could the author share it? :P

 Anyway, how can these skins be written?
 
 Maybe you want to check out [1], [2] and [3].

Thanks after few searches I found that too :P

 I stumbled accross these pages by searching for Mineque on the  
 documentation wiki (they had a screenshot of a skin called Mineque on  
 their main page).
 
 I was quite amazed about the possibilities of this software :-)

Me too ;)

 And... How can be enabled the 3d-view? Should I change something in my
 navit.xml to get it working with latest svn version?
 
 On [1] they mention a cegui (not supported anymore) that can be  
 started in 3D mode by specifying:

Well, it should work also in the gtk view using a svn version of navit
(check also its wiki homepage), but it doesn't to me. :(

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-06 Thread Marco Trevisan (Treviño)
c_c wrote:
 Hi,
   Well, it took a lot longer than I thought - but finally  - here's the alpha 
 release of Intone - a mplayer frontend (for audio files - as of now) in C. 
 Uses about 2% CPU (max) while running - memory goes up depending on your 
 playlist - on my phone (~2500 songs) it uses about 15%.
   All you need to do is download the attached ipk and install it. Intone 
 depends on sqlite3 and libelementary. If you have elementary on your phone 
 upgraded to a level where the elementary test application shows you a demo of 
 sliders and genlists, Intone should run on your phone.
   The recommended way to organise music is to put all the files in a folder 
 (lets say Music), with sub folders named after artists (say Music -Eagles) 
 and with sub sub folders holding albums (that becomes Music-Eagles-Hell 
 Freezes Over-*.mp3). That way, Intone can correctly organise your music 
 collection into albums. It automatically creates a default playlist 
 containing all songs and individual playlists for each album. I have added 
 features to manage playlists and albums - but there is always scope for 
 improvement.
   Intone uses a sqlite database as a backend for the playlists and albums. 
 That should, hopefully, give flexibility in adding more features later.

Very nice, as I already said :P

 1. Feedback. - I haven't been able to add dialogs yet. So - wait a little 
 while for Intone to finish long operations (like adding your music collection 
 for the first time - my 2500 odd songs took about 6 secs - the button remains 
 pressed too)

I'd suggest you to use as many ecore_* function as you can to use the e
loop without freezing your app.

 2. Artwork - Ideas / png's / whatever
I'd add just a tango note and a tango folder with note for the songs
and the albums without a specific cover. Use that instead.

 3. Elementary help. I have a lot of questions. Here are a few :-
 a) How do I reduce the vert height of 1 entry in the genlist? Right now 
 each line in the list is too high (almost 3 text lines high) - so I get only 
 about 4 song names on the screen. Can I reduce the height to say 1.5 text 
 line - 2 text line?

This generally is done automatically based on the elementary finger size
and on the scale factor. But I've seen that it can change also if the
icon used is quite big. However I didn't see that running intone in my
PC (using illume BTW).

 b) How do I use the pager with a genlist? In my case the pager works - 
 but it doesn't show the genlist - the buttons all show up though.

Give a look to my eTube code in projects.openmoko.org. It has an
implementation for it (BTW it works only in Illume WM, not in my
standard system due to the fact that the window collapse without
considering the preset evas size at all!)

 c) Dialogs and progress bars. I know elementary doesn't have them - but 
 can I make/have a simple ty solution for the time being?

Dialog-like windows examples are in the Elementary wiki, maybe you could
use them. Anyway I think that using an inwin is a good idea.

About the progress bar, I really think that Elementary needs a widget to
write them easily (I figure that they can do using a edj theme).

Bye!

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-06 Thread Marco Trevisan (Treviño)
c_c wrote:
 Hi,
   Well, it took a lot longer than I thought - but finally  - here's the alpha 
 release of Intone - a mplayer frontend (for audio files - as of now) in C. 
 Uses about 2% CPU (max) while running - memory goes up depending on your 
 playlist - on my phone (~2500 songs) it uses about 15%.
   All you need to do is download the attached ipk and install it. Intone 
 depends on sqlite3 and libelementary. If you have elementary on your phone 
 upgraded to a level where the elementary test application shows you a demo of 
 sliders and genlists, Intone should run on your phone.
   The recommended way to organise music is to put all the files in a folder 
 (lets say Music), with sub folders named after artists (say Music -Eagles) 
 and with sub sub folders holding albums (that becomes Music-Eagles-Hell 
 Freezes Over-*.mp3). That way, Intone can correctly organise your music 
 collection into albums. It automatically creates a default playlist 
 containing all songs and individual playlists for each album. I have added 
 features to manage playlists and albums - but there is always scope for 
 improvement.
   Intone uses a sqlite database as a backend for the playlists and albums. 
 That should, hopefully, give flexibility in adding more features later.
   
Things that don't work as of now :-
 
 1. Feedback. - I haven't been able to add dialogs yet. So - wait a little 
 while for Intone to finish long operations (like adding your music collection 
 for the first time - my 2500 odd songs took about 6 secs - the button remains 
 pressed too)

Ah, why don't you use the ecore_exe_pipe_run function for controlling
mplayer?

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-06 Thread Marco Trevisan (Treviño)
c_c wrote:
 3. Seek. Dont know how to use the slider for seeking. Any Ideas?

The attached patch (intone-seek-fix.patch) does the work.
However I've done another one (intone-seek-fix.patch) that reads
continuously (every 0.5 sec) the real position from mplayer and also if
it uses more CPU (I figure, not tested in my FR) it could be better.
However I've not finished that and it requires a fix (since it actually
makes intone hang as soon as the song reaches its end) too.

By the way actually the slider shows the position in seconds; why not
using the percentage value?

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/
Index: src/gui.c
===
--- src/gui.c	(revisione 2)
+++ src/gui.c	(copia locale)
@@ -211,6 +211,12 @@
 }
 
 void
+pos_change_start(void *data, Evas_Object *obj, void *event_info)
+{
+	ecore_timer_freeze(timer1);
+}
+
+void
 pos_changed(void *data, Evas_Object *obj, void *event_info)
 {
 	double val;
@@ -218,8 +224,10 @@
 	char pos[15];
 	
 	val = elm_slider_value_get(obj);
-	sprintf(pos, seek %d\n, (int)val);
+	pos_time = (int)val;
+	sprintf(pos, seek %d 2\n, pos_time);
 	ret = write(fd, pos, strlen(pos));
+	ecore_timer_thaw(timer1);
 }
 
 static int
@@ -897,7 +905,8 @@
 	evas_object_size_hint_align_set(pos_slider, -1.0, 0.0);
 	elm_box_pack_end(vbox, pos_slider);
 	evas_object_show(pos_slider);
-	//evas_object_smart_callback_add(pos_slider, delay,changed, pos_changed, NULL);
+	evas_object_smart_callback_add(pos_slider, changed, pos_change_start, NULL);
+	evas_object_smart_callback_add(pos_slider, delay,changed, pos_changed, NULL);
 
 	//add hbox to vbox at pos 4
 	hbox = elm_box_add(win);
Index: src/gui.c
===
--- src/gui.c	(revisione 2)
+++ src/gui.c	(copia locale)
@@ -39,12 +39,33 @@
 
 int timer_func(void *data)
 {
-	//set position data
-	pos_time ++;
-	if(pos_time  song_dur) {
+	char cmd[255], *tok;
+	int ret;
+	ssize_t read;
+	size_t len = 0;
+	char *dur = ;
+	
+	if(pos_time = song_dur) {
 		//song over - start next song
 		next_button_clicked (NULL, NULL, NULL);
+		return 1;
 	}
+
+	//get time position
+	sprintf(cmd, get_time_pos\n);
+	ret = write(fd, cmd, strlen(cmd));
+	//read data from mplayer output
+	while(strncmp(dur, ANS_TIME_POSITION, 17) != 0) {
+		  read = getline(dur, len, mp_data);
+	}
+	
+	strcat(dur, =);
+	tok = strtok(dur, =);
+	tok = strtok(NULL, =);
+	
+	//set position data
+	pos_time = atoi(tok);
+
 	elm_slider_value_set(pos_slider, (double)pos_time);
 	return 1;
 }
@@ -69,7 +90,7 @@
 	ret = write(fd, cmd, strlen(cmd));
 	//set timer
 	pos_time = 0;
-	timer1 = ecore_timer_add(1.0, timer_func, NULL);
+	timer1 = ecore_timer_add(0.5, timer_func, NULL);
 	//set play state
 	play_state = PLAYING;
 	set_duration ();
@@ -126,7 +147,7 @@
 	ret = write(fd, cmd, strlen(cmd));
 	//set timer
 	pos_time = 0;
-	timer1 = ecore_timer_add(1.0, timer_func, NULL);
+	timer1 = ecore_timer_add(0.5, timer_func, NULL);
 	set_duration();
 	play_state = PLAYING;
 }
@@ -156,7 +177,7 @@
 	ret = write(fd, cmd, strlen(cmd));
 	//set timer
 	pos_time = 0;
-	timer1 = ecore_timer_add(1.0, timer_func, NULL);
+	timer1 = ecore_timer_add(0.5, timer_func, NULL);
 	set_duration ();
 	play_state = PLAYING;
 }
@@ -188,7 +209,7 @@
 		ret = write(fd, cmd, strlen(cmd));
 		//set timer
 		pos_time = 0;
-		timer1 = ecore_timer_add(1.0, timer_func, NULL);		
+		timer1 = ecore_timer_add(0.5, timer_func, NULL);		
 		//set play state
 		play_state = PLAYING;
 		set_duration ();
@@ -211,6 +232,12 @@
 }
 
 void
+pos_changed_start(void *data, Evas_Object *obj, void *event_info)
+{
+	ecore_timer_freeze(timer1);
+}
+
+void
 pos_changed(void *data, Evas_Object *obj, void *event_info)
 {
 	double val;
@@ -218,8 +245,10 @@
 	char pos[15];
 	
 	val = elm_slider_value_get(obj);
-	sprintf(pos, seek %d\n, (int)val);
+	pos_time = (int)val;
+	sprintf(pos, seek %d 2\n, pos_time);
 	ret = write(fd, pos, strlen(pos));
+	ecore_timer_thaw(timer1);
 }
 
 static int
@@ -897,7 +926,8 @@
 	evas_object_size_hint_align_set(pos_slider, -1.0, 0.0);
 	elm_box_pack_end(vbox, pos_slider);
 	evas_object_show(pos_slider);
-	//evas_object_smart_callback_add(pos_slider, delay,changed, pos_changed, NULL);
+	evas_object_smart_callback_add(pos_slider, changed, pos_changed_start, NULL);
+	evas_object_smart_callback_add(pos_slider, delay,changed, pos_changed, NULL);
 
 	//add hbox to vbox at pos 4
 	hbox = elm_box_add(win);
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-06 Thread Marco Trevisan (Treviño)
Marco Trevisan (Treviño) wrote:
 c_c wrote:
 3. Seek. Dont know how to use the slider for seeking. Any Ideas?
 
 The attached patch (intone-seek-fix.patch) does the work.

Ah, I forgot to put an
 if (timer1)
before ecore_timer_freeze and ecore_timer_thaw. Anyway I think that the
slider should be hidden if nothing is playing...


-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: On the Enlightenment Bleeding Edge

2009-04-02 Thread Marco Trevisan (Treviño)
Marco Trevisan (Treviño) wrote:
 In the latest months the enlightenment world has got many updates, but
 unfortunately the distros available for the FR don't provide the latest
 versions of the E stack. This is quite normal since they have to share a
 tested environment, but it makes so hard to use the latest tools (also
 because the e libs have frequent changes).
 That's why today I've given to my Toolchain another challenge :P:
 compiling E from svn (but following the OE bitbakes configurations)...
 
 After some hours, I got it and I was able to run the latest illume code
 in my phone, but without breaking my Om2008.12 installation.
 In fact I've installed all my new data to /usr/e17, that's why the
 default e installation that comes with Om2008.12 is not touched at all.

Since I was asked for it by some users, I've uploaded newer packages of
the latest e17 svn compiled for being installed in /usr/e17 not to break
any installation [1]. Follow the previous provided instructions to
install it.
It includes also elementary; you can try it with:
 DISPLAY=:0 LD_LIBRARY_PATH=/usr/e17/lib elementary_test

Unfortunately this build (and the previous one) isn't compatibile with
latest libeWebkit that I've planned to recompile to make it work with
eve (the new ewww name ;)).

Bye.

[1]
http://downloads.tuxfamily.org/3v1deb/openmoko/e17-illume-elementary%2bsvn20090402.tar.bz2

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: On the Enlightenment Bleeding Edge

2009-04-02 Thread Marco Trevisan (Treviño)
Johny Tenfinger wrote:
 shr-unstable is now using very hot new enlightenment revision ;)

Yes I know that... But I mostly use Om2008 so to stay a little more on
the bleeding edge I have to compile, and I've always done for months :P

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR,FSO] Serenity theme for illume

2009-03-31 Thread Marco Trevisan (Treviño)
Johny Tenfinger wrote:
 Yep, 2008.12 is unsupported and has too old Enlightenment version to
 handle recent themes and modules.

Try to install a more recent version following this [1]. You can keep it
without damaging your Om2008 installation and allowing both new and old
applications to run.

If you want/need, I've other many recent builds here (with elementary too).


[1] http://n2.nabble.com/On-the-Enlightenment-Bleeding-Edge-td2131838.html

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: paroli updates

2009-03-24 Thread Marco Trevisan (Treviño)
Mirko Lindner wrote:
 I am trying to get elementary in and etk out. That requires a lot of 
 refactoring in the different apps.

Oh... Cool! This is what I really wanted to read.
I think that elementary is and must be the choice! ;)

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Fennec Beta 1 Released

2009-03-22 Thread Marco Trevisan (Treviño)
Brad Lassey wrote:
 On 3/21/2009 2:54 PM, GNUtoo wrote:
 I built it too...
 but it has issues:
 *slow

 There have been a lot of performance improvements in beta 1 (with more 
 coming before release).  If its slow on FR, it would be great to get 
 some profiles so we can know where the hot spots are.

Well, I think that one of the things that mostly affect this aspect is
libpixman; as I've read, Fennec uses it a lot to design the pages and
that library is mostly written with floating-point logic, and it has not
native arm code for armv4; so this causes a great slowdown. Upgrading it
allows to get a slightly better experience, but I figure that this is
not the only problem.

 *not obtimized for the openmoko screen...

With some user.js optimization it could be better (look in the
archives), but it is not so good for us yet.

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Fennec Beta 1 Released

2009-03-22 Thread Marco Trevisan (Treviño)
Xavier Cremaschi wrote:
 Rui Miguel Silva Seabra a écrit :
 Does it have a sane compile process already? Or is it still the hell on
 drugs that I last saw (which was fairly recent)?
 
 I tried for alpha 1 and alpha 2 too, and I failed.
 But IIRC Marco Trevisan succeeded (for alpha 1) a long time ago...

Yes I did using the toolchain...

 Marco if you read this, can you put a bit of your knowledge on the wiki 
 ? So maybe one of us will be able to compile the beta for FR without 
 becoming insane.

Well, honestly I don't remember so well how I did, but practically
followed the building wiki...

However surely I hg-cloned the repos for mozilla-central and mobilebase,
then I configured mozilla-central using this mozconfig:

# Options for client.mk.
mk_add_options MOZ_BUILD_PROJECTS=xulrunner mobile #mobile
mk_add_options moz_objd...@topsrcdir@/../mobilebase

# XULRunner options
ac_add_app_options xulrunner --enable-application=xulrunner
ac_add_app_options xulrunner --disable-javaxpcom

# Enabling --with-arm-kuser implies Linux on ARM and enables kernel
# optimizations for that platform
ac_add_app_options xulrunner --with-arm-kuser

# mobile options
ac_add_app_options mobile --enable-application=mobile
ac_add_app_options mobile --with-libxul-sdk=../xulrunner/dist

mk_add_options AUTOCONF=autoconf2.13

CROSS_COMPILE=1

#export CC=arm-angstrom-linux-gnueabi-gcc
#export CXX=arm-angstrom-linux-gnueabi-gcc
#export LD=arm-angstrom-linux-gnueabi-ld
#export AR=arm-angstrom-linux-gnueabi-ar
#export AS=arm-angstrom-linux-gnueabi-as

ac_add_options --target=arm-angstrom-linux-gnueabi

ac_add_options --disable-gnomevfs
ac_add_options --disable-gnomeui
ac_add_options --disable-ogg

If I'll find some more time, I'll retry again, but honestly I don't
think that fennec will be our answer. Webkit based browsers works well
in our platform (actually the best are the gtk-webkit [compiled with
libsoup backend] based ones, but I figure that in the future libewebkit
based browsers will be our primary choice).

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Illume - Command line to display the keyboard ?

2009-03-22 Thread Marco Trevisan (Treviño)
Yaroslav Halchenko wrote:
 thanks for the snippet!
 
 but imho the best (and proper) way would be to create an illume
 action (not external script) so it could be assignable to a shortcut

I agree. However this one works also with non-illume keyboards... That's
why I've used this approach. If I'll find some time I'll try to patch
illume itself too. ;)

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Community effort: Browser review/comparison in wiki

2009-03-22 Thread Marco Trevisan (Treviño)
Risto H. Kurppa wrote:
 (I'm currently using Minimo as AFAIK it's the only one that can
 actually login to gmail, and I know that it's not developed anymore
 but.. )

Did you read my reply-mail about this theme?
However any webkit based browser can log in gmail if you simply update
your libcurl with one that is compiled with libgnutls support (allowing
ssl). Search in the archives for links... ;)


-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Illume - Command line to display the keyboard ?

2009-03-11 Thread Marco Trevisan (Treviño)
kimaidou wrote:
 Thanks very much for sharing your tool !
 I am using SHR + Illume, and I would like to make the illume keyboard
 appear when short clicking on AUX. So I went to the Illume configuration
 -- Input -- Key Bindings, and added the command
 /home/root/Scripts/illume-kbd-show on the Aux press.

Yes, I did that too.

 This works well, but I cannot use the same Aux button to hide the
 keyboard. The best for that would be that your script first test wether
 the keyboard is displayed or not, and display / hide it depending on the
 display status. Do you think it is possible ?

Really? I don't know if you're using the latest binary (or if I've
uploaded the correct one :P), but it sends by default the toggle
command; using that the keyboard shows when it's hidden and hides when
it's shown... It works well to me.
You can try it from ssh too.

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Transparent keyboard in illume

2009-03-09 Thread Marco Trevisan (Treviño)
Yorick Moko wrote:
 might be a stupid question,
 but any plans on making a transparent large normal keyboard?
 btw: it seems great!

Cool!
Using composite to make the illume default keyboard semi-transparent not
making it override the apps would be very very cool too.

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian] e17 screen lock

2009-03-01 Thread Marco Trevisan (Treviño)
John Sullivan ha scritto:
 So, I build e17 from svn and use it with illume on Debian.
 
 By default, the e screen locking function goes to a password lock, which
 obviously isn't good for the FR. I know that on SHR using illume this
 instead goes to a simpler lock mechanism that can be unlocked just by
 pushing a button or whatever. 
 
 Can anyone suggest how I can get behavior like this instead of the
 password lock? 

Go in enlightenment configuration - Input - Key bindings -
Keycode-177 define it as Simple Desktop Lock.

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Neon 0.9.8 is out

2009-03-01 Thread Marco Trevisan (Treviño)
Valery Febvre wrote:
 Hi,
 
 A new release of Neon is available.

Nice... I was thinking... What about supporting a kind of plugins to be
as photos backends?
I mean, the default plugin is the one that allow to browse in your disk
as it actually does (but maybe adding also some optional image
thumbnails), then people could wrote plugins for different photo inputs
(like flickr, picasa, zooomr but also for comic sites and so on!).

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: SHR first impression : it's slow ?

2009-03-01 Thread Marco Trevisan (Treviño)
Joel Newkirk wrote:
 BTW - the speed with which those icons scroll is how fast the main
 Illume icons /should/ be able to be dragged, but with the Illume theme
 as it currently stands (with FSO M5 and SHR at least) each 'desktop'
 icon is adorned with multiple transparent PNG files layered to create
 pretty buttons, and scrolling becomes dramatically slower than what you
 are probably familiar with from the base ASU theme with 2008.x.  
 
 I (and surely others) am working on a leaner, faster theme - any
 eye-candy that distinctly impacts the user experience should NOT be
 default, and in this case we desperately need a simple and fast theme
 as the default or the immediate impression users will get is: Damn,
 this is slow!

Well, I think that the configuration panel icons can be dragged really
quickly. I'm using e17-svn with the default theme and the
software-x11-16 engine and the finger scrolling there is very fast and
generally smooth.

The main issue stays in the desktop, where the icon-dragging is really
very slow. This must be really fixed.

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Context based usage of the 'AUX' button

2009-02-27 Thread Marco Trevisan (Treviño)
Michael 'Mickey' Lauer wrote:
 The input plugin for odeviced was merely designed for buttons that do
 not have context specific functions, such as
 * USB insertion
 * Headphone insertion
 * Power button
 
 Real applications might rather want to remove it from frameworkd.conf
 and let it handle through X events.

And I suggest that enlightenment should manage it... Actually I'm using
it to show the gadget layer, but it can be used also for launching any
command you want (that I figure that can be set with
enlightenment_remote too, not only with the enlightenment gui settings
as I'm doing right now ;)).

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: SHR first impression : it's slow ?

2009-02-27 Thread Marco Trevisan (Treviño)
Xavier Cremaschi wrote:
 3. SHR Panels : some panels in 'Settings' hang when I click on them 
 (GSM/operators for example)

I'd suggest you to use the Software-X11-16 engine also for elementary
and not only for Enlightenment (where can be set by the configuration -
Advanced - engine).

To use it in elementary you should export the environment variable
ELM_ENGINE=x16

Put it in ~/.profile for example... ;)


-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] Suspend / Resume speed

2009-02-26 Thread Marco Trevisan (Treviño)
Florian Hackenberger wrote:
 I noticed that suspending / resuming on 2008.12 is quite fast compared 
 to SHR. The difference which is most noticeable is that SHR switches to 
 a virtual terminal before and right after suspending, as opposed to 
 2008.12 which resumes right into X. Is there a way to replicate this 
 behaviour on SHR? I suspect that we could save at least a second of 
 resume time, because printing and scrolling a few hundred lines of 
 kernel log in addition to the mode switches takes a bit of time.

Check your uboot commandline loglevel value... It highly impacts on the
suspend/resume time. I've set it to 3 (but some time ago was set by the
system to 8, and I had to wait more than 6-7 seconds to wake the phone,
while it generally takes just 1-2 secs).

Those commands in the uBoot shell should do the work:
setenv bootargs roofstype=ext2 root=/dev/mmcblk0p2 console=tty0
console=ttySAC2,115200 loglevel=3
setenv bootargs_base rootfstype=jffs2 root=/dev/mtdblock6
console=ttySAC2,115200 console=tty0 loglevel=3

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] illume predictive keyboard is too slow - Usability features

2009-02-02 Thread Marco Trevisan (Treviño)
Carsten Haitzler (The Rasterman) wrote:
 On Wed, 28 Jan 2009 18:59:32 +0100 Marco Trevisan (Treviño) m...@3v1n0.net
 said:
 Maybe using something like a trie [1] to archive the
 words could help (both for words matching and for compressing the
 dictionary).
 Too hard?

 [1] http://en.wikipedia.org/wiki/Trie
 
 so back to the trie... the trie would only be useful for the ascii matching - 
 i
 need something more complex. it just combines the data with the match tree
 (letters are inline). i need a match tree + lookup table to other matches to
 display - and possibly several match entries (all the matches to display also
 need to be in the tree pointing to a smaller match list).

Ok, thanks... I got it. However I hope we could have made something that
 is based on that idea (the trie) but that can be applied to non
ascii-chars too.

However in the past days I sent you privately also a mail about some
issues of the keyboard in latest e17 svn [1], but I got no answer.
Maybe the mail wasn't sent correctly?!

However I've wrote there also some features that I'd suggest to
implement in the Illume keyboard. I'll write them here too to make the
community aware:

I use the illume keyboard every day and I'm very happy with it as I've
said many times in this ML, but sometimes it happens that it performs
some unwanted actions like:
 - I involuntarily click on a suggested word while I'm still typing my
   word (cause I'm not too precise I tap over a word, instead of a top
   char).
 - It happens that I got my keyboard switched while typing (yes, I know
   that this mainly an hardware-related issue, due to the touchscreen
   jitters).
They seem unrelated, but why not workarounding them by allowing these
actions only after a small timeout (i.e. waiting few ms from the latest
char pressure)?
Generally you never confirm a word or switch keyboard as fast as you
type over a char (since typing can be un-precise thanks to the keyboard
correction, switching a keyboard or selecting a word must be precise)...

And... What about making the horizontal word list (the one over the
keys) scrollable [right-left] as the configuration toolbar is? Would it
require more computation? I figure that that could improve the usability.

Bye.


[1] http://i43.tinypic.com/i4il2d.png

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian] fennec

2009-01-29 Thread Marco Trevisan (Treviño)
Davide Scaini wrote:
 Is there any fool who tried to build fennec for arm? ;-)
 it would be interesting...

Yes, I did twice... There are some links in the archives, but it's
really slow. :(

Never tried in debian, BTW.

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] illume predictive keyboard is too slow

2009-01-28 Thread Marco Trevisan (Treviño)
Olof Sjobergh wrote:
 Unless I missed something big (which I hope I didn't, but I wouldn't
 be surprised if I did), this is not fixable with the current
 dictionary lookup design. Raster talked about redesigning the
 dictionary format, so I guess we have to wait until he gets around to
 it (or someone else does it).

I think that too. Maybe using something like a trie [1] to archive the
words could help (both for words matching and for compressing the
dictionary).
Too hard?

[1] http://en.wikipedia.org/wiki/Trie

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: gtk+-fastscaling depency

2009-01-27 Thread Marco Trevisan (Treviño)
Daniel Spies wrote:
 I got several packages now that are depending on gtk+-fastscaling. I did not 
 try if forcing install will work, but I was wondering if this is a known 
 thing. Because TangoGPS is a pretty well known app, right? So I was wondering 
 why I get these errors...
 
 Collected errors:
  * ERROR: Cannot satisfy the following dependencies for tangogps:
  *  gtk+-fastscaling (= 2.10.14) *
 

In distros like SHR that package is now called gtk+; however maybe its
authors should define something like a Provides, Replaces, Conflicts:
gtk+-fastscaling as in Debian.

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[OE] Getting the curl-based apps (Webkit browsers!) working with HTTPS

2009-01-26 Thread Marco Trevisan (Treviño)
The biggest itch I had when using my Openmoko for browsing the Net was
that I wasn't unable to connect to the greatest part of the https pages.
Only Minimo (sometimes), dillo (if recompiled with ssl support, and if
the page was good for it) and fennec (after some minutes for loading it
:|) could give me some chances; but this was all absolutely un-usable.

I wanted a working Webkit-based browser!
This is very important to me since, in many circumstances I can navigate
only after that I've established an https connection (i.e.: at my
University I must log-in to the WiFi network by accessing to an https page).

Some time ago I researched a little about this issue [1]; at the
beginning I thought that the problem was in Webkit itself, but then I
found that the problem was in the libcurl library provided by
OpenEmbedded (since the same webkit library was working fine in debian).

This evening I tried to understand more about the Openmoko/OE issue;
practically the libcurl4 library provided by our main distributions has
not compiled with any ssl support (at least this happens in Om2008, but
it _should_ be fixed using the latest Angstrom feeds).
So, as a first step I've compiled libcurl with gnutls support by
configuring it with:
 --with-random=/dev/urandom --with-gnutls=${OM_PATH}/usr --without-ssl

BTW, also after this step I didn't have the https links working...

The problem was that I didn't provide to libcurl any certificate; so
I've copied from my PC the file /etc/ssl/certs/ca-certificates.crt and I
finally got the https protocol working with curl!
I've tested both the curl client and all the webkit-based browsers I've
(Midori, Openmoko-browser2 and mostly eWWW [2]).

Not to worry too much about certificates (well, there are greater
security issues around :|), I've made also a small patch to avoid always
the ssl verification (so also with no ca-certificates.crt file in your
phone, you should be able to get any https site) [3].

However, to get all this simply working in your phone you've only to:
 - opkg install libgnutls13 libgcrypt11 libgpg-error0
 - unpack from your phone root libcurl-gnutls.tar.bz2 [4] or
   libcurl-gnutls-unsafe.tar.bz2  [5] (if you want to use the patched
   libcurl to trust to any ssl host by default - this package includes
   the unneeded ca-certificates.crt anyway).
 - you can upgrade your webkit library with this one [6] (optional) that
   includes the SquirrelFish extreme javascript engine.
 - Play with any webkit browser you want :)

It's not needed to backup (mine is called libcurl-gnutls.so.5.1.1). To
switch back to your previous libcurl library you simply need to:
 - ln -sf libcurl.so.4.1.0 /usr/lib/libcurl.so.4

Sorry for the long prelude, but I like to tell stories... :P

Bye.


PS: for Openmoko packagers, I figure that to fix this issue in every
Openmoko device you should simply compile curl to use gnutls and provide
some certificates.

[1] http://lists.openmoko.org/nabble.html#nabble-td1383309|a1450113
[2] http://3v1n0.net/openmoko/ewww-gmail-ssl.png
[3] http://3v1n0.net/openmoko/curl-always-avoid-ssl-verification.patch
[4] http://downloads.tuxfamily.org/3v1deb/openmoko/libcurl-gnutls.tar.bz2
[5]
http://downloads.tuxfamily.org/3v1deb/openmoko/libcurl-gnutls-unsafe.tar.bz2
[6]
http://downloads.tuxfamily.org/3v1deb/openmoko/libwebkit-1.0-1_0.1%2bsvnr37056_armv4t.ipk

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: How to view Qtopia .pic files

2009-01-22 Thread Marco Trevisan (Treviño)
Pander wrote:
 How can I view Qtopia .pic files on my Ubuntu machine and possibly
 convert them to PNG/SVG?

They could be converted back to svg, but I wasn't able to make the
qtopia tool work for me.
I suggest you to browse the Qtopia source to get the original svg files
from which the pic files are generated.

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: New Android Release and Resources...

2009-01-21 Thread Marco Trevisan (Treviño)
Brian Code wrote:
 As well as the new site, there are two other places for Android  
 related information. An Android on Freerunner mailing list is now  
 available at 
 http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org 

Cool. I've added it to gmane too.
It's available as:
 gmane.comp.handhelds.openmoko.android-freerunner
;)

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Linball (Linux Pinball) game on Openmoko Neo

2009-01-21 Thread Marco Trevisan (Treviño)
Rafael Ignacio Zurita wrote:
 Hi!,
 
 The last year we wrote a pinball game for a contest and now
 we want to share a version for Neo devices.

Nice... However I've a feature to suggest to simulate the dual-touch
(and so to use both the right and the left flippers together):

Simply, while playing, move away the play option and then place
between the left flipper and the right flipper buttons a listener
for the mouse pointer (something like an event box).
So, if the pointer is between the right and the left flipper (i.e. if
the user is pressing on both the flippers), you sould make both the
flippers move. Maybe you could also decide which one should move before
than the other looking where the mouse is (if it is more on the right or
on the left).

Nice work, btw!

PS: what about a little bigger screen too? :)

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Status of Opimd (FSO-PIM)...

2009-01-20 Thread Marco Trevisan (Treviño)
Imho, the Personal Information Manager is what the FSO stack is really
missing (at least, I'm not fully switching to any framework-based distro
since I need a good PIM)... I've heard many times that Opmid is coming,
but I don't see anything arriving since quite long time.

The latest git commit on opimd dates back to September 8th, I've heard
also that his main author is working on this an near to the release, but...

So, please, could someone inform us about his status and the plans for
it? I guess that this would be good also for people that would like to
improve it.

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Status of Opimd (FSO-PIM)...

2009-01-20 Thread Marco Trevisan (Treviño)
Bernd (Jesus McCloud) Prünster wrote:
 PIM integration (API preview, experimental, off by default)

Nice.

 I am not expecting too much of the PIM in the first place, since it is 
 declared as an api preview.

Better than nothing...

 and the fso team delivered their prior milestones quite in time, so i do 
 not understand, why everyone wants to know, since it should only take a 
 couple of days till ms5 is out.

Ok, I didn't know this, but I asked since I was quite frustrated by the
fact that I've not heard nothing for months.
However I'm happy that we'll finally have something to work on (both
from the dev and user point of view).

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Midori font size

2009-01-20 Thread Marco Trevisan (Treviño)
Risto H. Kurppa wrote:
 My midori (from 2008.8 repos) looks like this:
 http://scap.linuxtogo.org/files/826544e6e1f3599edf85881090476c72.png
 
 Someone has it looking like this on Debian:
 http://lindi.iki.fi/lindi/openmoko/midori1.png
 
 Compare the font sizes - what's wrong with the version I'm using so
 that it shows the fonts that huge in the page making it mostly
 unusable for web browsing. The zoom-thing doesn't work.

Go in the preferences, you can set manually a lower value for the text
size... I put something like 5 and 2...
BTW in debian it's another thing, since I figure that it's launched with
a different dpi setting for the Xserver...

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] Speed gps time to firxt fix up?

2009-01-18 Thread Marco Trevisan (Treviño)
Michael 'Mickey' Lauer wrote:
 Am Friday 16 January 2009 06:23:29 schrieb Marco Trevisan (Treviño):
 I've not tried recent versions of the Framework with the GPS, how long
 does it take generally to get the fix, nowadays?
 
 Around a minute here -- with disable restoring (due to the bug). Last time we 
 enabled restoring in Taipei, we've seen TTFFs of 20-30s IIRC (Jan, Daniel?).

Ah, ok... I get it also in less than a minute generally with Om2008... I
was interested on the TTFF with restoring. I hope it could be re-enabled
soon ;)

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Alsa headers

2009-01-18 Thread Marco Trevisan (Treviño)
Rémy Lefevre wrote:
 I would know how to get alsa-headers for Om2008.12 in order to
 cross-compile a software using alsa.

What about opkg-target install alsa-dev?

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] How to reset to SHR Illume theme

2009-01-15 Thread Marco Trevisan (Treviño)
Julien Cassignol wrote:
 On Thu, Jan 15, 2009 at 11:35 AM, Jan Vlug jan.pub...@famvlug.nl wrote:
 How can I reset to the SHR Illume theme.
 
 /etc/init.d/xserver-nodm stop
 rm -rf ~/.e
 Restart your device and voilà (restart is not mandatory but it's way
 easier than telling what to restart).

Better rm -rf ~/.e/e/config I guess, I wouldn't lose my dynamic
personal.dic... :P

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] Speed gps time to firxt fix up?

2009-01-15 Thread Marco Trevisan (Treviño)
Daniel Willmann wrote:
 It actually does have memory, but lacks a backup battery which is
 supposed to power the memory of the GPS while main power is off.
 ogpsd already stores and restores almanac, GPS/UTC timeoffset and
 approximate last position. It's not restoring ephemeris because I had
 weird problems with that (TTFF increased to several minutes).

Thanks for the information. How much do you think we could decrease the
TTFF off, by restoring the ephemeris (in the right way, I guess)?

I've not tried recent versions of the Framework with the GPS, how long
does it take generally to get the fix, nowadays?

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Is there an echo-free distro?

2009-01-15 Thread Marco Trevisan (Treviño)
Andy Kilner wrote:
 On OM2008.12 and I have significant echo.  I managed to apply a fix to
 2008.9 but doesn't appear to apply to 2008.12.  Would really like a
 fix for this, I am using it as my day to day phone and for the most
 part I'm happy with it but I get complaints from callers about the
 echo.

Qtopia-x11 compiled under Om2008.12 should include my patch [1], and
with it I've NO echo at all (some long time ago I've also changed the
scenarios, but they shouldn't count so much).
I've not directly tested the Om2008.12 qtopia build since I'm running a
self-compiled (and personalized) copy in /opt/Qtopia, but about the echo
the code is nearly the same.

Bye

[1]
https://docs.openmoko.org/trac/attachment/ticket/1267/qtopia-use-Ficgta01ModemHiddenFeatures-class-for-echo-suppression.patch

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [om2008-9] Never able to successfully backup the jffs2 partition...

2009-01-13 Thread Marco Trevisan (Treviño)
john dowd wrote:
 I've alway been able to backup the kernel partition of my Neo FR but
 not the jffs2 partition. Here's the error that is reported:
 
 Opening USB Device 0x:0x...
 Found Runtime: [0x1d50:0x5119] devnum=4, cfg=0, intf=0, alt=6, name=rootfs
 Claiming USB DFU Interface...
 Setting Alternate Setting ...
 Determining device status: state = dfuERROR, status = 14
 dfuERROR, clearing status
 Determining device status: state = dfuIDLE, status = 0
 dfuIDLE, continuing
 Transfer Size = 0x1000
 dfu_upload error -84
 
 This is not a terrible big deal right now but will be in the future.
 Any ideas? Questions comments or rude remarks?

You should update uboot to get it completed. Uboot-git has a fix for this.
BTW you can follow the Backup wiki, and generate a jffs2 via ssh without
dfu-utils ;)

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Android] How to close the browser window

2009-01-12 Thread Marco Trevisan (Treviño)
Denis Galvão wrote:
 Is there a way to close the browser, or come back to the phone start  
 screen?

I dont' know if it can be closed completely without going back until the
begin of the navigation, but I can at least make it go in background
by pressing the Menu (power) button - Windows - New Window - Back
(AUX) button ;)

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: On the Enlightenment Bleeding Edge

2009-01-12 Thread Marco Trevisan (Treviño)
Helge Hafting wrote:
 Marco Trevisan (Treviño) wrote:
 
  - Now you may also configure E, from the wrench, to use the
software_16 rendering engine (it causes less quality, but more
speed) and a lower framerate value...
 
 Where exactly would that be? I tried the wrench, and waded through a
 multitude of options. But I didn't find this software_16 thing. Or does
 it require something beyond your /usr/e17/ tree?
 Something that might be lacking from SHR?

SHR should use that rendering setting by default, in illume-.svn you've
to go to the wrench - Advanced - Engine - Default Engine -
SOFTWARE_16 ;)

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: turning wifi off

2009-01-12 Thread Marco Trevisan (Treviño)
Peter Strapp wrote:
 It looks like wifi can be turned on and off using the framework now. It
 uses wmiconfig as below:
 
 wmiconfig -i eth0 --wlan enable
 wmiconfig -i eth0 --wlan disable
 
 See:
 http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.Device.PowerControl.html;hb=HEAD

Nice... Shouldn't it use also wmiconfig -i eth0 --setreassocmode 0 to
allow scanning and connecting again?

BTW the 2.6.28 kernel should have also another way to disable the wlan
by using a /sys node (if I don't remember wrong, it should do something
like a rmmod wifi-module, insmod wifi-module).

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: On the Enlightenment Bleeding Edge

2009-01-12 Thread Marco Trevisan (Treviño)
Joel Newkirk wrote:
 On Fri, 09 Jan 2009 05:47:14 +0100, Marco Trevisan (Treviño)
 m...@3v1n0.net wrote:
 
 Soon, I'd like to give a newer try to guarana and enjoy (not forgetting
 the latest elemetary stuffs!)... :P
 Bye... ;)
 
 Thank you for this.  :) 
 
 Please post Elementary when you can - it's utilized for Raster's Alarm as
 well as the SHR telephony apps.

Ok, btw I'm not so sure that the crashes you've witht the SHR tools are
due to that library only... Maybe they simply have been linked with an
older library, so there could be a symbols incompatibility.
Maybe removing the LD_LIBRARY_PATH env variable could fix this issue (so
making the non-e apps using the /usr/lib libraries)...

I've not tested it so much since I'm using an Om2008-based distro and
there some efl apps (like neon) crashes too.

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: freeze on GTA02 with high CPU load

2009-01-12 Thread Marco Trevisan (Treviño)
Jean-Philippe Andriot wrote:
 I just by a new FreeRunner and flash it with Om2008.12 (kernel, rootfs and 
 u-boot)
 But I have big troubles with it : lcd and everything freeze.
 I use the default image and installed no package yet.
 
 After doing some tests, I can tell that :
  + seems ok when phone is charging and running idle (lcd on, suspend disabled)
  + when CPU is running at 100% during a couple of minutes then freezes.
 this happens easily while playing with contact list, location (moving in the 
 map)
 or going inside installer.
  + when frozen, next reboots will fail and freeze during X init.
 I have to wait some time before being able to use it again. That makes the 
 phone
 totally unusable.

This seems an issue really similar to the one I had (if you look around
in the archives you should find my reports)... I never noticed the CPU
usage, but simply the phone freezed after some usage due to a glamo issue...
If this is the problem, there's a patch on git that fixes it but I don't
know if it has been applied to the Om2008.12 kernel.

Give a try to this kernel image [1] (that I've compiled with the fix
that works for me), and let me know if you still get these freezes.

Bye

[1]
http://downloads.tuxfamily.org/3v1deb/openmoko/uImage-gta02-stable-3v1n0-git-mixture-2.bin

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: On the Enlightenment Bleeding Edge

2009-01-12 Thread Marco Trevisan (Treviño)
Angus Ainslie wrote:
 On Mon, Jan 12, 2009 at 9:02 PM, The Digital Pioneer
 digitalpion...@gmail.com wrote:
 I'm not sure if you are factoring this into your considerations or not, but
 all the apps that segfault when launched from GUI do NOT segfault when run
 from SSH. They all work just fine. Moreover, if the alarm clock app (which
 segfaults from GUI) is run because the alarm is going off, it works fine.
 However, these apps do still segfault after running from a GUI terminal (I
 use vala-terminal) on the phone. The alarm segfaults immediately after the
 debug output stating that it is starting elementary (or something to that
 effect, all I remember is that it crashes right after mentioning
 elementary).

 
 The LD_LIBRARY_PATH is probably getting set, or changed, after the GUI
 is run but is properly set for terminal sessions. Try writing a script
 that sets the proper environment and then run the apps from the GUI
 using that script. If it works then you need to find where in the GUI
 setup the environment is getting changed.

If you've changed the  /usr/bin/enlightenment_start.oe as I've
suggested, surely the LD_LIBRARY_PATH is affected.
So, removing that parameter from there would fix the issues, since e17
should take the E_PREFIX var to get the needed libraries from the
/usr/e17 path.
I've just tested this in my Om2008 environment, and now I can run with
no problem my old efl apps (neon, omview, om-settings...).

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


On the Enlightenment Bleeding Edge

2009-01-08 Thread Marco Trevisan (Treviño)
In the latest months the enlightenment world has got many updates, but
unfortunately the distros available for the FR don't provide the latest
versions of the E stack. This is quite normal since they have to share a
tested environment, but it makes so hard to use the latest tools (also
because the e libs have frequent changes).
That's why today I've given to my Toolchain another challenge :P:
compiling E from svn (but following the OE bitbakes configurations)...

After some hours, I got it and I was able to run the latest illume code
in my phone, but without breaking my Om2008.12 installation.
In fact I've installed all my new data to /usr/e17, that's why the
default e installation that comes with Om2008.12 is not touched at all.

If you want to try this too, you could simply follow these steps:
 - extract this archive [1] to / (it will automatically put all the
   needed data in /usr/e17)
 - editing the /usr/bin/enlightenment_start.oe script by adding the
   following code before of exec enlightenment_start $E_PROFILE:
 export E_PREFIX=/usr/e17
 export LD_LIBRARY_PATH=$E_PREFIX/lib:$LD_LIBRARY_PATH
 export PATH=$E_PREFIX/bin:$PATH
   (you've also to check that your enlightenment profile is set to
illume in /etc/enlightenment/default_profile)
 - mv ~/.e/e/config /dev/null (or to any other location)
 - Restart your xserver with /etc/init.d/xserver-nodm {stop,start}
 - Now you may also configure E, from the wrench, to use the
   software_16 rendering engine (it causes less quality, but more
   speed) and a lower framerate value...
 - if you prefer, you can also use an illume theme coming with SHR or
   Om2008.12, simply put it in ~/.e/e/themes/illume.edj

Ok, now you've a fresh install of Enlightenment running instead of the
default one (that can be resumed with a simple rm -rf /usr/e17), but
nothing more... However I didn't made this effort just to get the newest
environment (also if I'd be able to :P), but my final wish was giving a
try to ewww and libeWebKit [2]!

In few words webkit is going to support the EFL toolkit and Gustavo
Barbieri wrote a nice first implementation of this library in the ewww
(test?)browser.
Since the day I saw the announcement I wanted to try it in my phone, and
after that I got webkit compiled I had been able to see ewww in action:
[3], [4], [5]! Also if it's very young, it's so nice: very light, fast
and supports natively (thanks to the efl) the finger scrolling (that,
unfortunately, is quite slow :|)!

However, to try this too :P, you have just to extract to / this archive
[6] that will put to /usr/e17 the ewww data and the libewebkit library.

To run it (I was too lazy for adding a .desktop file :D):
 DISPLAY=:0 LD_LIBRARY_PATH=/usr/e17/lib /usr/e17/ewww

I think that this could really become our browser in a near future...!!!

Soon, I'd like to give a newer try to guarana and enjoy (not forgetting
the latest elemetary stuffs!)... :P
Bye... ;)


[1]
http://downloads.tuxfamily.org/3v1deb/openmoko/e17-illume%2bsvn20090109.tar.bz2
[2]
http://blog.gustavobarbieri.com.br/2008/12/22/webkit-efl-interface-prototype/
[3] http://3v1n0.net/openmoko/ewww-3v1n0.net.png
[4] http://3v1n0.net/openmoko/ewww-flickr-Freerunner.png
[5] http://3v1n0.net/openmoko/ewww-google.png
[6]
http://downloads.tuxfamily.org/3v1deb/openmoko/ewww-libeWebKit%2bgit20090109.tar.bz2

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: On the Enlightenment Bleeding Edge

2009-01-08 Thread Marco Trevisan (Treviño)
Marco Trevisan (Treviño) wrote:
 To run it (I was too lazy for adding a .desktop file :D):
  DISPLAY=:0 LD_LIBRARY_PATH=/usr/e17/lib /usr/e17/ewww

Small typo:
 DISPLAY=:0 LD_LIBRARY_PATH=/usr/e17/lib /usr/e17/bin/ewww

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [2008.12] Mediaplayer

2009-01-07 Thread Marco Trevisan (Treviño)
Giovanni wrote:
 Dear Timo,
 
 can you share your python app for switching the profiles?

You can find also an implementation of automatic profile switching on
jack-insert here [1].

[1] http://forum.telefoninux.org/index.php/topic,927.msg9047.html#msg9047

Bye ;)

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [2008.12] Mediaplayer

2009-01-04 Thread Marco Trevisan (Treviño)
Giovanni wrote:
 Great !!!
 
 It works!
 
 Unfortunately, if I plug the earphones, I can still listen to the sound
 from the loud speakers.
 
 Do you know how to solve this problem?

Simply use alsactl -f restore to load the headset.state scenario file...

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [2008.testing] GPS after resume

2009-01-02 Thread Marco Trevisan (Treviño)
Jeffrey Ratcliffe wrote:
 Having installed navit on my GTA02v5, it seems that it loses GPS after
 resuming. I haven't finished playing around to see if this is a GPS
 problem or a navit problem, but while I do, has anyone else noticed?
 Found a solution?

I figure that this should be controlled by the kernel side. Simply the
GPS chip is turned off and then on on suspend/resume. That's why on
resuming it's like you've done a cold reset.

There should be a thread about this on the kernel list...

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Questions and Answers

2009-01-02 Thread Marco Trevisan (Treviño)
Sean Moss-Pultz wrote:
 Q5. Kosa and Marco wondered if you could say us something about the
 management that doesn't seem to be loved by great hackers like Harald
 and Carsten. For example, what is your analysis of the controversies
 that led Om2008 to ship with Qtopia's predictive keyboard.
 
 
 Let me give everyone a bit more background into the keypad issue. We
 first saw the Qtopia predictive keypad back in February of 2008, and
 became extremely exited. This keypad, we believed, had the potential to
 become better than anything on the market.

Yes, it was...

 We asked Raster to integrate this keypad into Om 2008 and extend it to
 make it more hacker friendly (i.e., usable from places like the
 terminal). After two months of more or less silence he showed us his own
 version, written from scratch. The design was a work in progress. And 
 the dictionary was far inferior to what Qtopia had already. An internal 
 battle started that lasted until one month before Om 2008 was set to be 
 released when our product manager, Will Lai, couldn't take it anymore. 
 He asked another engineer to just get the Qtopia keypad working.

Ok, I understand this. But, why have you asked Raster to improve a thing
(like qtopia-x11) that should have been only a kind of placeholder?
Wasn't it considered in a such way at that time? I always thought that
the future of Openmoko was going to reach the Framework, and also if
qtopia could be adapted to use it, we all know that its performances
under X aren't the ones that we can bear.

 At that point Raster's keypad was getting stable. It had many new
 features. But basic text entry was still not as good as Qtopia's. Major
 parts of Om 2008, in the meantime, were still not finished (like the
 Glamo or network manager).
 
 Openmoko (the company) needs to focus on simplifying. We need to limit
 ourselves to building what doesn't already exist. We cannot constantly
 try to build better components from scratch. Our resources are just too
 limited for that. Openmoko is trying to repackage the essentials (just
 enough) to make people feel inspired. What's not there is often times
 more inspiring than what is there.

 I emailed Raster, the other day, asking if my current perspective 
 corresponds with his. The main motivation for writing a new keypad from 
 scratch, he said, had to do with his ability to (easily) extend Qtopia's 
 code. C++ and qt were not familiar to him. And he wanted something with 
 more configuration options. To get there with Qtopia, he thought, would 
 take more time then writing a new one from scratch.

So reading this I only think that what Raster said was not only true
about the implementation difficulties, but also about the fact that at
that time we needed something that should have survived to Om2008. The
keyboard he wrote is actually what the future seems to reserve to us and
also if it has some issues with accented words (maybe fixed in svn
r38274?!?) and it performs worse with big dictionaries than the Qtopia
predictive, I figure that he did the right move.

So maybe what happened wasn't in the spirit of the backs to the
basics, but he lead us the best input method available today.

 All I ask is that we please don't continue this debate. We have both 
 now. FSO is using Illume's keypad, so future Om releases will most 
 likely do the same.

Sorry for writing again about this... I know that this (the keyboard
itself) is not the most important thing here, but I was worried by the
fact that we could have lost the farsighted Raster while he was doing
something of great and precious for our future.

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Illume and E Gadgets...

2008-12-21 Thread Marco Trevisan (Treviño)
Raster, I was wondering... Would it be possible to add E gadgets to the
Illume desktop? I figure it would be cool allowing that.
They should show as normal icons that could act differently on
mouse-over (I'm mostly thinking to the CPU, News, Battery, Forecasts and
Calendar gagets ;P).

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Stage of GTA03 development?

2008-12-21 Thread Marco Trevisan (Treviño)
Carsten Haitzler (The Rasterman) wrote:
 seriously dropping camera isn't going to free up money for 3g. 3g is going to
 cost many many many TIMES what the camera does. you're throwing out the
 basketballs from the garage to make room for the hummer.

Mhmhmh... I'm not in that world at all. Please could you explain why a
3G chip would cost so much?

Thanks...

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Stage of GTA03 development?

2008-12-21 Thread Marco Trevisan (Treviño)
Justyn Butler wrote:
 2008/12/18 Michael Zanetti michael_zane...@gmx.net:
 As It seems this thread is becoming more and more some sort of a whish-list, 
 I
 will put my 2ct here also:

 - Please don't add a camera: Has ever anyone made a picture with a mobile
 phone camera that doesn't suck? Get a real camera if you want to make some
 nice pictures! There is just one way to get a useful camera within a mobile
 phone: Using very expensive optical lens and zooming technologies. But in 
 that
 case, I'd prefer to use the money for a 3G modem which brings me to the next
 point in my whishlist.
 
 I think this is a misunderstanding of the concept of having a camera in a 
 phone.
 
 For many people it is the convenience of *always* having a camera on
 them. Who knows when you need to take a picture?
 
 It doesn't matter if the picture sucks - they have a real camera for
 quality photos. But they don't have it on them all the time.

+1

 I say this as someone who would personally gladly do without the
 camera in place of 3G. But doing this might turn off a whole other
 group of people, because some sort of camera is such an expected thing
 in a phone these days.

+1

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] Question about contact list

2008-12-17 Thread Marco Trevisan (Treviño)
Julien Cassignol wrote:
 There's no contact database, as we use frameworkd. So right now the
 contact database is your SIM. We're waiting for opimd integration to
 work further on this topic.

Any ETA? This is the only thing that keeps me out from the framework
usage (well, using it with qtopia isn't the best thing)...

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Newer Navit [was: geocaching with tangoGPS on FR]

2008-12-15 Thread Marco Trevisan (Treviño)
KaZeR wrote:
 Finally I've seen this screenshot [1] in scap, is this an EFL
 implementation of Navit? It seems to use the enlightenment toolkit both
 for the buttons and for the map rendering (better than the GTK from what
 I can see there). Have you some informations about this shot? :P
   
 Yes, it's a work in progress by 'quickdev'. But there is still a lot of 
 work to be done :)

Ok, btw do you have some code to share? :P

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Ask Sean Moss-Pultz about community matters

2008-12-15 Thread Marco Trevisan (Treviño)
Carsten Haitzler (The Rasterman) wrote:
 i haven't been doing ui's for x/linux for over a decade for nothing :)

I (we) know... I think that your hiring can't be considered a mistake
at all. The best GUI every written for embedded devices (illume) is now
available thanks to your efforts; who knows if it would have been
developed if you wouldn't have been called at Openmoko.
So, working in GUI at the beginning has not been wrong imho. Maybe they
would have had to work more on core-GUI (like illume is) than on other
projects like Locations or Assasin...

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Ask Sean Moss-Pultz about community matters

2008-12-15 Thread Marco Trevisan (Treviño)
Kosa wrote:
 I know you don't need/have to explan that, and I'm not really sure if 
 I'd like to know
 what happened, but two of the best hackers are gone, and they could have 
 help a lot
 more as full time OM developers.

I'm curious about this too... However I've read their explanations and I
figure that they say everything there.

BTW I'm totally agreeing that great hackers like Harald and Carsten (two
of the best ones working respectively in low-level and GUI things)
should have kept in the conditions to rest.

Maybe Sean could say us something about the management that doesn't seem
to be loved by our hackers...

PS: Ah, why design team is so important to decide about keeping an
un-wanted keyboard like the Qtopia predictive in Om2008?!?

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Enjoy!

2008-12-14 Thread Marco Trevisan (Treviño)
Leonti Bielski wrote:
 I think I've seen it on scat.linuxtogo.org some time ago. It means
 someone run it succesfully on FR.
 Sorry, don't know any details.
 
 On Sat, Dec 13, 2008 at 7:24 PM, Martino manda@gmail.com wrote:
 Hi!
 Some one is working around this http://profusion.mobi/node/10  ??

 Is possible to have a ipkg on opkg.org!! I find it great.. And for now
 I don't found nothing similar..

I'm the one who uploaded the screenshot on Scap... I got it running
compiling from git the guarana and lightmediascanner libs (and enjoy, of
course :P). It's really nice and fast, BTW I didn't get the sound
working, that's why I didn't upload any package...
I'll wait it for being merged upstream before trying it again.

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-14 Thread Marco Trevisan (Treviño)
Nathan Kinkade wrote:
 Have you modified navit.xml?  In this version there is an option to
 set the gui to a mode called internal, which is optimized for small
 screens.  For the internal gui type you can also specify icon size.
 I believe the default opkg specifies internal, but doesn't set the
 icon size, though there is a sample line in the config file for the
 Neo.
 
 I don't like modifying the default /usr/share/navit/navit.xml, so I like to
 
 # mkdir ~/.navit
 # cp /usr/share/navit/navit.xml  ~/.navit/
 
 Edit that file, then search for internal.  Around line 30 you'll see
 a sample setting for gui / for the Neo.  Uncomment that, then
 comment out the other gui / element just below it.
 
 I also found this setting quite nice: a few more lines down there are
 number of osd / elements (On Screen Display), set zoom_in, zoom_out,
 and gui_internal_fullscreen to enabled and disable the rest.  This
 will give you transparent zoom in and zoom out buttons in the bottom
 corners, and a fullscreen toggle in the upper left corner.  In
 fullscreen mode and with this internal gui type, Navit is really
 looking like a consumer level map/navigation program on the Neo.

GUI Internal has some issues (read more at [1]) to me, so I prefer using
the GTK gui without all but the menu bar. Those are is my navit.xml gui
parameters:

gui type=gtk menubar=1 toolbar=0 statusbar=0 /
osd enabled=yes type=compass/
osd enabled=yes type=eta/
osd enabled=yes type=navigation/
osd enabled=yes type=button x=-96 y=-96
 command=zoom_in src=zoom_in.xpm/
osd enabled=yes type=button x=0 y=-96
 command=zoom_out src=zoom_out.xpm/
/gui

It's quite good to me... Just two things:
 - The cursor should be bigger (mainly with a bolder outline) and its
   colors (I've set also color2) should be set to other values (more
   different to the main street colors).
 - The ETA and Navigation OSD boxes should be bigger too. It's quite
   hard to look at them while driving (I'm keeping the FR near my
   steering wheel but it's hard to read them anyway).

Ah, I forgot to say that after this upgrade (I used the packages linked
in the wiki before) navit seems to suggest me to turn too many times
also if I'm still keeping the main way (using the Reiserplaner maps).

[1] http://n2.nabble.com/navit-on-FR-report-tp1631491p1641083.html

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-14 Thread Marco Trevisan (Treviño)
Marco Trevisan (Treviño) wrote:
 It's quite good to me... Just two things:
  - The cursor should be bigger (mainly with a bolder outline) and its
colors (I've set also color2) should be set to other values (more
different to the main street colors).

I've configured it a little... Using these vehicle settings the cursor
is slightly better:

vehicle name=Local GPS enabled=no active=1   
 source=gpsd://localhost gpsd_query=w+xj
 color=#ff color2=#00ff00
cursor w=26 h=26
itemgra
circle color=#33 radius=30 width=15
coord x=0 y=0/
/circle
/itemgra
itemgra speed_range=-2
polyline color=#ff00ff width=20
coord x=0 y=0/
coord x=0 y=0/
/polyline
/itemgra
itemgra speed_range=3-
polyline color=#ff width=5
coord x=-7 y=-10/
coord x=0 y=12/
coord x=7 y=-10/
/polyline
/itemgra
/cursor
/vehicle


-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-14 Thread Marco Trevisan (Treviño)
arne anka ha scritto:
 could you post your config?
Who? I?

 i am struggling unsuccessfully with the configuration of the navigation --  
 so far navit does nothing but to show where i am, how to make navigation  
 working remains a mystery to me (the navit page and wiki are not helpful  
 in this respect).

For navigatin you can use the menu (tap on the map for setting the
destination position) or the Route - Destination menu.
When you're there write the country you're searching in (removing the
ending space if you use a finger-keyboard that uses a dictionary), then
the City (with commercial maps just one word; if it has more, put the
more important), and then the Street.

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


  1   2   3   4   5   6   >