Re: FC4 gthumb issue

Am Donnerstag, den 23.06.2005, 11:12 -0700 schrieb Steven Howe:
> So it would seem that nautilus has been reduced to a file browser. How
> boring. It's ability to view documents was pretty cutting edge. But we
> can't get to close the edge. That's KDE's job.

I can't really think of any reason for preferring to use the file
browser/manager over external viewers.

> Enough of that. Questions (and hopefully URLs to the answers).
> 1) Is there a method (via scripts) to have nautilus capture the output
> of a window (like  'display' from ImageMagick)?

I don't know what you want to do. Are you talking about the Nautilus
window or about a 3rd party window?

> 2) Is there a method (via scripts) to add buttons to the browser bar
> area?

Not via scripts, but through Nautilus extensions. cf.
($prefix/nautilus/libnautilus-extension/nautilus-menu-provider.h). They
are C libraries. I can help you out here. Just drop me some lines. There
is a quiet popular terminal extension I wrote for Nautilus available
which should demonstrate how to write an extension [1].

> 3) Is there a method (via scripts) to add items to a menu as well as add
> a menu heading?

No, not via scripts. By "menu heading" you mean a custom menu like
"File, Edit" etc.? This is unfortunately not possible (cf. also the
terminal extension) at the moment, also you can't simply add arbitrary
submenus to existing menus. But you can add custom menu items through
Nautilus extensions ("Cut", "Quit" etc.), just like mine does.

> 4) Is there a method (via scripts) to send added menu item selections
> (events) to another program?

Maybe you could be a bit more precise about what you want to do? You can
use extensions (not scripts) for pretty much every desirable background

> With these four features, as well as the program name for the "File
> Types and Programs preference tool" (since I can't find the menu
> selection anywhere) it should be possible to 'add' via a script the
> picture viewing capability again. Maybe even the output of evince for
> postscript and pdf viewing (also missing and missed features).

Maybe you could explain a bit more in detail how your solution would
look like?

> Steven Howe wrote:
> > I've just upgraded to Fedora Core 4. I've noted an issue with respect
> to
> > viewing jpeg in nautilus. When I try, I get a message saying the file
> is
> > not a directory.
> > 
> > What is going on? I prefer using nautilus to view jpegs. The utility
> > gthumb opens the whole directory. How do I get nautilus to once again
> > view jpegs?
> > 
> I think you are referring to the view as images possibility you had
> with 
> nautilus. Nautilus was actually using eog via bonobo to do this. In 
> nautilus 2.10 bonobo has been removed from nautilus. So view as images 
> is not supported anymore.
> Jaap


Christian Neumair <chris gnome-de org>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]