GNOME Bugzilla – Bug 439900
integrate baobab in nautilus
Last modified: 2012-02-23 11:39:37 UTC
The bug has been opened on https://bugs.launchpad.net/bugs/115745 "Binary package hint: nautilus There are several ways to integrate Baobab functionality in Nautilus. One would be to just add a button with the text "analyze space usage", that would call Baobab on that folder. Please see the mockup: http://img154.imageshack.us/img154/1329/pantallazopropiedadesdetp0.png Another would be to add a "space usage" tab, with the Baobab pie chart on it. Something like this: http://img295.imageshack.us/img295/3121/pantallazopropiedadesdevw2.png The first solution would be much easier to apply, but the second one would be much more integrated. ... http://librarian.launchpad.net/7718606/Desktop.rar mockups"
Created attachment 88480 [details] a mockup of the disk usage button
Created attachment 88481 [details] a mockup of the disk usage tab
This should only work only folders, not on single files.
the tab would probably require a nautilus extension shipped with baobab, while the button would require nautilus to search for baobab in the path or for the baobab desktop file and execute it on click. as Fabio said, it should work only on folders.
*** Bug 465685 has been marked as a duplicate of this bug. ***
Just embedding a graph in an own tab does not seem to be a good idea - baobab is not useful without the graph widget. On the other hand, from a Nautilus framework POV, adding a plugin framework for embedding buttons in the property window does not sound very attractive either. If enough people need this kind of functionality, we can consider to add a button to the propery pages.
> Just embedding a graph in an own tab does not seem to be a good idea - baobab is not useful without the graph widget. "...without the *folder list* widget", of course.
*** Bug 439104 has been marked as a duplicate of this bug. ***
I agree about adding the disk usage button, as it's easy to contribute and less invasive. Also, replying to this: (In reply to comment #6) > [...] > If enough people need this kind of functionality... IMHO it's not that many people need this. It's that people won't know such an interesting tool as baobab until we fix this bug. Sometimes word of mouth is not enough. How old is baobab? however, in my case, I just came to know about it last week.
I basically agree with Andrés. Baobab is much more useful when put in a context. IMHO, and by some opinions I've gathered, very few people go explicitly to Baobab to analyze disk-usage. The normal way you get to it, is when doing something else, and suddenly feel the need of checking where your megs are going. It makes lots of sense to me to export the tool to other contexts, where people will very likely miss this functionality. Nautilus looks like the natural context for it. Moreover, it's true that a little marketing would be welcome. I know quite a few gnome users that don't know the tool is there.
A different approach, that makes more sense to me, would be to offer it as another view in Nautilus, adding it to the list of icon view, list view, and compact view. This would make extremely convenient, pass the location to be analyzed in a very obvious way, and eliminate all but one click. Open one folder in "visual" view, open another tab and get stuff done there while it calculates. KDE does this in Konqueror (using Filelight) and it's great, however, filelight is much, much slower than baobab.
Marking as duplicate of bug 536407 as there is a patch available. *** This bug has been marked as a duplicate of bug 536407 ***