RE: Microb browser and GTK configuration

2007-12-24 Thread Tomàs Jiménez Lozano
Thank you, Josh.

I am now trying to build just microb-eal library.

I've downloaded sources form svn repository but I am stuck in
dependencies issues:


[sbox-CHINOOK_ARMEL]  dpkg-buildpackage -rfakeroot

dpkg-buildpackage: source package is microb-eal
dpkg-buildpackage: source version is 0.2.4-1
dpkg-buildpackage: source changed by Oleg Romashin
[EMAIL PROTECTED]
dpkg-buildpackage: host architecture armel
dpkg-buildpackage: source version without epoch 0.2.4-1
: Using Scratchbox tools to satisfy builddeps

dpkg-checkbuilddeps: Unmet build dependencies: browser-eal-dev (=
0.0.1) | maemo-browser-eal-dev (= 1.5.0) osso-ic-dev libgtkmozembed-dev


dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: (Use -d flag to override.)




I've no idea on where to get those browser-eal-dev,
maemo-browser-eal-dev or osso-ic-dev-dev.

They seem to have not been included in the Chinook repository and I
can't find them in the garage.maemo.org SVN repository.

Any ideas on where to find them?
(Trying to skip this dependencies with -d flag failed too.)


About that libgtkmozembed-dev package that also appears in the
dependencies list I supposed that building libgtkmozembed source code
from SVN repository would generate it but compilation failed.

Has anyone been able to build it?

Thanks again and Merry Christmas!!

Tomàs Jiménez
oranginalab





 Tom?s Jim?nez Lozano wrote:
  This means I should build microb browser from scratch but I've read
 in
  this list that it's not possible to do it:
  
  http://www.gossamer-threads.com/lists/maemo/developers/31766
 
 You're misinterpretting. microb-engine is essentially a library, and
 libgtkembedmoz or libgtkmozembed whichever is also a library.
 
 As long as you have the tablet-browser-ui (which anyone running os2008
 has), you can simply package your replacement libraries and drop them
 in place.
 
 The note is more for people who think that they can use microb-engine
 standalone on an empty scratchbox that doesn't include the Nokia
 portions, e.g., an intel scratchbox (which as I recall does not
 include the Nokia ui).
 
 As it happens, microb-eal is an even smaller library, so as long as
 you have enough prerequisites, you should be able to skip building
 microb-engine.

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Microb browser and GTK configuration

2007-12-20 Thread Tomàs Jiménez Lozano
Thanks for your help, Antonio.

This means I should build microb browser from scratch but I've read in
this list that it's not possible to do it:

http://www.gossamer-threads.com/lists/maemo/developers/31766

Tomàs

On Wed, 2007-12-19 at 14:42 -0400, tonikitoo (Antonio Gomes) wrote:
 hi,
 
 go to 
 https://garage.maemo.org/svn/browser/mozilla/trunk/microb-eal/src/gmozillaengine.c
 and search for 'gtk_mozilla_tap_and_hold_timeout' and friends there
 ...
 
 my 2 cents
 
 On Dec 19, 2007 2:31 PM, Tomàs Jiménez Lozano [EMAIL PROTECTED] wrote:
  Hi,
 
  I've modified GTK source code to change the amount of time that is
  needed to fire the tap and hold event after the initial tap.
 
  All applications installed in my N800 device fire the tap and hold
  event 10 seconds after the initial tap. All applications except the one
  all this effort was intended for: microb browser.
 
  Does any one know why microb browser does not react to GTK configuration
  changes and it still shows the contextual menu after a
  just-one-second-tap?
 
  Could this be fixed?
 
 
 


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: Microb browser and GTK configuration

2007-12-20 Thread Tomàs Jiménez Lozano
Hi, 

 Ross Burton wrote:
  As far as I know, microb ... can render forms using GTK+ widgets
 
 It doesn't use gtk widgets, it emulates them.
 
  That said, there should be an xsetting you can change, instead of
  rebuilding.
 
 Xsetting sounds a bit arcane...
 

Xsetting may sound a bit arcane but something similar that allows me
configure tap-and-hold event for the microb browser would be great!!

Tomàs

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Microb browser and GTK configuration

2007-12-20 Thread Tomàs Jiménez Lozano
Hi Antonio,

I've been googling a while looking for alternatives to microb browser
that may use GTK and I've found that you were working time ago to port
MiniMo browser to ITOS2006.

Do you know if MiniMo use GTK or as a Mozilla-based browser like microb
it also emulates it?


