Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to Browse for distro-customised start page #258

Closed
dnarvaez opened this issue Apr 19, 2014 · 8 comments
Closed

Add support to Browse for distro-customised start page #258

dnarvaez opened this issue Apr 19, 2014 · 8 comments
Assignees

Comments

@dnarvaez
Copy link
Owner

What I did:

Installed sugar on Ubuntu. Invoked sugar and the browser.

What it did:

It displayed "about:blank" with a blank page.

What I expected:

I expected "OLPC Library" with a list of libraries to pick from.

@dnarvaez dnarvaez self-assigned this Apr 19, 2014
@dnarvaez
Copy link
Owner Author

Author: tomeu
Someone with ubuntu experience could explain how that distro deals with content?

Perhaps this ticket should be instead about adding some support to Browse for distros to make it point to some preinstalled content?

@dnarvaez
Copy link
Owner Author

Author: morgs
Replying to tomeu:

Someone with ubuntu experience could explain how that distro deals with content?

We haven't got around to working with content bundles yet. I've logged an ubuntu bug for this: https://bugs.launchpad.net/ubuntu/+source/sugar-web-activity/+bug/295110

Perhaps this ticket should be instead about adding some support to Browse for distros to make it point to some preinstalled content?

Yes, that would be a good upstream description of the problem.

@dnarvaez
Copy link
Owner Author

Author: cwhii
Replying to morgs:

Browse currently attempts to access "OLPC Library" which if not present displays
"about:blank" instead.

The documentation that I have seen shows the "OLPC Library" as the default. This seems like a valid distribution value for the OLPC XO system.

I would like the SugarLabs code base to contain the infrastructure for whatever content library collections a user will add. The default should have a "Sugar Library" with something useful in it. Any distribution if they do not take any action to change this default will have the SugarLabs created default opening library. The distribution can make whatever changes desired. In the case of an XO system it would presumably be the existing "OLPC Library".

I do not know if the Ubuntu default of no library and no infrastructure is because of explicit action by the Ubuntu team or if it just fell through as a blank default.

@dnarvaez
Copy link
Owner Author

Author: morgs
Replying to cwhii:

Replying to morgs:

Browse currently attempts to access "OLPC Library" which if not present displays
"about:blank" instead.

The documentation that I have seen shows the "OLPC Library" as the default. This seems like a valid distribution value for the OLPC XO system.

I would like the SugarLabs code base to contain the infrastructure for whatever content library collections a user will add. The default should have a "Sugar Library" with something useful in it. Any distribution if they do not take any action to change this default will have the SugarLabs created default opening library. The distribution can make whatever changes desired. In the case of an XO system it would presumably be the existing "OLPC Library".

I do not know if the Ubuntu default of no library and no infrastructure is because of explicit action by the Ubuntu team or if it just fell through as a blank default.

The Ubuntu team has not yet packaged any library content. Once we include that in a package, it should be readily installable. However I'm not sure whether to include the standard OLPC library content or to customise it for Ubuntu.

@dnarvaez
Copy link
Owner Author

Author: dfarning
I am closing this bug because it is a distribution specific issue, in this case, Ubuntu.
It exists in Ubuntu as https://bugs.launchpad.net/bugs/295110

@dnarvaez
Copy link
Owner Author

Author: skierpage
Browse's webactivity.py continues to hardcode its home page to _LIBRARY_PATH = '/usr/share/library-common/index.html'

cwhii's lament ''I expected "OLPC Library" with a list of libraries to pick from'' is not going to be fixed by distros simply creating a home page for Browse. OLPC's page showing a library of content you've downloaded is generated by the package olpc-library-common, which seems missing from Sugar 0.84. I filed bug #574 for that.

@dnarvaez
Copy link
Owner Author

Author: skierpage
Replying to skierpage:

Browse's webactivity.py continues to hardcode its home page to _LIBRARY_PATH = '/usr/share/library-common/index.html'

The fix for bug #645 set the home page to ''Browse activity directory''/data/index.html if /usr/share/library-common/index.html does not exist, and the former is a static sugarlabs HTML page in git.

@dnarvaez
Copy link
Owner Author

Author: erikos
Replying to Rach4d:

Can you elaborate why you think this has been fixed now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant