Re: [Meego-handset] [N900] Fennec pre-starting

2011-05-07 Thread Mika Laitio

Actually on N900 I don't the we are CPU bound, we are memory bound.
Those whole beast is too big and this we start to swap out parts while
loading ...


Just an idea without really checking the build code.

Has anybody checked the list of extensions/and/or support for plugin 
API's that are included on fennec builds? For example to check whether 
things like support for java plugin (nsapi, etc..) are included in 
build. If yes, I think they could be dropped for now at least on n900 case.


It's been a while when I worked with minimo, but I remember that even 
the build times could be reduces a lot by dropping features not really 
needed for browsing. So propably it would also have some impact on 
memory usage...


Mika
___
MeeGo-handset mailing list
MeeGo-handset@lists.meego.com
http://lists.meego.com/listinfo/meego-handset


Re: [Meego-handset] [N900] Fennec pre-starting

2011-05-06 Thread Stefan Kost
On 20.04.2011 20:21, Robert Kaiser wrote:
> casey.schauf...@nokia.com schrieb:
>> I am working on getting some performance improvement in fennec,
>> especially on startup. It's honking big, massively generalized, and a
>> royal pain to build. There is not likely to be a quick fix.
>
> Are you in some form of contact with our mobile team at Mozilla, i.e.
> the Fennec upstream?
>
> I know that some work went into improving general Firefox and esp.
> Fennec startup recently, though Mike Hommey, who did some startup
> improvement work, told me that on the N900, startup is pretty much
> CPU-bound (while on desktop I/O plays a large role).
> Perhaps on working together, there might be a chance of helping each
> other and make Fennec faster to launch on all devices. :)

Actually on N900 I don't the we are CPU bound, we are memory bound.
Those whole beast is too big and this we start to swap out parts while
loading ...

Stefan

>
> Robert Kaiser
> ___
> MeeGo-handset mailing list
> MeeGo-handset@lists.meego.com
> http://lists.meego.com/listinfo/meego-handset

___
MeeGo-handset mailing list
MeeGo-handset@lists.meego.com
http://lists.meego.com/listinfo/meego-handset


Re: [Meego-handset] [N900] Fennec pre-starting

2011-04-21 Thread Robert Kaiser

casey.schauf...@nokia.com schrieb:

An idea with merit. I want to see if I can get to a point where I can talk 
about the issues coherently first.


FYI, here's a small snippet from #mobile on irc.mozilla.org:

 who is the best contact to point MeeGo people to when they want 
to work on improving startup speed of Fennec on MeeGo N900 Developer 
Edition? I'd guess any ideas coming out of talks of the two sides (us 
and them) together could help all of the mobile story

 KaiRo: taras?
 and glandium
 honestly, the n900 is so slow that there's not much we can do 
except making xul faster

[...]
 KaiRo, there are active meego contributors working on patches 
for fennec
 still, don't want to disturb discussions here, just wanted to 
see if there's something where I can help them by providing a contact
 KaiRo, if you have a meego device and can do some testing, you 
should file some bugs too

 too early to tell, but right now, i think that idea is dead.
 KaiRo, as I said - contact via IRC, email and more 
importantly, bugs+patches


"taras" is Taras Glek (tglek), "glandium" is Mike Hommey, both of them 
have investigated startup for both Firefox and Fennec a lot recently.

(mfinkle and dougt are two leading people of our mobile team at Mozilla.)

Also, in the current DE snapshots, Fennec feels a _lot_ faster at 
startup than on any of the previous MeeGo 1.2 images I tested (also see 
the message from Anssi on "UX Response Time measurements" that confirms 
that with numbers).


I remember that glandium once told me that startup on the N900 is mostly 
CPU-bound, and so it's really hard to improve there. One thing to not is 
that on any Linux system, actually using shared libraries with the rest 
of the system ("system libraries") helps startup, while using the 
Mozilla built-in libraries slows down, because it can't reuse already 
loaded libraries. In that light, I hope MeeGo is - like most other 
distros - using system libraries where possible.