Does anyone know of any GTK-browser ported to ITOS2007/8?

Thanks,

Tomàs

On Wed, 2007-12-19 at 14:42 -0400, tonikitoo (Antonio Gomes) wrote:
 hi,
 
 go to
https://garage.maemo.org/svn/browser/mozilla/trunk/microb-eal/src/gmozillaengine.c
 and search for 'gtk_mozilla_tap_and_hold_timeout' and friends there
 ...
 
 my 2 cents
 
 On Dec 19, 2007 2:31 PM, Tomàs Jiménez Lozano [EMAIL PROTECTED]
wrote:
  Hi,
 
  I've modified GTK source code to change the amount of time that is
  needed to fire the tap and hold event after the initial tap.
 
  All applications installed in my N800 device fire the tap and hold
  event 10 seconds after the initial tap. All applications except the
one
  all this effort was intended for: microb browser.
 
  Does any one know why microb browser does not react to GTK
configuration
  changes and it still shows the contextual menu after a
  just-one-second-tap?
 
  Could this be fixed?
 
 
 


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Microb browser and GTK configuration

2007-12-19 Thread Tomàs Jiménez Lozano
Hi,

I've modified GTK source code to change the amount of time that is
needed to fire the tap and hold event after the initial tap.

All applications installed in my N800 device fire the tap and hold
event 10 seconds after the initial tap. All applications except the one
all this effort was intended for: microb browser.

Does any one know why microb browser does not react to GTK configuration
changes and it still shows the contextual menu after a
just-one-second-tap?

Could this be fixed?

Regards,

Tomàs Jiménez
oranginalab 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Problems building gtk+2.0 in Chinook

2007-12-05 Thread Tomàs Jiménez Lozano
Hi,

I'm trying to build gtk+2.0 but I am finding some dependencies problem.

The source package I'm trying to build is version 2:2.10.12-0osso24
 

$ fakeroot apt-get build-dep gtk+2.0
throws an error:

E: Build-Depends dependency for gtk+2.0 cannot be satisfied because no
available versions of package libtool can satisfy version requirements

I've libtool1.5.6-6osso installed but I suppose gtk+2.0 requires a newer
one that can not be found in Maemo repository. (apt-cache show does not
list libtool as a gtk depency)

Could anyone help me getting gtk+2.0 rebuild?

Thanks.

Tomàs Jiménez
oranginalab



___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: how to disable right-click (tap and hold) event?

2007-11-23 Thread Tomàs Jiménez Lozano
Here we are again trying to disable or at least configure the
tap-and-hold event.

I've been looking desesperately for some kind of configuration files for
the X server shipped with ITOS2007 but I've found nothing.

Google helped me to discover that the X server is started in a script
called at /etc/init-d/x-server and it is configured by command line
arguments.

I've checked all the command line arguments and discovered that things
like keyboard's autorepeat delay time are configurable by command line
arguments. Nothing about tap-and-hold configuration, however.

Xserver is started with a -mouse tslib option and now I am going to
follow that clue have a look at xserver-xomap and tslib source code
packages.

As you may have noticed I am not an expert in X servers, device drivers
and so on and this is becoming quite hard for me.

I would really thank anyone pointing me in the rigth way.

Regards,

Tomàs Jiménez
oranginalab











On Thu, 2007-11-22 at 12:00 +0200, [EMAIL PROTECTED]
wrote:
 
 Sorry to bother you again.
 
 We have developed a Flash application that runs on N800 devices.
 We need to get rid of the contextual menu that the Flash plugin shows
 when we tap and hold on the device. (It only shows the About
 Macromedia... info but it is quite confusing and disturbing and we
 have
 received lots of user complaints)
 
 We have tried to disable the contextual menu from the
 Flash/Actionscript
 side but it's not possible to completely remove it.
 
 The only chance we have now is to somehow disable the tap and hold
 event (or reconfigure the amount of time needed to fire it) so the
 Flash
 plugin never catches it. 
 
 Is the amount of time between the tap and the tap and hold event
 being
 fired a configuration setting stored in Gconf? 
 
 Could anyone be so kind to give us a clue on where to find?
 
 Thank you again.
 
 Tom?s Jim?nez
 oranginalab
 
 
 
 
 
 
 
 On Fri, 2007-11-16 at 12:08 +0100, Tom?s Jim?nez Lozano wrote:
  Hi,
  
  Is there any way to completely disable the right-click event that
 fires
  when the pointer is hold on the screen?
  
  I've tried with xmodmap:
  
  xmodmap -e pointer = 1 3 2
  
  but it had no effect.
  
  If it is not possible to completely avoid the right-click event from
  firing it would be fine at least to configure some way the amount of
  time before the event is fired.
  
  Thanks in advance,
  
  Tom?s Jim?nez
  oranginalab
  
   
   

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: how to disable right-click event

