Ticket #8817 (new defect)

Opened 6 years ago

Last modified 5 years ago

Add a "sugar-open" application

Reported by: sayamindu Owned by: marco
Priority: normal Milestone: 9.1.0-cancelled
Component: sugar Version: not specified
Keywords: r- cjbfor9.1.0 Cc: bert, mstone, cscott
Action Needed: review Verified: no
Deployments affected: Blocked By:
Blocking:

Description

It might be a good idea to have a sugar-open application, similar to gnome-open or xdg-open

This may be useful for directly launching stuff from activities (eg: Browse from Read)

Attachments

sugar-open (1.6 kB) - added by sayamindu 6 years ago.
First pass. It uses gnomevfs, since I did not find gio bindings for Python in our current builds
sugar-open.2 (1.8 kB) - added by sayamindu 6 years ago.
Second pass. Browse launches properly now, and the process forks to launch the acitivty from the child.

Change History

Changed 6 years ago by sayamindu

First pass. It uses gnomevfs, since I did not find gio bindings for Python in our current builds

Changed 6 years ago by sayamindu

Second pass. Browse launches properly now, and the process forks to launch the acitivty from the child.

Changed 6 years ago by bert

  • cc bert, mstone, cscott added

This would launch an activity inside the container of another activity - the second activity would use the SUGAR_ACTIVITY_ROOT of the first.

Other than that it should work - until Rainbow enforces permissions (like, Browse needs P_NETWORK but the calling activity might not have that so Browse would break), which is scheduled to happen in 9.1.

Changed 5 years ago by marco

  • keywords r- added; r? removed

Can you describe the use case? Any reason to not fold this into sugar-launch?

Changed 5 years ago by sayamindu

As soon as sugar-launch accepts uris to open, i think they can be merged.

Changed 5 years ago by mstone-xmlrpc

  • keywords cjbfor9.1.0 added
  • milestone changed from 8.2.1 to 9.1.0

Pushing out to 9.1.0, per edmcnierney's request.

Note: See TracTickets for help on using tickets.