That said, I hope that helps a bit for now as far as contacts go, 
dropping into #mobile on irc.mozilla.org, esp. during US work hours, can 
usually get a lot of questions about Fennec answered - though they are 
not that much interested in MeeGo on the N900, unsurprisingly, given 
that it's an old and relatively slow device nowadays, MeeGo will even be 
a niche for N900, and in the eyes of most of the world, Nokia has killed 
MeeGo (we might see that differently, but convincing people on that is 
hard). Still, if people from the MeeGo side are willing to do the work, 
they are surely willing to help and give pointers where possible - even 
if that might be hard when it comes to startup speed.


Robert Kaiser
___
MeeGo-handset mailing list
MeeGo-handset@lists.meego.com
http://lists.meego.com/listinfo/meego-handset


Re: [Meego-handset] [N900] Fennec pre-starting

2011-04-20 Thread Oleg Romashin

On 04/20/2011 01:56 AM, ext jeremias bosch wrote:
On 04/20/2011 10:48 AM, jukka.ekl...@nokia.com 
<mailto:jukka.ekl...@nokia.com> wrote:


Hi,

Is there still work to be done regarding bug, 
https://bugs.meego.com/show_bug.cgi?id=8664?




First of all we are loading home page which is related to about:xxx 
protocol, and that protocol by default loaded in UI process, and if that 
page having some JS/network related content it might freeze browser UI, 
this is the reason why fennec typing does not work even if it is 
visible (about:firefox page has sync stuff, extensions checking et.c.)
I guess redirect to non-about: page will fix it, also if you load some 
local page like, /usr/share/fennec/home.html it is going to be much more 
responsive.


Second - fennec resizing on startup... not sure if it still the 
problem... but before I've seen some bunch of resize events.
it make sense to run oprofile on N900 meego and check what is the real 
reason of slow startup, on Android startup taking 3-5 second sometime 
even faster, on Harmattan it is 5 seconds (in 5 seconds you can type 
into url bar)


Br, Oleg


From a user point of view the issue is not only startup time, but the 
delay between UI appearing and being able to actually input URL. The 
whole process still takes way too much time, and led me to not 
demoing Fennec in MeeGo Summit for example even though I really 
wanted since there has been good progress lately.


Jukka


Hi,

no even on much much more powerful devices startup takes still up to 
10 seconds in worstcase. Its a systematical issue. Within android 
firefox bestcase startup time is around 3-5 seconds iirc.


- Jeremias

*From:*meego-handset-boun...@lists.meego.com 
<mailto:meego-handset-boun...@lists.meego.com> 
[mailto:meego-handset-boun...@lists.meego.com] *On Behalf Of *ext 
jeremias bosch

*Sent:* 20. huhtikuuta 2011 10:40
*To:* Hartikainen Vesa-Matti (Nokia-SD/Tampere)
*Cc:* nokia_browser...@basyskom.de 
<mailto:nokia_browser...@basyskom.de>; meego-handset@lists.meego.com 
<mailto:meego-handset@lists.meego.com>

*Subject:* Re: [Meego-handset] [N900] Fennec pre-starting

Hi

i do NOT recommend to do prestarting at all. It leads to all kind of 
trouble and issues.


The issues

  * device start taking longer,
  * constant memory consumption ending in question
  * how to avoid that fennec shows ui when prestarting
  * what happens when user actually close fennec.
  * constant usetime / cpu usage from fennec

We tried to adjust an extension we made once to work on meego. This 
extension was able to handle all this -
but we found that its not that simple with avoiding relations to 
libmeegotouch and so we did not

follow this path.

Again, i recommend you to NOT do prestarting.

Jeremias


On 04/20/2011 09:16 AM, vesa-matti.hartikai...@nokia.com 
<mailto:vesa-matti.hartikai...@nokia.com> wrote:


Hi,
 
  Carsten, was this with old fennec?
 
  Jeremias, is this still possible with new (current) fennec? Also, do we have enough memory in N900 to prestart fennec or are will the device be running low on memory if we do so? Any other issues in prestarting?
 
BR,

  Vesku
 
 
On 20.4.2011, at 9:49, ext Carsten Munk wrote:
 


Hi,

 


I had an item on my todo to describe how to do faststart/prestarting

in Fennec. My old package is broken so can't just as easily make a

patch but here's steps for someone to implement:

 


Add to mozconfig.(x86, arm):

 


ac_add_options --enable-faststart

 


Add file fennec-faststart.desktop to package:

 


[Desktop Entry]

Name=Fennec faststart

Exec=/usr/bin/fennec -faststart-hidden

Terminal=False

Type=Application

 


In %install phase, SOURCE6 should be whatever SOURCEX

fennec-faststart.desktop is.

 


mkdir -p %{buildroot}/etc/xdg/autostart

cp %{SOURCE6} %{buildroot}/etc/xdg/autostart/fennec-faststart.desktop

 


and then in %files add:

/etc/xdg/autostart/fennec-faststart.desktop

 


.. and that's prestarting of Fennec, back in the version I had.

 


/Carsten

___

MeeGo-handset mailing list

MeeGo-handset@lists.meego.com  <mailto:MeeGo-handset@lists.meego.com>   

http://lists.meego.com/listinfo/meego-handset   

 





___
MeeGo-handset mailing list
MeeGo-handset@lists.meego.com
http://lists.meego.com/listinfo/meego-handset


Re: [Meego-handset] [N900] Fennec pre-starting

2011-04-20 Thread jeremias bosch

Hi
I would be really excited to have improvements there. There was a huge 
team working on startup improvement for some time

but without real success. So if you get something feel welcome to contact.

Jeremias

Am 20.04.2011 19:42, schrieb casey.schauf...@nokia.com:

An idea with merit. I want to see if I can get to a point where I can talk 
about the issues coherently first.


From: ext Robert Kaiser [ka...@kairo.at]
Sent: Wednesday, April 20, 2011 10:21 AM
To: Schaufler Casey (Nokia-SD/SiliconValley)
Cc: jeremias.bo...@basyskom.de; Eklund Jukka (Nokia-SD/Tampere); 
meego-handset@lists.meego.com; nokia_browser...@basyskom.de
Subject: Re: [Meego-handset] [N900] Fennec pre-starting

casey.schauf...@nokia.com schrieb:

I am working on getting some performance improvement in fennec, especially on 
startup. It's honking big, massively generalized, and a royal pain to build. 
There is not likely to be a quick fix.

Are you in some form of contact with our mobile team at Mozilla, i.e.
the Fennec upstream?

I know that some work went into improving general Firefox and esp.
Fennec startup recently, though Mike Hommey, who did some startup
improvement work, told me that on the N900, startup is pretty much
CPU-bound (while on desktop I/O plays a large role).
Perhaps on working together, there might be a chance of helping each
other and make Fennec faster to launch on all devices. :)

Robert Kaiser


___
MeeGo-handset mailing list
MeeGo-handset@lists.meego.com
http://lists.meego.com/listinfo/meego-handset


Re: [Meego-handset] [N900] Fennec pre-starting

2011-04-20 Thread casey.schaufler

An idea with merit. I want to see if I can get to a point where I can talk 
about the issues coherently first.


From: ext Robert Kaiser [ka...@kairo.at]
Sent: Wednesday, April 20, 2011 10:21 AM
To: Schaufler Casey (Nokia-SD/SiliconValley)
Cc: jeremias.bo...@basyskom.de; Eklund Jukka (Nokia-SD/Tampere); 
meego-handset@lists.meego.com; nokia_browser...@basyskom.de
Subject: Re: [Meego-handset] [N900] Fennec pre-starting

casey.schauf...@nokia.com schrieb:
> I am working on getting some performance improvement in fennec, especially on 
> startup. It's honking big, massively generalized, and a royal pain to build. 
> There is not likely to be a quick fix.

Are you in some form of contact with our mobile team at Mozilla, i.e.
the Fennec upstream?

