Re: Launch maemo browser in fullscreen mode

2007-05-09 Thread Eero Tamminen
Hi,

ext Erin Stadler wrote:
 The problem with the solution below is that you can still minimize the app
 and then you are stuck with a white screen with nothing left to do but
 restart it or re-flash it. Is there a way to let the desktop boot up but
 stop other applications from loading other than the browser, so essentially
 you keep the person from being to browse to anything other then the program
 you give them?

You need to:
- disable Desktop from starting and start only Browser
- and use the same policy for Browser as for Desktop so
  that it's restarted when user closes it (see desktop
  startup script)
- change Matchbox theme (xml file, documented in Matchbox site)
  so that window titlebar doesn't have minimize button


- Eero



 2007/3/23, Simon Moore simon.moore at ndirect.co.uk
 https://maemo.org/mailman/listinfo/maemo-developers :
 It does work, I've tried it.  Not specific to the
 browser of course, can send any key to any
 screen, but in this case you send F6 when the
 browser is the front window to make it full screen.

 Anyone got any tips on changing X windows (i.e.
 removing window manager) so just the browser
 starts up with no other Apps?  It would make the
 above work so much better as a kiosk. (nokia 770)
  
 A quick and dirty way would be to replace maemo-af-desktop with osso
 browser in maemo-af-desktop startup script
 (/etc/osso-af-init/maemo-af-desktop.sh).
  
 A more proper way in my opinion would be to write a real init script
 for it, and just remove the unneeded programs from the af initscripts.

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


Launch maemo browser in fullscreen mode

2007-05-08 Thread Erin Stadler
The problem with the solution below is that you can still minimize the app
and then you are stuck with a white screen with nothing left to do but
restart it or re-flash it. Is there a way to let the desktop boot up but
stop other applications from loading other than the browser, so essentially
you keep the person from being to browse to anything other then the program
you give them?
 
2007/3/23, Simon Moore simon.moore at ndirect.co.uk
https://maemo.org/mailman/listinfo/maemo-developers :
 It does work, I've tried it.  Not specific to the
 browser of course, can send any key to any
 screen, but in this case you send F6 when the
 browser is the front window to make it full screen.
 
 Anyone got any tips on changing X windows (i.e.
 removing window manager) so just the browser
 starts up with no other Apps?  It would make the
 above work so much better as a kiosk. (nokia 770)
 
A quick and dirty way would be to replace maemo-af-desktop with osso
browser in maemo-af-desktop startup script
(/etc/osso-af-init/maemo-af-desktop.sh).
 
A more proper way in my opinion would be to write a real init script
for it, and just remove the unneeded programs from the af initscripts.
 
-- 
Kalle Vahlman, zuh at iki.fi
https://maemo.org/mailman/listinfo/maemo-developers 
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi

 

 

 

 

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


Re: Launch maemo browser in fullscreen mode

2007-03-23 Thread Simon Moore
It does work, I've tried it.  Not specific to the 
browser of course, can send any key to any 
screen, but in this case you send F6 when the 
browser is the front window to make it full screen.


Anyone got any tips on changing X windows (i.e. 
removing window manager) so just the browser 
starts up with no other Apps?  It would make the 
above work so much better as a kiosk. (nokia 770)


Regards
Simon

At 18:00 21/03/2007, Johan Bilien wrote:


On Tue, Mar 20, 2007, Frantisek Dufka wrote:
 Tomàs Jiménez Lozano wrote:

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

 Yes this brute force approach could work too. You could use uinput
 kernel driver (used with serial bluetooth keyboards) to feed proper
 F-key to the kernel input subsystem to emulate such key press. Could be
 quite easy but you need kernel module not present by default on the device.

Using the XTest extension should work, something like
XTestFakeKeyEvent (display, keycode, TRUE, CurrentTime);
XTestFakeKeyEvent (display, keycode, FALSE, CurrentTime);

--
Johan Bilien
[EMAIL PROTECTED]
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.15/728 
- Release Date: 20/03/2007 08:07



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.17/730 - Release Date: 22/03/2007 
07:44


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


Re: Launch maemo browser in fullscreen mode

2007-03-23 Thread Johan Bilien
On Fri, Mar 23, 2007, Simon Moore wrote:
 It does work, I've tried it.  Not specific to the 
 browser of course, can send any key to any 
 screen, but in this case you send F6 when the 
 browser is the front window to make it full screen.
 
 Anyone got any tips on changing X windows (i.e. 
 removing window manager) so just the browser 
 starts up with no other Apps?  It would make the 
 above work so much better as a kiosk. (nokia 770)

You could use the browser as your desktop process.

Replace PROG=/usr/bin/maemo_af_desktop with
PROG=/usr/bin/browser in /etc/osso-af-init/maemo-af-desktop.sh.

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


Re: Launch maemo browser in fullscreen mode

2007-03-23 Thread Kalle Vahlman

2007/3/23, Simon Moore [EMAIL PROTECTED]:

It does work, I've tried it.  Not specific to the
browser of course, can send any key to any
screen, but in this case you send F6 when the
browser is the front window to make it full screen.

Anyone got any tips on changing X windows (i.e.
removing window manager) so just the browser
starts up with no other Apps?  It would make the
above work so much better as a kiosk. (nokia 770)


A quick and dirty way would be to replace maemo-af-desktop with osso
browser in maemo-af-desktop startup script
(/etc/osso-af-init/maemo-af-desktop.sh).

A more proper way in my opinion would be to write a real init script
for it, and just remove the unneeded programs from the af initscripts.

--
Kalle Vahlman, [EMAIL PROTECTED]
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Launch maemo browser in fullscreen mode

2007-03-23 Thread Simon Moore
Just in case anyone else tries the below - your device might go into 
a reboot loop.

Presumably need to disable the watchdog thingy.

Regards
Simon

At 10:24 23/03/2007, Johan Bilien wrote:


On Fri, Mar 23, 2007, Simon Moore wrote:
 It does work, I've tried it.  Not specific to the
 browser of course, can send any key to any
 screen, but in this case you send F6 when the
 browser is the front window to make it full screen.

 Anyone got any tips on changing X windows (i.e.
 removing window manager) so just the browser
 starts up with no other Apps?  It would make the
 above work so much better as a kiosk. (nokia 770)

You could use the browser as your desktop process.

Replace PROG=/usr/bin/maemo_af_desktop with
PROG=/usr/bin/browser in /etc/osso-af-init/maemo-af-desktop.sh.




--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.17/730 - Release Date: 
22/03/2007 07:44



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.17/730 - Release Date: 22/03/2007 
07:44


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


Re: Launch maemo browser in fullscreen mode

2007-03-21 Thread Johan Bilien
On Tue, Mar 20, 2007, Frantisek Dufka wrote:
 Tomàs Jiménez Lozano wrote:
 
 There is really no way to maximize an application in general (and maemo
 browser in particular) emulating the HW Key press?
 
 
 Yes this brute force approach could work too. You could use uinput 
 kernel driver (used with serial bluetooth keyboards) to feed proper 
 F-key to the kernel input subsystem to emulate such key press. Could be 
 quite easy but you need kernel module not present by default on the device.

Using the XTest extension should work, something like
XTestFakeKeyEvent (display, keycode, TRUE, CurrentTime);
XTestFakeKeyEvent (display, keycode, FALSE, CurrentTime);

-- 
Johan Bilien
[EMAIL PROTECTED]
___
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 Jakub.Pavelek
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


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


Re: Launch maemo browser in fullscreen mode

2007-03-20 Thread Frantisek Dufka

Tomàs Jiménez Lozano wrote:


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



Yes this brute force approach could work too. You could use uinput 
kernel driver (used with serial bluetooth keyboards) to feed proper 
F-key to the kernel input subsystem to emulate such key press. Could be 
quite easy but you need kernel module not present by default on the device.


Maybe there is better way - using window manager to make the application 
full screen via something else than just keypress. Or write something 
that does this directly - set X window properties of browser window to 
be fullscreen.


