View Issue Details

IDProjectCategoryView StatusLast Update
0001083gnunet-gtkgnunet-fs-gtkpublic2012-11-05 18:32
Reportermilan Assigned ToChristian Grothoff  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.4Fixed in Version0.9.4 
Summary0001083: associate actions to gnunet-gtk in nautilus/konqueror and web browsers
DescriptionIt would be cool to allow gnunet-gtk to be launched with a filename or with a gnunet:// link. Selecting in a file browser's context menu 'Insert file in GNUnet' should start insertion of file x in a new gnunet-gtk instance, or in the existing one if there is. Clicking on a gnunet:// link in a web browser like Mozilla/Epiphany/Konqueror should start the same way a search or a download.
Additional InformationCommand-line arguments should be accepted, starting an insertion when a file is passed (gnunet-gtk /home/xxx/file), and starting a search or a download when a GNUnet URI is passed (gnunet-gtk gnunet://XXXXXXXXXXX).

Then, package maintainers could add config scripts to update Mozilla registry to associate gnunet-gtk with gnunet:// protocol (network.protocol-handler.app.gnunet key). Same thing for konqueror, and nautilus (maybe via the nautilus-actions package, which allows to do it easily by hand).

I remember that cyberix was talking about it a while ago. What do you think about the way to do it ?
TagsNo tags attached.

Relationships

related to 0001052 closedChristian Grothoff Implicit actions triggered by pasting... 
child of 0001966 closedLRN GUI master-issue 

Activities

cyberix

2006-05-08 13:11

reporter   ~0002618

I'd rather prefer a set of gui tools similar to the current command line utilities. E.g. a minimal tool which handles one download, in stead of launching gnunet-gtk suite. Small helper applications, maybe coded in python.

NDurner

2006-06-08 21:52

developer   ~0002711

How to configure different web browsers to support new protocols:
 http://www.amule.org/wiki/index.php/Ed2k_links_handling

cyberix

2006-06-09 07:35

reporter   ~0002714

Last edited: 2006-06-09 07:36

<!-- probably doesn't help in the case of... -->

Be the first browser to support GNUnet or be <img src="gnunet://ecrs/chk/8NHEDD7R9RH363II2SFRDMH9OSRMMT7DAU45K9GJ9RIIFTPD74R9I0PL415O1QLF2P6DIKQ4RIJUMPKA7JHAMMB7VE021D2841ET1T0.UIAF9SANOD9JUJ3MVHC4V4588CJJB7KN9NFF1T8I3LQ9719QF2AVQGR2EV07ASBO141ED3B511R33VIGB1JN15C7OM7JP7G28KOBCO8.1607" alt="square" />!

milan

2008-06-28 02:04

reporter   ~0003561

About the file manager part (the least important): future distributions including freedesktop.org's mime db will recognize gnunet-directories. We only need to allow gnunet-gtk/-qt to open them via an argument. Not high priority though.

Christian Grothoff

2008-07-13 15:20

manager   ~0003579

We should probably use D-Bus to do this. Could also be useful to handle the case where there is already a gnunet-gtk instance running (where we currently block until the user closes the running instance, which is not nice).

Doing D-Bus right within our plugin-infrastructure won't be trivial, though.

Some D-Bus links:
http://www.ibm.com/developerworks/linux/library/l-dbus.html
http://www.linuxjournal.com/article/7744

milan

2008-07-20 12:07

reporter   ~0003601

libUnique should handle this very easily without requiring triggering D-Bus manually.

http://live.gnome.org/LibUnique

Christian Grothoff

2011-12-13 19:21

manager   ~0005091

Last edited: 2011-12-13 19:22

Actually, this should be done using either GApplication or GtkApplication. Problem is, those require glib 2.28 or gtk 3.0 or higher...

http://developer.gnome.org/gio/unstable/GApplication.html

(libunique became GApplication in Gtk 3)

Christian Grothoff

2012-06-18 22:40

manager   ~0006090

GApplication/GtkApplication don't allow us to override the main glib/gtk event loop. Thus I had to go with libunique. Committed in SVN 22086.

Christian Grothoff

2012-06-18 22:51

manager   ~0006091

Added gnunet-fs-gtk.protocol (for KDE) and gnunet-fs-gtk-gnome.sh (for Gnome) to setup URL handlers (pointing to gnunet-fs-gtk) in SVN 22087. That should be it, other platforms (and in particular firefox) can be trivially added by those making packages.

Issue History

Date Modified Username Field Change
2006-05-08 10:56 milan New Issue
2006-05-08 13:11 cyberix Note Added: 0002618
2006-05-20 08:34 Christian Grothoff Status new => acknowledged
2006-05-20 08:35 Christian Grothoff Priority normal => none
2006-05-20 08:35 Christian Grothoff Reproducibility always => N/A
2006-06-08 13:09 milan Priority none => low
2006-06-08 21:52 NDurner Note Added: 0002711
2006-06-09 07:35 cyberix Note Added: 0002714
2006-06-09 07:36 cyberix Note Edited: 0002714
2006-06-09 07:36 cyberix Note Edited: 0002714
2008-06-26 01:40 Christian Grothoff Status acknowledged => assigned
2008-06-26 01:40 Christian Grothoff Assigned To => Christian Grothoff
2008-06-26 01:51 Christian Grothoff Priority low => normal
2008-06-28 02:04 milan Note Added: 0003561
2008-07-13 15:20 Christian Grothoff Note Added: 0003579
2008-07-13 15:23 Christian Grothoff Relationship added related to 0001052
2008-07-20 12:07 milan Note Added: 0003601
2009-11-15 14:56 Christian Grothoff Project GNUnet 0.8.x => gnunet-gtk
2011-09-15 14:17 Christian Grothoff Category gnunet-gtk => gnunet-fs-gtk
2011-11-04 11:09 Christian Grothoff Assigned To Christian Grothoff =>
2011-11-04 11:09 Christian Grothoff Status assigned => acknowledged
2011-11-04 11:09 Christian Grothoff Product Version current SVN =>
2011-11-04 11:13 Christian Grothoff Priority normal => none
2011-11-26 18:24 Christian Grothoff Relationship added child of 0001966
2011-12-13 19:21 Christian Grothoff Note Added: 0005091
2011-12-13 19:22 Christian Grothoff Note Edited: 0005091
2012-02-21 21:58 Christian Grothoff Target Version => 0.9.4
2012-06-17 10:53 Christian Grothoff Assigned To => Christian Grothoff
2012-06-17 10:53 Christian Grothoff Status acknowledged => assigned
2012-06-17 10:53 Christian Grothoff Priority none => normal
2012-06-17 10:53 Christian Grothoff Product Version => Git master
2012-06-18 22:40 Christian Grothoff Note Added: 0006090
2012-06-18 22:51 Christian Grothoff Note Added: 0006091
2012-06-18 22:51 Christian Grothoff Status assigned => resolved
2012-06-18 22:51 Christian Grothoff Fixed in Version => 0.9.4
2012-06-18 22:51 Christian Grothoff Resolution open => fixed
2012-11-05 18:32 Christian Grothoff Status resolved => closed