I know that some work went into improving general Firefox and esp.
Fennec startup recently, though Mike Hommey, who did some startup
improvement work, told me that on the N900, startup is pretty much
CPU-bound (while on desktop I/O plays a large role).
Perhaps on working together, there might be a chance of helping each
other and make Fennec faster to launch on all devices. :)

Robert Kaiser
___
MeeGo-handset mailing list
MeeGo-handset@lists.meego.com
http://lists.meego.com/listinfo/meego-handset


Re: [Meego-handset] [N900] Fennec pre-starting

2011-04-20 Thread Robert Kaiser

casey.schauf...@nokia.com schrieb:

I am working on getting some performance improvement in fennec, especially on 
startup. It's honking big, massively generalized, and a royal pain to build. 
There is not likely to be a quick fix.


Are you in some form of contact with our mobile team at Mozilla, i.e. 
the Fennec upstream?


I know that some work went into improving general Firefox and esp. 
Fennec startup recently, though Mike Hommey, who did some startup 
improvement work, told me that on the N900, startup is pretty much 
CPU-bound (while on desktop I/O plays a large role).
Perhaps on working together, there might be a chance of helping each 
other and make Fennec faster to launch on all devices. :)


Robert Kaiser
___
MeeGo-handset mailing list
MeeGo-handset@lists.meego.com
http://lists.meego.com/listinfo/meego-handset


Re: [Meego-handset] [N900] Fennec pre-starting

2011-04-20 Thread casey.schaufler


I am working on getting some performance improvement in fennec, especially on 
startup. It's honking big, massively generalized, and a royal pain to build. 
There is not likely to be a quick fix.




From: meego-handset-boun...@lists.meego.com 
[meego-handset-boun...@lists.meego.com] on behalf of ext jeremias bosch 
[jeremias.bo...@basyskom.de]
Sent: Wednesday, April 20, 2011 1:56 AM
To: Eklund Jukka (Nokia-SD/Tampere)
Cc: meego-handset@lists.meego.com; nokia_browser...@basyskom.de
Subject: Re: [Meego-handset] [N900] Fennec pre-starting

On 04/20/2011 10:48 AM, jukka.ekl...@nokia.com<mailto:jukka.ekl...@nokia.com> 
wrote:

Hi,



Is there still work to be done regarding bug, 
https://bugs.meego.com/show_bug.cgi?id=8664?



>From a user point of view the issue is not only startup time, but the delay 
>between UI appearing and being able to actually input URL. The whole process 
>still takes way too much time, and led me to not demoing Fennec in MeeGo 
>Summit for example even though I really wanted since there has been good 
>progress lately.



Jukka



Hi,

no even on much much more powerful devices startup takes still up to 10 seconds 
in worstcase. Its a systematical issue. Within android firefox bestcase startup 
time is around 3-5 seconds iirc.

- Jeremias




From: 
meego-handset-boun...@lists.meego.com<mailto:meego-handset-boun...@lists.meego.com>
 [mailto:meego-handset-boun...@lists.meego.com] On Behalf Of ext jeremias bosch
Sent: 20. huhtikuuta 2011 10:40
To: Hartikainen Vesa-Matti (Nokia-SD/Tampere)
Cc: nokia_browser...@basyskom.de<mailto:nokia_browser...@basyskom.de>; 
meego-handset@lists.meego.com<mailto:meego-handset@lists.meego.com>
Subject: Re: [Meego-handset] [N900] Fennec pre-starting

Hi

i do NOT recommend to do prestarting at all. It leads to all kind of trouble 
and issues.

The issues

  *   device start taking longer,
  *   constant memory consumption ending in question
  *   how to avoid that fennec shows ui when prestarting
  *   what happens when user actually close fennec.
  *   constant usetime / cpu usage from fennec

We tried to adjust an extension we made once to work on meego. This extension 
was able to handle all this -
but we found that its not that simple with avoiding relations to libmeegotouch 
and so we did not
follow this path.

Again, i recommend you to NOT do prestarting.

