Skip navigation.
Home
A Lump in the World Wide Soup

Project : Nautilus Actions

Overview

Nautilus actions is an extension for Nautilus, the gnome file manager. It allow to configure program to be launch on files selected into Nautilus interface.


Problems with wget download

I tried downloading nautilus-actions from wget using the URL mentioned. But, the file is saved with a different name. Can you please modify the URL so that nautilus-actions is saved with the right file name using WGET.
Thanks.
And yes, nautilus-actions rulezzz.

Re: Problems with wget download

If you want to download it with wget, please use the mirror link instead. This link is also available on the Download page.

Filenames with spaces problem

Hi, I find nact very very useful, and would like to integrate my upcoming pyStapler project with it.

I have however two problems with it:

1 - How to install an action systemwide (without user intervention)?

2 - (more serious) How do you handle files with spaces in their name?
My program will receive the filenames (using %M) in a space separated list... but files also have spaces in their name! Would it be possible to add a different code with a different separation character?
Or maybe with urlencoded filenames (this way space will become %20 and I will have to decode the names, but at least I'll get the list right!)

Please, feel free to contact me at the mail address specified to post.

Thanks for your work,
Renato Ramonda

Re: Filenames with spaces problem

First, thanks for supporting Nautilus-actions in your project. I have added a link to it in my External Resources page.

Concerning your first question, I suggest that you have a look at my old code from V0.99, where I was installing a "Manage Actions" actions to start Nact from any popup menu, on the project's CVS repository. Check also the configure.in, you need at least these lines :

dnl **** GConf support ***
AC_PATH_PROG(GCONFTOOL, gconftool-2)
AM_GCONF_SOURCE_2

You can also look at this page, particularly the section named "Application developer information".

Concerning the second point, this problem should be fixed since V0.6. Since then, all path are quoted using g_shell_quote() glib function. So your program should receive in its argument array all the path correctly separated unless you use a wrapper script before which doesn't re-quote all the arguments it receives.

Example :

#!/bin/sh

/usr/bin/my_prog $*

Instead, you should do something like this :

#!/bin/sh

arglist="'$1'"
while shift; do
        arglist="$arglist '$1'"
done

/usr/bin/my_prog $arglist

Great work

I find this tool awesome. It is something I was really missing in Nautilus.

I really hope it is admitted in GNOME by 2.16.

Many thanks and keep up the good work!

Re: Great work

Thanks !

Sorry to disappoint you, but I'm afraid there is no chance for its inclusion in Gnome 2.16, because I didn't ask for it this time. This is mainly because I didn't solve all the problems raised when I proposed it for 2.14. But maybe one day... who knows ? ;)

rpmbuild failure

$ rpmbuild --rebuild nautilus-actions-0.5-1.GrumZ.FC4.src.rpm
...
error: Installed (but unpackaged) file(s) found:
/usr/share/nautilus-actions/nact/nautilus-actions-config.pyc
/usr/share/nautilus-actions/nact/nautilus-actions-config.pyo

Also, please put the .spec file in the tar.gz so that rpms
can be built with: rpmbuild -ta nautilus-actions-0.5-1.tar.gz

Re: rpmbuild failure

It seems that your distribution compile the python script during the build process.

simply add the two files in the files section of the config package :

%files config
%defattr(-,root,root)
%dir /usr/share/nautilus-actions/nact
/usr/share/nautilus-actions/nact/nautilus-actions-config.pyc
/usr/share/nautilus-actions/nact/nautilus-actions-config.pyo
[...]

The spec is not in the tarball because it is a specialized spec for fedora and it will not work everywhere as you need consolehelper support and some additional config files that are packaged with the rpms to add this support. I can try to add a generic one in the tarball, but maybe it will confuse users...