2007-11-21 Thread Tomàs Jiménez Lozano
Sorry to bother you again.

We have developed a Flash application that runs on N800 devices.
We need to get rid of the contextual menu that the Flash plugin shows
when we tap and hold on the device. (It only shows the About
Macromedia... info but it is quite confusing and disturbing and we have
received lots of user complaints)

We have tried to disable the contextual menu from the Flash/Actionscript
side but it's not possible to completely remove it.

The only chance we have now is to somehow disable the tap and hold
event (or reconfigure the amount of time needed to fire it) so the Flash
plugin never catches it. 

Is the amount of time between the tap and the tap and hold event being
fired a configuration setting stored in Gconf? 

Could anyone be so kind to give us a clue on where to find?

Thank you again.

Tomàs Jiménez
oranginalab







On Fri, 2007-11-16 at 12:08 +0100, Tomàs Jiménez Lozano wrote:
 Hi,
 
 Is there any way to completely disable the right-click event that
fires
 when the pointer is hold on the screen?
 
 I've tried with xmodmap:
 
 xmodmap -e pointer = 1 3 2
 
 but it had no effect.
 
 If it is not possible to completely avoid the right-click event from
 firing it would be fine at least to configure some way the amount of
 time before the event is fired.
 
 Thanks in advance,
 
 Tomàs Jiménez
 oranginalab
 
  
 


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


How to disable right-click event

2007-11-16 Thread Tomàs Jiménez Lozano
Hi,

Is there any way to completely disable the right-click event that fires
when the pointer is hold on the screen?

I've tried with xmodmap:

xmodmap -e pointer = 1 3 2

but it had no effect.

If it is not possible to completely avoid the right-click event from
firing it would be fine at least to configure some way the amount of
time before the event is fired.

Thanks in advance,

Tomàs Jiménez
oranginalab

 


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


How to remap keyboard at start up

2007-09-27 Thread Tomàs Jiménez Lozano
Hi,

We have written a very simple script to remap HWKeys using xmodmap that
works fine when we launch it from the command line.

However, when we try to execute it within the start up process it
doesn't work.

We are launching it at the end of
the /etc/osso-af-init/real-af-base-apps script and, in fist instance, it
seems to work properly. Just after start up, we ask for the keyboard
mapping (ie: xmodmap -pk) and HWKeys have been remapped.
But whenever we use any of the HWKeys our remapping is overriden and
default configuration seems to have been set again.

Any help would be appreciate.

Thanks in advance.

Tomàs Jiménez
oranginalab  




___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


How to disable hardware keys at system level

2007-05-23 Thread Tomàs Jiménez Lozano
Hi,

Is there any way to disable hw keys at system level so no keyboard event
is triggered when user presses them ?

What we are trying to achieve is some kind of kiosk mode. We launch
opera browser in fullscreen at startup and we don't want the user to be
able to minimize it by pressing the fullscreen toggling hw key.
As we can not modify opera browser's behaviour we are trying to prevent
the F6/GDK_F6 key event being fired.

We have found a keybindings GConf schema
(at /etc/gconf/gconf.xml.defaults/schemas/system/osso/af/keybindings/)
with a detailed description of hw keys behaviour. We've tried to modify
it but with no results. Is GConf used to somehow store HwKeys
configuration? Can we modify it to change default behaviour?

Any help would be appreciated.
Thanks in advance,

Tomàs Jiménez
oranginalab sl




___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: How to detect that connectivity is lost

2007-04-04 Thread Tomàs Jiménez Lozano
On Wed, 2007-04-04 at 08:44 +0300, Kalle Valo wrote:
 ext Tomas [EMAIL PROTECTED] writes:
 
  The problem is that the device does not recognize it has lost connectivity
  until it has lost WIFI signal completely. It does not launch any dbus signal
  to notify it has lost connection but the WIFI signal is so low that no data
  transmission is possible.
 
 If no data cannot be transfered over WLAN, the WLAN driver should
 disconnect the connection. If not, I would consider that as a bug and
 it's a bad idea to try workaround this in userspace. In OSI model
 terms, this an L2 issue and for the upper layers it should just work.
 
  Is it possible to configure it anyway so it disconnects (and launches the
  corresponding dbus signal) from the current IAP when WIFI signal is so low
  that data transmission becomes impossible?
 
 Could you describe more about the situation when data transmission is
 not possible but the connection is still on, please? Try to give
 details as much as possible, so that I could reproduce the problem at
 our lab.
 