Jeremias


On 04/20/2011 09:16 AM, 
vesa-matti.hartikai...@nokia.com<mailto:vesa-matti.hartikai...@nokia.com> wrote:

Hi,



 Carsten, was this with old fennec?



 Jeremias, is this still possible with new (current) fennec? Also, do we have 
enough memory in N900 to prestart fennec or are will the device be running low 
on memory if we do so? Any other issues in prestarting?



BR,

 Vesku





On 20.4.2011, at 9:49, ext Carsten Munk wrote:



Hi,



I had an item on my todo to describe how to do faststart/prestarting

in Fennec. My old package is broken so can't just as easily make a

patch but here's steps for someone to implement:



Add to mozconfig.(x86, arm):



ac_add_options --enable-faststart



Add file fennec-faststart.desktop to package:



[Desktop Entry]

Name=Fennec faststart

Exec=/usr/bin/fennec -faststart-hidden

Terminal=False

Type=Application



In %install phase, SOURCE6 should be whatever SOURCEX

fennec-faststart.desktop is.



mkdir -p %{buildroot}/etc/xdg/autostart

cp %{SOURCE6} %{buildroot}/etc/xdg/autostart/fennec-faststart.desktop



and then in %files add:

/etc/xdg/autostart/fennec-faststart.desktop



.. and that's prestarting of Fennec, back in the version I had.



/Carsten

___

MeeGo-handset mailing list

MeeGo-handset@lists.meego.com<mailto:MeeGo-handset@lists.meego.com>

http://lists.meego.com/listinfo/meego-handset



___
MeeGo-handset mailing list
MeeGo-handset@lists.meego.com
http://lists.meego.com/listinfo/meego-handset


Re: [Meego-handset] [N900] Fennec pre-starting

2011-04-20 Thread jeremias bosch

On 04/20/2011 10:48 AM, jukka.ekl...@nokia.com wrote:


Hi,

Is there still work to be done regarding bug, 
https://bugs.meego.com/show_bug.cgi?id=8664?


From a user point of view the issue is not only startup time, but the 
delay between UI appearing and being able to actually input URL. The 
whole process still takes way too much time, and led me to not demoing 
Fennec in MeeGo Summit for example even though I really wanted since 
there has been good progress lately.


Jukka


Hi,

no even on much much more powerful devices startup takes still up to 10 
seconds in worstcase. Its a systematical issue. Within android firefox 
bestcase startup time is around 3-5 seconds iirc.


- Jeremias

*From:*meego-handset-boun...@lists.meego.com 
[mailto:meego-handset-boun...@lists.meego.com] *On Behalf Of *ext 
jeremias bosch

*Sent:* 20. huhtikuuta 2011 10:40
*To:* Hartikainen Vesa-Matti (Nokia-SD/Tampere)
*Cc:* nokia_browser...@basyskom.de; meego-handset@lists.meego.com
*Subject:* Re: [Meego-handset] [N900] Fennec pre-starting

Hi

i do NOT recommend to do prestarting at all. It leads to all kind of 
trouble and issues.


The issues

* device start taking longer,
* constant memory consumption ending in question
* how to avoid that fennec shows ui when prestarting
* what happens when user actually close fennec.
* constant usetime / cpu usage from fennec

We tried to adjust an extension we made once to work on meego. This 
extension was able to handle all this -
but we found that its not that simple with avoiding relations to 
libmeegotouch and so we did not

follow this path.

Again, i recommend you to NOT do prestarting.

Jeremias


On 04/20/2011 09:16 AM, vesa-matti.hartikai...@nokia.com 
<mailto:vesa-matti.hartikai...@nokia.com> wrote:


Hi,
 
  Carsten, was this with old fennec?
 
  Jeremias, is this still possible with new (current) fennec? Also, do we have enough memory in N900 to prestart fennec or are will the device be running low on memory if we do so? Any other issues in prestarting?
 
BR,

  Vesku
 
 
On 20.4.2011, at 9:49, ext Carsten Munk wrote:
 


