Re: [ubuntu-uk] Custom Unity Launchers

2014-02-02 Thread John Oliver


On 02/02/14 18:03, Anthony Harrington wrote:
(Although it /is /easy to make a launcher for it on the old 
gnome-shell desktop via alacarte, never done this for unity!)
I've made some menu options - the best way seems to put in a .desktop 
file in ~/.local/share/applications, and then editing that via alacarte, 
but you may have to restart compiz during the process.


The files can be made in gedit, but if you want to edit them later you 
have to open them through gedit as nautilus will try to run the command.


The file should be in a format like this:

[Desktop Entry]

Comment=Restart Compiz

Terminal=false

Name=Restart Compiz

Exec=compiz --replace

Type=Application

Icon=preferences-system

See 
https://developer.gnome.org/integration-guide/stable/desktop-files.html.en 
for a full guide and 
http://standards.freedesktop.org/menu-spec/latest/apa.html for a list of 
categories that should be supported by all desktop environments 
conforming to the freedesktop spec.
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Firefox hogging the processor

2014-02-02 Thread Anthony Harrington
On 02/02/14 15:41, Colin Law wrote:
> On 2 February 2014 13:55, Colin Law  wrote:
>> On 2 February 2014 13:04, Anthony Harrington
>>  wrote:
>>> On 02/02/14 12:25, Colin Law wrote:
>>>
>>> On 2 February 2014 12:10, J Fernyhough  wrote:
>>>
>>> On 2 February 2014 11:55, Colin Law  wrote:
>>>
>>> HI
>>>
>>> --
>>>
>>> I can't find anything on launchpad.  Any suggestions anyone?
>>>
>>> --
>>>
>>> Colin
>>>
>>> Which version of Firefox are you running? You might try the beta or aurora
>>> channels; I've seen a fair few issues with FF26, for example, that I haven't
>>> seen in 27a or 28a.
>>>
>>> I should have said, it is the standard version from the 13.10 repo.
>>> 26.0+build2-0ubuntu0.13.10.2
>>> I might give the beta a go if I can work out how to install it.
>>>
>>> Having said that, I've occasionally had high CPU with Gmail. I wonder if it
>>> sometimes gets stuck in an AJAX loop (or some other race condition).
>>>
>>> Possible.  Though if it were a loop in javascript then I would expect
>>> that FF should still be able to be closed down ok.
>>>
>>> Thanks
>>>
>>> Colin
>>>
>>> I'd recommend adding the Mozilla daily ppa and upgrading your installation
>>> that way. It's usually updated everyday of the year, give or take the odd
>>> week around holidays (for obvious reasons!) but i've yet to have problems
>>> with it in all the years i've been using it. It really is a great resource.
>>>
>>> to add it, do:
>>> sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
>>> then
>>> sudo apt-get update && sudo apt-get remove firefox && sudo apt-get install
>>> firefox-trunk
>> I will give that a go.  Thanks Anthony.
> Well that went ok, it even copied across my profile.  Just have to
> wait now to see if the problem shows itself again.
>
> Colin
>
>>> you'll get the very latest version everytime you update, from now on.
>>> (Currently 29 alpha) (Underlined part is optional if you want to take out
>>> mainline firefox )
>>>
>>> Any problems and you can always put firefox back. (I think you can have them
>>> both installed at the same time, but i'd err on caution and only keep the
>>> one you're going to use incase there's any profile clashing? Shouldn't be
>>> because they're stored in separate folders, but your call, i'm sure you'll
>>> be happy with the results of this.)
>>>
>>> --
>>> Launchpad translator and linux chemist ^_^
>>> https://launchpad.net/~untaintableangel
>>>
>>>
>>> --
>>> ubuntu-uk@lists.ubuntu.com
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
>>> https://wiki.ubuntu.com/UKTeam/
>>>
Actually, since there could be others reading this that want some tips,
there are further steps you can do to minimise firefox usage.

There are memory tweaks and other stuff you can fiddle with in
about:config that might reduce your cpu usage e.g. if you cache more or
in situations, allow more to be stored in memory before sending for more
data. But a good quick area to focus on is flash.