Frantisek
___
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 Simon Moore
It is possible to compile a small App that sends 
the keyboard function key (F6 I think) to x 
windows that is equivalent to the hardware 
fullscreen button being pressed (someone pointed 
me in that direction a while ago on the 
list).  Far from the best solution but it can work.


The downside is it is hard to be sure which 
application is in front (I believe there is a 
util that can tell an app to go to the front, but 
not exactly fool proof).  I am told it is 
possible to disable the hardware key but I am not 
quite sure how you would do this (change the key 
mappings file?).  If you can't do that they can 
take it out of fullscreen, they can also press the home button.


The browser crashes an enormous amount (one 
person mentions it is linked to the number of 
additional windows you open, most others think it 
is memory related), so you need a way to detect 
it crashed and reopen it.  (I managed to do this 
in Rh9 really easily, so if browser or x-windows 
crash it restarts, can't seem to crack it on the nokia).


Sleep mode (and also power off when charger 
plugged in) don't tend cause a proper boot up (it 
is already up) so startup scripts to start the browser don't get fired.


Ideally I'd want to uninstall all non useful 
applications (e.g. games, email etc). Has anyone written anything to do that?


I have not found any way to cut everything back 
to just the desktop and the web browser (i.e. 
remove the window manager) if someone can provide 
more info on that then I can probably knock up a 
proper kiosk mode for the Nokia and release it 
back and then we could have a basic kiosk and 
everyone can chip in to fix the other issues.


There are so many fab web apps for a kiosk tablet 
- e.g. Museum guide (so much better than the talk in your ear ones).


Kind Regards
Simon