Hi,

 


I had an item on my todo to describe how to do faststart/prestarting

in Fennec. My old package is broken so can't just as easily make a

patch but here's steps for someone to implement:

 


Add to mozconfig.(x86, arm):

 


ac_add_options --enable-faststart

 


Add file fennec-faststart.desktop to package:

 


[Desktop Entry]

Name=Fennec faststart

Exec=/usr/bin/fennec -faststart-hidden

Terminal=False

Type=Application

 


In %install phase, SOURCE6 should be whatever SOURCEX

fennec-faststart.desktop is.

 


mkdir -p %{buildroot}/etc/xdg/autostart

cp %{SOURCE6} %{buildroot}/etc/xdg/autostart/fennec-faststart.desktop

 


and then in %files add:

/etc/xdg/autostart/fennec-faststart.desktop

 


.. and that's prestarting of Fennec, back in the version I had.

 


/Carsten

___

MeeGo-handset mailing list

MeeGo-handset@lists.meego.com  <mailto:MeeGo-handset@lists.meego.com>   

http://lists.meego.com/listinfo/meego-handset   

 



___
MeeGo-handset mailing list
MeeGo-handset@lists.meego.com
http://lists.meego.com/listinfo/meego-handset


Re: [Meego-handset] [N900] Fennec pre-starting

2011-04-20 Thread jukka.eklund
Hi,

Is there still work to be done regarding bug, 
https://bugs.meego.com/show_bug.cgi?id=8664?

>From a user point of view the issue is not only startup time, but the delay 
>between UI appearing and being able to actually input URL. The whole process 
>still takes way too much time, and led me to not demoing Fennec in MeeGo 
>Summit for example even though I really wanted since there has been good 
>progress lately.

Jukka


From: meego-handset-boun...@lists.meego.com 
[mailto:meego-handset-boun...@lists.meego.com] On Behalf Of ext jeremias bosch
Sent: 20. huhtikuuta 2011 10:40
To: Hartikainen Vesa-Matti (Nokia-SD/Tampere)
Cc: nokia_browser...@basyskom.de; meego-handset@lists.meego.com
Subject: Re: [Meego-handset] [N900] Fennec pre-starting

Hi

i do NOT recommend to do prestarting at all. It leads to all kind of trouble 
and issues.

The issues

  *   device start taking longer,
  *   constant memory consumption ending in question
  *   how to avoid that fennec shows ui when prestarting
  *   what happens when user actually close fennec.
  *   constant usetime / cpu usage from fennec
We tried to adjust an extension we made once to work on meego. This extension 
was able to handle all this -
but we found that its not that simple with avoiding relations to libmeegotouch 
and so we did not
follow this path.

Again, i recommend you to NOT do prestarting.

Jeremias


On 04/20/2011 09:16 AM, 
vesa-matti.hartikai...@nokia.com<mailto:vesa-matti.hartikai...@nokia.com> wrote:

Hi,



 Carsten, was this with old fennec?



 Jeremias, is this still possible with new (current) fennec? Also, do we have 
enough memory in N900 to prestart fennec or are will the device be running low 
on memory if we do so? Any other issues in prestarting?



BR,

 Vesku





On 20.4.2011, at 9:49, ext Carsten Munk wrote:



Hi,



I had an item on my todo to describe how to do faststart/prestarting

in Fennec. My old package is broken so can't just as easily make a

patch but here's steps for someone to implement:



Add to mozconfig.(x86, arm):



ac_add_options --enable-faststart



Add file fennec-faststart.desktop to package:



[Desktop Entry]

Name=Fennec faststart

Exec=/usr/bin/fennec -faststart-hidden

Terminal=False

Type=Application



In %install phase, SOURCE6 should be whatever SOURCEX

fennec-faststart.desktop is.



mkdir -p %{buildroot}/etc/xdg/autostart

cp %{SOURCE6} %{buildroot}/etc/xdg/autostart/fennec-faststart.desktop



and then in %files add:

/etc/xdg/autostart/fennec-faststart.desktop



.. and that's prestarting of Fennec, back in the version I had.



/Carsten

___

MeeGo-handset mailing list

MeeGo-handset@lists.meego.com<mailto:MeeGo-handset@lists.meego.com>

http://lists.meego.com/listinfo/meego-handset



___
MeeGo-handset mailing list
MeeGo-handset@lists.meego.com
http://lists.meego.com/listinfo/meego-handset


Re: [Meego-handset] [N900] Fennec pre-starting

2011-04-20 Thread jeremias bosch

Hi

i do NOT recommend to do prestarting at all. It leads to all kind of 
trouble and issues.


The issues

   * device start taking longer,
   * constant memory consumption ending in question
   * how to avoid that fennec shows ui when prestarting
   * what happens when user actually close fennec.
   * constant usetime / cpu usage from fennec

We tried to adjust an extension we made once to work on meego. This 
extension was able to handle all this -
but we found that its not that simple with avoiding relations to 
libmeegotouch and so we did not

follow this path.

Again, i recommend you to NOT do prestarting.

Jeremias


On 04/20/2011 09:16 AM, vesa-matti.hartikai...@nokia.com wrote:

Hi,

  Carsten, was this with old fennec?

  Jeremias, is this still possible with new (current) fennec? Also, do we have 
enough memory in N900 to prestart fennec or are will the device be running low 
on memory if we do so? Any other issues in prestarting?

BR,
  Vesku


On 20.4.2011, at 9:49, ext Carsten Munk wrote:


Hi,

I had an item on my todo to describe how to do faststart/prestarting
in Fennec. My old package is broken so can't just as easily make a
patch but here's steps for someone to implement:

Add to mozconfig.(x86, arm):

ac_add_options --enable-faststart

Add file fennec-faststart.desktop to package:

[Desktop Entry]
Name=Fennec faststart
Exec=/usr/bin/fennec -faststart-hidden
Terminal=False
Type=Application

In %install phase, SOURCE6 should be whatever SOURCEX
fennec-faststart.desktop is.

mkdir -p %{buildroot}/etc/xdg/autostart
cp %{SOURCE6} %{buildroot}/etc/xdg/autostart/fennec-faststart.desktop

and then in %files add:
/etc/xdg/autostart/fennec-faststart.desktop

.. and that's prestarting of Fennec, back in the version I had.

/Carsten
___
MeeGo-handset mailing list
MeeGo-handset@lists.meego.com
http://lists.meego.com/listinfo/meego-handset


___
MeeGo-handset mailing list
MeeGo-handset@lists.meego.com
http://lists.meego.com/listinfo/meego-handset


Re: [Meego-handset] [N900] Fennec pre-starting

2011-04-20 Thread jukka.eklund
Hi,

I have been running Fennec in the background in N900, and to my experience it 
pretty much kills the whole UI. Let's try this and analyze if there is memory 
running out or something else?