On my setup, i've got the greasemonkey addon along with a script for it
called 'viewtube'

Viewtube is very effective at forcing youtube/dailymotion etc flash
videos to work in whatever player you choose in the list on the video
and i set mine to highest definition available in html5. There's a very
small learning curve for what it does - like it gives you a 'get' option
to download the video, and you can set it to 'html5' or 'vlc' or 'xine' 
(xine is good if nothing else will work but 99% of the time html5 works
great and no adverts and loads very quickly but more importantly,
without flash, the cpu usage stays much lower.)

The only thing i ever actually need the flash plugin for now is if i
want to watch a video posted on facebook and i can't copy the youtube
link and open it in a new tab in html5. While flash does once in a blue
moon end up crashing the browser because of a facebook video, it never
happens unexpectedly or often at all, so i went to about:config and made
*dom.ipc.plugins.enabled* false. (Search for 'dom.ipc' in about:config
and set the top three booleans to false.)
This controls the 'plugin container' a separate process running with
firefox that contains plugins (as the name implies!) so that if they
crash, they don't take firefox with it. Without the process however, the
cpu usage does drop a fair bit. Much less than in previous
versions/previous years, but i live perfectly happily without it, maybe
you might be too?

Might be worth testing for yourself because it certainly made my life
easier. It doesn't make sense to have it if you can circumvent your
flash usage because its purely a safety net.


