Can't provide %M as a working argument for Nautilus Actions

Bug #535119 reported by yop
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Nautilus Actions
Fix Released
Medium
nautilus-actions (Ubuntu)
Triaged
Low
Aliceinwire

Bug Description

Binary package hint: nautilus-actions

When you want to e.g. create an action that launches GNOME Search Tool for the selected folder you could set the following details:
Path: /usr/bin/gnome-search-tool
Parameters: --path=%M

If you set the conditions correctly this should make an action appear in the context menus of directories that you can use to easily search the contents of the directory with use of GNOME Search Tool.

However, when you press the context menu entry it turns out that the --path argument doesn't do anything. This is strange because it does work if you execute the command with a path manually.

It seems that %M doesn't work.

This bug was originally reported by yop on Launchpad in Ubuntu at <https://launchpad.net/bugs/535119>.

Revision history for this message
yop (yop) wrote :
tags: added: kernel-series-unknown
tags: removed: kernel-series-unknown
Revision history for this message
yop (yop) wrote :

sorry

Linux nova-main 2.6.32-16-generic #24-Ubuntu SMP Sat Mar 6 12:33:21 UTC 2010 i686 GNU/Linux

Revision history for this message
Sense Egbert Hofstede (sense) wrote :

Thank you for helping with making Ubuntu and Nautilus Actions better by reporting this bug. The issue you're reporting has been fixed in the release of nautilus-actions that was uploaded to Ubuntu 10.04 Lucid Lynx today. Therefore I'm setting this bug to Fix Released.
If you are still able to reproduce this bug on UBuntu 10.04 Lucid Lynx, feel free to reopen this bug.

Changed in nautilus-actions (Ubuntu):
status: New → Fix Released
Revision history for this message
yop (yop) wrote :

Hi.
Well it's kind of fixed.
Now the config tool opens, however it need the full path to the command like in the old you could use 'gedit' but now you need to use '/usr/bin/gedit' ok people can for sure live with that.

But it will crash nautilus when r/left click on the trashcan if any action is set, also it will not honer the settings needed for ex:
gnome-search-tool --path=%m/n/u or what ever you like to use.

It will always open the home dir.

Linux nova-main 2.6.32-18-generic #27-Ubuntu SMP Fri Mar 26 19:51:10 UTC 2010 i686 GNU/Linux

****
Mar 30 12:05:15 nova-main kernel: [19077.701062] nautilus[7168]: segfault at 0 ip 0268a790 sp bf8c4998 error 4 in libc-2.11.1.so[2617000+153000]
Mar 30 12:05:16 nova-main nautilus: [N-A] Nautilus-Actions Tracker 2.30.0 initializing...
Mar 30 12:05:16 nova-main nautilus: [N-A] Nautilus-Actions Menu Extender 2.30.0 initializing...
****
Mar 30 12:07:56 nova-main kernel: [19238.520992] nautilus[7272]: segfault at 178e ip 06ffa81d sp bff647a0 error 4 in libna-core.so[6fde000+2f000]
****

Revision history for this message
Sense Egbert Hofstede (sense) wrote :

I cannot confirm the issue with the binary not being in PATH, on my system the 'nautilus-actions-config-tool' command just works. Did the problem persist after you logged out and back in?

The crash on trash and the ignoring of certain settings are both separate bugs, I would like to ask you to file new bug reports for those.
Thanks!

Revision history for this message
yop (yop) wrote :

Ok so it work then you add this to the actions?
gnome-search-tool --named= --hidden --path= %M

And yes I did even reboot.

And where shall I report to/as? as it only happen when using the n-tools

Revision history for this message
yop (yop) wrote :

Sorry it should be

--contains=

Revision history for this message
yop (yop) wrote :

Instead of named

Revision history for this message
yop (yop) wrote :

gnome-search-tool --contains= --hidden --path=%M

Revision history for this message
Sense Egbert Hofstede (sense) wrote :

If nautilus-actions is causing this you should report it against it.

Revision history for this message
yop (yop) wrote :

Hello.
Just like to tel you that it still not work when using. It will only open the search path in my home folder, even if I select a folder in ex: /usr

gnome-search-tool --path=%M or %m %u

Nautilus Actions Configuration Tool 2.30.2

Linux nova-main 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux

Revision history for this message
Sense Egbert Hofstede (sense) wrote :

I've tested the latest bug you've reported in this bug report and I can indeed confirm that setting '--path=%M' as the argument of an action doesn't do anything if you're trying to execute '/usr/bin/gnome-search-tool'.

I'm reporting this issue upstream.

summary: - nautilus-actions-config-tool
+ Can't provide %M as a working argument for Nautilus Actions
Changed in nautilus-actions (Ubuntu):
importance: Undecided → Low
status: Fix Released → Triaged
description: updated
Changed in nautilus-actions:
status: Unknown → New
Changed in nautilus-actions:
status: New → Invalid
Revision history for this message
Sense Egbert Hofstede (sense) wrote :

The upstream bug was marked of a duplicate, so I'm updating the bug watch accordingly.

It should be fixed upstream now.

Changed in nautilus-actions:
status: Invalid → Unknown
Changed in nautilus-actions:
status: Unknown → Fix Released
Changed in nautilus-actions:
importance: Unknown → Medium
Changed in nautilus-actions (Ubuntu):
assignee: nobody → Aliceinwire (aliceinwire)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.