Get chrome to prompt for restart after update

Wes James comptekki at gmail.com
Thu Apr 10 16:00:06 UTC 2014


On Thu, Apr 10, 2014 at 9:23 AM, William Scott Lockwood III <
scott at guppylog.com> wrote:

> On Thu, Apr 10, 2014 at 10:03 AM, Liam Proven <lproven at gmail.com> wrote:
> > On 10 April 2014 15:49, Wes James <comptekki at gmail.com> wrote:
> >> In the past I've noticed once that after a chrome update at some point
> >> (settings menu ?) it had a prompt to update.  How do I get it to do
> that so
> >> I get all my chrome windows back. Otherwise I need to log out then log
> back
> >> in to get all the windows I had open.  Any other ideas how to do this?
> >
> > I've only seen it do that on Windows. On Ubuntu it gets updated with
> > the rest of the system via apt-get. To restart it, just close all
> > windows, wait a few seconds, then restart. If you're not sure, watch
> > `top` until it disappears from the list.
>
> I have seen this, and I solved it by killing all Evolution processes,
> as it was the only thing hanging for me. You could do something
> similar for Chrome. Here's the script I wrote:
>
> ps aux | grep evolution | grep -v grep | cut -d ' ' -f2 | kill -9 $(cat $1)
>
> You could replace 'evolution' with the name of your chrome binary (for
> example, I use chromium).
>

I tried and got the error:

ps aux | grep chrome | grep -v grep | cut -d ' ' -f2 | kill -9 $(cat $1)
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or
kill -l [sigspec]


I then thought I'd try killall chrome and it works but I have to do killall
chrome twice to get them all to close. I then run chrome again and it asks
me to restore and I get all the chromes back open except the first one that
was killed.

thanks,

Wes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140410/4457d7b8/attachment.html>


More information about the ubuntu-users mailing list