In response to using the firefox tarballs from their site and running
like that, i have done this before and you're right it is VERY simple
and contained and the update packages are smaller, but i feel like it's
much less integrated with the desktop unless you physically install it
from a ppa or build it from source. (Although it /is /easy to make a
launcher for it on the old gnome-shell desktop via alaca

Re: [ubuntu-uk] Problem with Linux Emporium website?

2014-02-02 Thread alan c
On 01/02/14 12:39, Andres wrote:

> On 1 de febrero de 2014 12:22:00 GMT, Barry Drake 
>  wrote:
[...]
>>
>>I bought my most recent PC from Cougar Extreme.  They have a guy called
>>
>>Patrick who knows Linux well, and the entire firm is very helpful. 
>>They 
>>sell laptops as well and are willing to say which hardware will work OK
>>
>>with Linux.  I bought my PC with no OS, but they would have installed 
>>Ubuntu on request.  From my point of view, Cougar is handy - about half
>>
>>an hour's drive away - but they will arrange delivery.
> 
> There is always the brit & fsf approved
> http://shop.gluglug.org.uk/

Yes, wonderful, I will certainly keep them in mind.
However I am likely to be lacking the higher end stuff and it seemed
only second user, older(?) kit. I have my share (or more) of that.

-- 
alan cocks

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Firefox hogging the processor

2014-02-02 Thread Colin Law
On 2 February 2014 13:55, Colin Law  wrote:
> On 2 February 2014 13:04, Anthony Harrington
>  wrote:
>> On 02/02/14 12:25, Colin Law wrote:
>>
>> On 2 February 2014 12:10, J Fernyhough  wrote:
>>
>> On 2 February 2014 11:55, Colin Law  wrote:
>>
>> HI
>>
>> --
>>
>> I can't find anything on launchpad.  Any suggestions anyone?
>>
>> --
>>
>> Colin
>>
>> Which version of Firefox are you running? You might try the beta or aurora
>> channels; I've seen a fair few issues with FF26, for example, that I haven't
>> seen in 27a or 28a.
>>
>> I should have said, it is the standard version from the 13.10 repo.
>> 26.0+build2-0ubuntu0.13.10.2
>> I might give the beta a go if I can work out how to install it.
>>
>> Having said that, I've occasionally had high CPU with Gmail. I wonder if it
>> sometimes gets stuck in an AJAX loop (or some other race condition).
>>
>> Possible.  Though if it were a loop in javascript then I would expect
>> that FF should still be able to be closed down ok.
>>
>> Thanks
>>
>> Colin
>>
>> I'd recommend adding the Mozilla daily ppa and upgrading your installation
>> that way. It's usually updated everyday of the year, give or take the odd
>> week around holidays (for obvious reasons!) but i've yet to have problems
>> with it in all the years i've been using it. It really is a great resource.
>>
>> to add it, do:
>> sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
>> then
>> sudo apt-get update && sudo apt-get remove firefox && sudo apt-get install
>> firefox-trunk
>
> I will give that a go.  Thanks Anthony.

Well that went ok, it even copied across my profile.  Just have to
wait now to see if the problem shows itself again.

Colin

>>
>> you'll get the very latest version everytime you update, from now on.
>> (Currently 29 alpha) (Underlined part is optional if you want to take out
>> mainline firefox )
>>
>> Any problems and you can always put firefox back. (I think you can have them
>> both installed at the same time, but i'd err on caution and only keep the
>> one you're going to use incase there's any profile clashing? Shouldn't be
>> because they're stored in separate folders, but your call, i'm sure you'll
>> be happy with the results of this.)
>>
>> --
>> Launchpad translator and linux chemist ^_^
>> https://launchpad.net/~untaintableangel
>>
>>
>> --
>> ubuntu-uk@lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
>> https://wiki.ubuntu.com/UKTeam/
>>

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Firefox hogging the processor

2014-02-02 Thread Colin Law
On 2 February 2014 13:04, Anthony Harrington
 wrote:
> On 02/02/14 12:25, Colin Law wrote:
>
> On 2 February 2014 12:10, J Fernyhough  wrote:
>
> On 2 February 2014 11:55, Colin Law  wrote:
>
> HI
>
> --
>
> I can't find anything on launchpad.  Any suggestions anyone?
>
> --
>
> Colin
>
> Which version of Firefox are you running? You might try the beta or aurora
> channels; I've seen a fair few issues with FF26, for example, that I haven't
> seen in 27a or 28a.
>
> I should have said, it is the standard version from the 13.10 repo.
> 26.0+build2-0ubuntu0.13.10.2
> I might give the beta a go if I can work out how to install it.
>
> Having said that, I've occasionally had high CPU with Gmail. I wonder if it
> sometimes gets stuck in an AJAX loop (or some other race condition).
>
> Possible.  Though if it were a loop in javascript then I would expect
> that FF should still be able to be closed down ok.
>
> Thanks
>
> Colin
>
> I'd recommend adding the Mozilla daily ppa and upgrading your installation
> that way. It's usually updated everyday of the year, give or take the odd
> week around holidays (for obvious reasons!) but i've yet to have problems
> with it in all the years i've been using it. It really is a great resource.
>
> to add it, do:
> sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
> then
> sudo apt-get update && sudo apt-get remove firefox && sudo apt-get install
> firefox-trunk

I will give that a go.  Thanks Anthony.

Colin

>
> you'll get the very latest version everytime you update, from now on.
> (Currently 29 alpha) (Underlined part is optional if you want to take out
> mainline firefox )
>
> Any problems and you can always put firefox back. (I think you can have them
> both installed at the same time, but i'd err on caution and only keep the
> one you're going to use incase there's any profile clashing? Shouldn't be
> because they're stored in separate folders, but your call, i'm sure you'll
> be happy with the results of this.)
>
> --
> Launchpad translator and linux chemist ^_^
> https://launchpad.net/~untaintableangel
>
>
> --
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Firefox hogging the processor

2014-02-02 Thread Colin Law
On 2 February 2014 13:13, Simon Greenwood  wrote:
>
>
> On 2 February 2014 12:33, J Fernyhough  wrote:
>>
>> On 2 February 2014 12:25, Colin Law  wrote:
>> >
>> > I should have said, it is the standard version from the 13.10 repo.
>> > 26.0+build2-0ubuntu0.13.10.2
>> > I might give the beta a go if I can work out how to install it.
>> >
>>
>> The easiest way to test is to just download from mozilla.org,
>> unarchive, and run:
>>
>> https://www.mozilla.org/en-US/firefox/beta/
>> https://www.mozilla.org/en-US/firefox/aurora/
>>
>> ;)
>>
>>
>
> I had a very similar problem with Ubuntu 9.04 with both Firefox and
> Thunderbird that seemed to be related to the Flash plugin, but also
> manifested itself with the OpenJDK plugin. I also ended up switching to the
> Aurora build but ultimately switched to Chrome. The issue seemed to be that
> the plugin (whichever one it was) didn't die when the client code was killed
> and would just start eating up cycles. Restarting Firefox (or Thunderbird)
> would solve the problem but I had to block Flash to prevent it from
> happening. I suspect that it may be related to the internal architecture on
> specific processors which is why it's not a common issue. I certainly
> haven't had it for some time.