At 07:15 20/03/2007, [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



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.14/727 
- Release Date: 19/03/2007 11:49



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.14/727 - Release Date: 19/03/2007 
11:49


___
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 Jakub.Pavelek
AFAIK the sources for the browser UI (not the engine) are public:
https://garage.maemo.org/projects/browser/

I even managed to compile them once (didn't run though). I would think that 
having own browser UI that launches fullscreen for your needs would be good 
enough solution for a kiosk mode project.

Br,

--jakub

It is possible to compile a small App that sends the keyboard 
function key (F6 I think) to x windows that is equivalent to 
the hardware fullscreen button being pressed (someone pointed 
me in that direction a while ago on the list).  Far from the 
best solution but it can work.

The downside is it is hard to be sure which application is in 
front (I believe there is a util that can tell an app to go to 
the front, but not exactly fool proof).  I am told it is 
possible to disable the hardware key but I am not quite sure 
how you would do this (change the key mappings file?).  If you 
can't do that they can take it out of fullscreen, they can 
also press the home button.

The browser crashes an enormous amount (one person mentions it 
is linked to the number of additional windows you open, most 
others think it is memory related), so you need a way to 
detect it crashed and reopen it.  (I managed to do this in Rh9 
really easily, so if browser or x-windows crash it restarts, 
can't seem to crack it on the nokia).

Sleep mode (and also power off when charger plugged in) don't 
tend cause a proper boot up (it is already up) so startup 
scripts to start the browser don't get fired.

Ideally I'd want to uninstall all non useful applications 
(e.g. games, email etc). Has anyone written anything to do that?

I have not found any way to cut everything back to just the 
desktop and the web browser (i.e. 
remove the window manager) if someone can provide more info on 
that then I can probably knock up a proper kiosk mode for the 
Nokia and release it back and then we could have a basic kiosk 
and everyone can chip in to fix the other issues.

There are so many fab web apps for a kiosk tablet
- e.g. Museum guide (so much better than the talk in your ear ones).

Kind Regards
Simon


At 07:15 20/03/2007, [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



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.14/727
- Release Date: 19/03/2007 11:49


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.14/727 - Release 
Date: 19/03/2007 11:49



___
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 Antonio Gomes

Hi,

These are not UI packages/sources. Browser eal (engine abstraction layer)
and maemo-browser-interface are respectively a layer for UI interoperability
between engines and an interfacing package for other apps to access/share
some browser stuff.

regards


https://garage.maemo.org/projects/browser/


I even managed to compile them once (didn't run though). I would think
that having own browser UI that launches fullscreen for your needs would be
good enough solution for a kiosk mode project.


It is possible to compile a small App that sends the keyboard
function key (F6 I think) to x windows that is equivalent to
the hardware fullscreen button being pressed (someone pointed
me in that direction a while ago on the list).  Far from the
best solution but it can work.

The downside is it is hard to be sure which application is in
front (I believe there is a util that can tell an app to go to
the front, but not exactly fool proof).  I am told it is
possible to disable the hardware key but I am not quite sure
how you would do this (change the key mappings file?).  If you
can't do that they can take it out of fullscreen, they can
also press the home button.

The browser crashes an enormous amount (one person mentions it
is linked to the number of additional windows you open, most
others think it is memory related), so you need a way to
detect it crashed and reopen it.  (I managed to do this in Rh9
really easily, so if browser or x-windows crash it restarts,
can't seem to crack it on the nokia).

Sleep mode (and also power off when charger plugged in) don't
tend cause a proper boot up (it is already up) so startup
scripts to start the browser don't get fired.

Ideally I'd want to uninstall all non useful applications
(e.g. games, email etc). Has anyone written anything to do that?

I have not found any way to cut everything back to just the
desktop and the web browser (i.e.
remove the window manager) if someone can provide more info on
that then I can probably knock up a proper kiosk mode for the
Nokia and release it back and then we could have a basic kiosk
and everyone can chip in to fix the other issues.

There are so many fab web apps for a kiosk tablet
- e.g. Museum guide (so much better than the talk in your ear ones).

Kind Regards
Simon


At 07:15 20/03/2007, [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



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.14/727
- Release Date: 19/03/2007 11:49


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.14/727 - Release
Date: 19/03/2007 11:49



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


AFAIK the sources for the browser UI (not the engine) are public:



--
--Antonio Gomes
___
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


Re: Launch maemo browser in fullscreen mode

2007-03-19 Thread andrew gatt
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


Re: Launch maemo browser in fullscreen mode

2007-03-19 Thread Eero Tamminen

Hi,

ext 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.


In this case you don't want to run Desktop.  With the Home key
user can always switch to Home or some other window.

You might also want to modify the window manager settings
(see matchbox documentation for more information).


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


Re: Launch maemo browser in fullscreen mode

2007-03-19 Thread David Weinehall
On mån, 2007-03-19 at 18:08 +0200, ext Eero Tamminen wrote:
 Hi,
 
 ext 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.
 
 In this case you don't want to run Desktop.  With the Home key
 user can always switch to Home or some other window.

Not if he modifies /etc/mce.ini first:

HomeKeyShortAction=disabled
HomeKeyLongAction=disabled

should do the trick =)

[snip]


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


Re: Launch maemo browser in fullscreen mode

2007-03-19 Thread Eero Tamminen

Hi,

David Weinehall wrote:

As a first step to achieve some kind of kiosk mode I am trying to open
maemo browser at startup in fullscreen mode.

In this case you don't want to run Desktop.  With the Home key
user can always switch to Home or some other window.


Not if he modifies /etc/mce.ini first:

HomeKeyShortAction=disabled
HomeKeyLongAction=disabled

should do the trick =)


There's still the problem that even although the Browser would start
in fullscreen, user can always press the fullscreen key and exit
fullscreen mode.  This key is interpreted by the Browser itself.
Grabbing that key would be kludge way to do anything, it's better
not to run Desktop (with which one could switch to another app) and
in WM configuration disable minimize  close buttons etc.

Eventually Browser will take all memory and not be able to open any
new pages.  In this case it would be nice if user could close Browser
and it would be restarted automatically.  Same thing when it crashes...
Easiest way to do that would be to use the device SW watchdog for
starting Browser, similarly to the input method.  Maybe by replacing
Desktop in its startup script with Browser and changing the startup
policy to what is used for the input method.  (see the scripts in
/etc/osso-af-init/)


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