Google Chrome as Local App?

Nick Fenger nick at trilliumcharterschool.org
Tue Sep 14 19:47:15 BST 2010


Hello,

An update on this:

I implemented Stéphane's workaround and it appears to be working. One caveat
is that chrome shows the first run prompt each time, however, chrome has a
--no-first-run flag: (i.e. chromium-browser --no-first-run )  which takes
care of this problem.

Here is my script placed in /opt/ltsp/i386/opt/run-chrome.sh

#!/bin/bash
mv ~/.config/chromium ~/.config/chromium.orig
mkdir /tmp/.config-chromium
ln -sf /tmp/.config-chromium ~/.config/chromium
ln -sf ~/.config/chromium.orig/Default /tmp/.config-chromium/Default
chromium-browser --no-first-run

$ sudo chroot /opt/ltsp/i386
then: $ chmod +x  /opt/run-chrome.sh
then: $ ln -s /opt/run-chrome.sh /bin/run-chrome

after rebuilding the image i can now run in a terminal on the client

$ ltsp-localapps run-chrome

and I get chrome!!!

Thanks Again,

-Nick



On Tue, Sep 7, 2010 at 7:42 PM, Stéphane Graber <stgraber at ubuntu.com> wrote:

> mv ~/.config/chromium ~/.config/chromium.orig
> mkdir /tmp/.config-chromium
> ln -sf /tmp/.config-chromium ~/.config/chromium
> ln -sf ~/.config/chromium.orig/Default /tmp/.config-chromium/Default
>



-- 
Nick Fenger
-Information Technology

Trillium Charter School
5420 N. Interstate Ave
Portland, OR 97217
(503) 285-3833
http://www.trilliumcharterschool.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/edubuntu-users/attachments/20100914/5996c697/attachment.htm 


More information about the edubuntu-users mailing list