I don't think it is flash related.  I have flash blocked with
Flashblock and I am fairly certain I have seen it fail in situations
where I have not manually started flash running.
I don't have a java plugin at all.

Colin

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Firefox hogging the processor

2014-02-02 Thread Simon Greenwood
On 2 February 2014 12:33, J Fernyhough  wrote:

> On 2 February 2014 12:25, Colin Law  wrote:
> >
> > I should have said, it is the standard version from the 13.10 repo.
> > 26.0+build2-0ubuntu0.13.10.2
> > I might give the beta a go if I can work out how to install it.
> >
>
> The easiest way to test is to just download from mozilla.org,
> unarchive, and run:
>
> https://www.mozilla.org/en-US/firefox/beta/
> https://www.mozilla.org/en-US/firefox/aurora/
>
> ;)
>
>
>
I had a very similar problem with Ubuntu 9.04 with both Firefox and
Thunderbird that seemed to be related to the Flash plugin, but also
manifested itself with the OpenJDK plugin. I also ended up switching to the
Aurora build but ultimately switched to Chrome. The issue seemed to be that
the plugin (whichever one it was) didn't die when the client code was
killed and would just start eating up cycles. Restarting Firefox (or
Thunderbird) would solve the problem but I had to block Flash to prevent it
from happening. I suspect that it may be related to the internal
architecture on specific processors which is why it's not a common issue. I
certainly haven't had it for some time.

s/
-- 
Twitter: @sfgreenwood
"TBA are particularly glib"
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Firefox hogging the processor

2014-02-02 Thread J Fernyhough
On 2 February 2014 13:04, Anthony Harrington
 wrote:
>
> I'd recommend adding the Mozilla daily ppa and upgrading your installation
> that way. It's usually updated everyday of the year, give or take the odd
> week around holidays (for obvious reasons!) but i've yet to have problems
> with it in all the years i've been using it. It really is a great resource.

The only downside of this is the extra download size. Using the PPA
will download the full 30MB .deb for each update, whereas the Mozilla
"local" version downloads the .mar (so does a diff update). Much
smaller (about 2MB per day).

Of course, if Ubuntu would support delta-update debs... ;)

J

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Firefox hogging the processor

2014-02-02 Thread Anthony Harrington
On 02/02/14 12:25, Colin Law wrote:
> On 2 February 2014 12:10, J Fernyhough  wrote:
>> On 2 February 2014 11:55, Colin Law  wrote:
>>> HI
>> --
>>> I can't find anything on launchpad.  Any suggestions anyone?
>> --
>>> Colin
>>>
>> Which version of Firefox are you running? You might try the beta or aurora
>> channels; I've seen a fair few issues with FF26, for example, that I haven't
>> seen in 27a or 28a.
> I should have said, it is the standard version from the 13.10 repo.
> 26.0+build2-0ubuntu0.13.10.2
> I might give the beta a go if I can work out how to install it.
>
>> Having said that, I've occasionally had high CPU with Gmail. I wonder if it
>> sometimes gets stuck in an AJAX loop (or some other race condition).
> Possible.  Though if it were a loop in javascript then I would expect
> that FF should still be able to be closed down ok.
>
> Thanks
>
> Colin
>
I'd recommend adding the Mozilla daily ppa and upgrading your
installation that way. It's usually updated everyday of the year, give
or take the odd week around holidays (for obvious reasons!) but i've yet
to have problems with it in all the years i've been using it. It really
is a great resource.

to add it, do:
*sudo add-apt-repository **ppa:ubuntu-mozilla-daily/ppa*
then
*sudo apt-get update && _sudo apt-get remove firefox &&_ sudo apt-get
install firefox-trunk*

you'll get the very latest version everytime you update, from now on.
(Currently 29 alpha) (Underlined part is optional if you want to take
out mainline firefox )

Any problems and you can always put firefox back. (I think you can have
them both installed at the same time, but i'd err on caution and only
keep the one you're going to use incase there's any profile clashing?
Shouldn't be because they're stored in separate folders, but your call,
i'm sure you'll be happy with the results of this.)

-- 
Launchpad translator and linux chemist ^_^
https://launchpad.net/~untaintableangel



signature.asc
Description: OpenPGP digital signature
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Firefox hogging the processor

2014-02-02 Thread J Fernyhough
On 2 February 2014 12:25, Colin Law  wrote:
>
> I should have said, it is the standard version from the 13.10 repo.
> 26.0+build2-0ubuntu0.13.10.2
> I might give the beta a go if I can work out how to install it.
>

The easiest way to test is to just download from mozilla.org,
unarchive, and run:

https://www.mozilla.org/en-US/firefox/beta/
https://www.mozilla.org/en-US/firefox/aurora/

;)

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Firefox hogging the processor

2014-02-02 Thread Colin Law
On 2 February 2014 12:10, J Fernyhough  wrote:
>
> On 2 February 2014 11:55, Colin Law  wrote:
>>
>> HI
>
> --
>>
>> I can't find anything on launchpad.  Any suggestions anyone?
>
> --
>>
>> Colin
>>
>
> Which version of Firefox are you running? You might try the beta or aurora
> channels; I've seen a fair few issues with FF26, for example, that I haven't
> seen in 27a or 28a.

I should have said, it is the standard version from the 13.10 repo.
26.0+build2-0ubuntu0.13.10.2
I might give the beta a go if I can work out how to install it.

> Having said that, I've occasionally had high CPU with Gmail. I wonder if it
> sometimes gets stuck in an AJAX loop (or some other race condition).

Possible.  Though if it were a loop in javascript then I would expect
that FF should still be able to be closed down ok.

Thanks

Colin

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Firefox hogging the processor

2014-02-02 Thread J Fernyhough
On 2 February 2014 11:55, Colin Law  wrote:

> HI

-- 

> I can't find anything on launchpad.  Any suggestions anyone?
>
-- 

>  Colin
>
>
Which version of Firefox are you running? You might try the beta or aurora
channels; I've seen a fair few issues with FF26, for example, that I
haven't seen in 27a or 28a.

Having said that, I've occasionally had high CPU with Gmail. I wonder if it
sometimes gets stuck in an AJAX loop (or some other race condition).

J
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


[ubuntu-uk] Firefox hogging the processor

2014-02-02 Thread Colin Law
HI

Using up to date 13.10 32 bit I occasionally see Firefox hogging my processor.
The first I notice is
that the fan on my laptop starts running at high speed.  If I then
look at the processor utilisation I see that FF is fully consuming one
of the four cores.  If I keep watching then over a minute or two it
uses more and more processor till it is using all of the cores.  If I
then close down all the FF windows the windows disappear but the FF process
remains running flat out.  I have to kill the process manually.  Then
I can restart FF and all is well again.  I *think* that when it
happens it is usually (or always) just after startup of FF.

Unfortunately this only happens around once a week so it is difficult
to diagnose.  I have the standard plugins plus Adblock Plus,
Flashblock, Ghostery, Googlebar Lite, and Reminderfox.  I don't want
to disable them to see if that fixes it as it might run for over a
week without problems anyway and I don't want to have to run without
them.  I have started keeping a note of which sites are open when it
fails, but I think the only contenders so far are gmail and google+.

Everything else on the PC appears to run fine.

I can't find anything on launchpad.  Any suggestions anyone?

Colin

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/