> -Original Message-
> From: meego-handset-boun...@lists.meego.com [mailto:meego-handset-
> boun...@lists.meego.com] On Behalf Of ext vesa-
> matti.hartikai...@nokia.com
> Sent: 20. huhtikuuta 2011 10:16
> To: cars...@maemo.org; jeremias.bo...@basyskom.de
> Cc: meego-handset@lists.meego.com
> Subject: Re: [Meego-handset] [N900] Fennec pre-starting
> 
> Hi,
> 
>  Carsten, was this with old fennec?
> 
>  Jeremias, is this still possible with new (current) fennec? Also, do we have
> enough memory in N900 to prestart fennec or are will the device be running
> low on memory if we do so? Any other issues in prestarting?
> 
> BR,
>  Vesku
> 
> 
> On 20.4.2011, at 9:49, ext Carsten Munk wrote:
> 
> > Hi,
> >
> > I had an item on my todo to describe how to do faststart/prestarting
> > in Fennec. My old package is broken so can't just as easily make a
> > patch but here's steps for someone to implement:
> >
> > Add to mozconfig.(x86, arm):
> >
> > ac_add_options --enable-faststart
> >
> > Add file fennec-faststart.desktop to package:
> >
> > [Desktop Entry]
> > Name=Fennec faststart
> > Exec=/usr/bin/fennec -faststart-hidden Terminal=False Type=Application
> >
> > In %install phase, SOURCE6 should be whatever SOURCEX
> > fennec-faststart.desktop is.
> >
> > mkdir -p %{buildroot}/etc/xdg/autostart cp %{SOURCE6}
> > %{buildroot}/etc/xdg/autostart/fennec-faststart.desktop
> >
> > and then in %files add:
> > /etc/xdg/autostart/fennec-faststart.desktop
> >
> > .. and that's prestarting of Fennec, back in the version I had.
> >
> > /Carsten
> > ___
> > MeeGo-handset mailing list
> > MeeGo-handset@lists.meego.com
> > http://lists.meego.com/listinfo/meego-handset
> 
> ___
> MeeGo-handset mailing list
> MeeGo-handset@lists.meego.com
> http://lists.meego.com/listinfo/meego-handset
___
MeeGo-handset mailing list
MeeGo-handset@lists.meego.com
http://lists.meego.com/listinfo/meego-handset


Re: [Meego-handset] [N900] Fennec pre-starting

2011-04-20 Thread vesa-matti.hartikainen
Hi,

 Carsten, was this with old fennec? 

 Jeremias, is this still possible with new (current) fennec? Also, do we have 
enough memory in N900 to prestart fennec or are will the device be running low 
on memory if we do so? Any other issues in prestarting?

BR,
 Vesku


On 20.4.2011, at 9:49, ext Carsten Munk wrote:

> Hi,
> 
> I had an item on my todo to describe how to do faststart/prestarting
> in Fennec. My old package is broken so can't just as easily make a
> patch but here's steps for someone to implement:
> 
> Add to mozconfig.(x86, arm):
> 
> ac_add_options --enable-faststart
> 
> Add file fennec-faststart.desktop to package:
> 
> [Desktop Entry]
> Name=Fennec faststart
> Exec=/usr/bin/fennec -faststart-hidden
> Terminal=False
> Type=Application
> 
> In %install phase, SOURCE6 should be whatever SOURCEX
> fennec-faststart.desktop is.
> 
> mkdir -p %{buildroot}/etc/xdg/autostart
> cp %{SOURCE6} %{buildroot}/etc/xdg/autostart/fennec-faststart.desktop
> 
> and then in %files add:
> /etc/xdg/autostart/fennec-faststart.desktop
> 
> .. and that's prestarting of Fennec, back in the version I had.
> 
> /Carsten
> ___
> MeeGo-handset mailing list
> MeeGo-handset@lists.meego.com
> http://lists.meego.com/listinfo/meego-handset

___
MeeGo-handset mailing list
MeeGo-handset@lists.meego.com
http://lists.meego.com/listinfo/meego-handset


[Meego-handset] [N900] Fennec pre-starting

2011-04-19 Thread Carsten Munk
Hi,

I had an item on my todo to describe how to do faststart/prestarting
in Fennec. My old package is broken so can't just as easily make a
patch but here's steps for someone to implement:

Add to mozconfig.(x86, arm):

ac_add_options --enable-faststart

Add file fennec-faststart.desktop to package:

[Desktop Entry]
Name=Fennec faststart
Exec=/usr/bin/fennec -faststart-hidden
Terminal=False
Type=Application

In %install phase, SOURCE6 should be whatever SOURCEX
fennec-faststart.desktop is.

mkdir -p %{buildroot}/etc/xdg/autostart
cp %{SOURCE6} %{buildroot}/etc/xdg/autostart/fennec-faststart.desktop

and then in %files add:
/etc/xdg/autostart/fennec-faststart.desktop

.. and that's prestarting of Fennec, back in the version I had.

/Carsten
___
MeeGo-handset mailing list
MeeGo-handset@lists.meego.com
http://lists.meego.com/listinfo/meego-handset