To reproduce the situation you only need to move away from de access
point.
I've tried what Frantisek suggested, and ping fails always before the
device notifying it has lost connection.

I've checked how far from AP is raised de dbus signal notifying
disconnection and the average distance where ping starts to
definitiveley fail and ping always fails quite more near from IAP than
disconnection signal is raised.

If, as it seems to be, it is a lower level bug I beg you to try to fix
it as soon as possible. In the meanwhile, we need to use the pinging
workaround because for our application it is critical to detect (and
recover) from any connectivity lost.
As you feared, Kalle, the battery performance reduces drastically (what
becomes another issue for our app). We do only ping every 15 second in
order to let the device enter in PSM between pings but the battery
performance is still too poor.

On the other hand, the pinging workaround has fixed another problem we
were detecting in our app. As I told before, our app need to be always
WLAN connected, and we have checked that the device after a given amount
of time of communication inactivity enters in what we suppose is some
kind of higher lever PSM. When in this state, the device is still
connected but it does not answer to ping requests. When it needs to send
any data it wakes up automatically but for us it may be too late because
communication with other network devices may has been lost. I've been
looking for information about this supposed high level PSM and how to
avoid it but I've found nothing.

I hope you don't mind if I ask you one more question: Is there any other
way to force disconnection appart form the shutdown ICd dbus method. It
works fine but we would like to do it without prompting the user?

Best regards,
  
Tomàs Jiménez




___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


RE: Launch maemo browser in fullscreen mode

2007-03-20 Thread Tomàs Jiménez Lozano
I assume that the browser does not supply any internal means (ie:
command line switch option, rpc method) to bring it to fullscreen mode.

What about trying to solve the problem form the outside?

There is really no way to maximize an application in general (and maemo
browser in particular) emulating the HW Key press?

Tomàs

On Tue, 2007-03-20 at 09:15 +0200, [EMAIL PROTECTED] wrote:
 That's right. The fullscreen browser launching is not implemented but it is 
 planned in future (not too soon).
 
 Br,
 
 --jakub
 
 There is no way to open the opera browser into fullscreen, i 
 spent quite a bit of time trying various solutions and even 
 tried implementing the open embedded browser via dbus, 
 however these calls are deprecated. 
 The only hope is to use a different browser solution as a base.
 
 Andrew
 
 Tomàs Jiménez Lozano wrote:
  As a first step to achieve some kind of kiosk mode I am 
 trying to open 
  maemo browser at startup in fullscreen mode.
 
  I've found that, dislike desktop opera browser, maemo browser has no 
  command line switch option (--fullscreen) to do this.
 
  I am trying now to launch browser via dbus rpc capabilities. I've 
  found some osso-browser-interface.h document where it says 
 the only 
  methods available for remote calling are for opening a new window or 
  opening a url.
  There is another collection of methods but they seem to be intended 
  for embedded browser windows within a main application window.
  One of this embedded-only methods allows you to send a HW Key code 
  to the browser, that is just what I am trying to do.
  Disgracefully I assume it only works for this embedded browsers.
 
  Does anyone know if there is a way to open maemo browser in 
 fullscreen?
 
 
  Thanks in advance
 
  Tomàs Jiménez
  oranginalab
 
  ___
  maemo-developers mailing list
  maemo-developers@maemo.org
  https://maemo.org/mailman/listinfo/maemo-developers
 

 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://maemo.org/mailman/listinfo/maemo-developers
 
 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Launch maemo browser in fullscreen mode

2007-03-19 Thread Tomàs Jiménez Lozano
As a first step to achieve some kind of kiosk mode I am trying to open
maemo browser at startup in fullscreen mode.

I've found that, dislike desktop opera browser, maemo browser has no
command line switch option (--fullscreen) to do this.

I am trying now to launch browser via dbus rpc capabilities. I've found
some osso-browser-interface.h document where it says the only methods
available for remote calling are for opening a new window or opening a
url.
There is another collection of methods but they seem to be intended for
embedded browser windows within a main application window.
One of this embedded-only methods allows you to send a HW Key code to
the browser, that is just what I am trying to do.
Disgracefully I assume it only works for this embedded browsers.

Does anyone know if there is a way to open maemo browser in fullscreen?


Thanks in advance

Tomàs Jiménez
oranginalab

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers