GNOME Bugzilla – Bug 599913
Can't add new actions
Last modified: 2009-10-29 15:20:58 UTC
Created attachment 146425 [details] Nautilus-actions : no possibility of adding new actions I recently installed nautilus-actions. It seems like I can't add new actions, for example when I launch "nautilus-actions-config-tool" I don't have any possibility of adding a new action (see the screenshot). I tried to add a new action via the cli (I'm not sure about how do that so it might be wrong) and it displayed some glib errors. (see the output file)
Created attachment 146427 [details] output file of nautilus-actions-new
Yes, this is rather boring... Please, could you specifiy which exact version of Nautilus-Actions you have installed ? And how to you have install it (compiled yourself ? a package ? from where ?) If compiled yourself, please send the command-line and output log. Also please specify your GLib and Gtk+ versions. Regards Pierre
Here is the information: nautilus-actions 1.12.2 installed as a package from my distrib repo (Archlinux) glib2 2.22.2 gtk2 2.18.3 I hope that this helps. Thanks
Well, you should have a menubar. Could you try to run nautilus-actions-config-tool from the command-line in a terminal, and send me any stderr/stdout output ?
The issue with nautilus-actions-new is another one. I have to track it and commit a patch. Probably this evening...
nautilus-actions-new output to stdout is fixed in gnome-2-28 branch (commit 29262ebb8918ab76b5b2d0a242a713316cfc9ac7). Also note that writing the new action to a directory requires the directory to be specified as an URI (e.g. file:///tmp). This may have been not enough clear in the command-line help. No idea at the moment why you don't have a menubar. I'm waiting for output of nautilus-actions-config-tool run from a terminal. Regards Pierre
The output of nautilus-actions-config-tool appears only when I close the window. """ > nautilus-actions-config-tool (nautilus-actions-config-tool:3040): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed """
This doesn't help much - grrr. Please run and post the output of : $ nm $(which nautilus-actions-config-tool) | grep nact_imenubar $ ls -l /usr/share/nautilus-actions/ Also, does the 'Ctrl+N' keyboard accelerator work ? It should create a new action in the user interface... Could you also send a link to an iso of your exact distrib ? I'll try to reproduce this in a virtual box... Thanks for your patience Regards Pierre
> nm $(which nautilus-actions-config-tool) | grep nact_imenubar nm: /usr/bin/nautilus-actions-config-tool: no symbols > ls -l /usr/share/nautilus-actions/ total 336 -rw-r--r-- 1 root root 13768 oct. 20 23:53 nact-assistant-export.ui -rw-r--r-- 1 root root 861 oct. 20 23:53 nautilus-actions-config-tool.actions -rw-r--r-- 1 root root 89810 oct. 20 23:53 nautilus-actions-config-tool.ui -rw-r--r-- 1 root root 231288 oct. 20 23:53 nautilus-actions.schemas The 'Ctrl-N' keyboard accelerator works, I can save the actions list with 'Ctrl-S', when I close and start again nautilus-actions-config-tool the actions still here. _But_, when I right click in a folder, there's no actions list, nothing related to nautilus-actions :S ... For installing archlinux : ftp://mirrors.kernel.org/archlinux/iso/2009.08/archlinux-2009.08-netinstall-i686.iso , mirror selected for the package manager : mir2.archlinuxfr.org (in /etc/pacmand.d/mirrorlist)
If the keyboard accelerators work, this means that the menubar is loaded and active, but "just" not visible. In order to have an action in the Nautilus context menu, you have to meet certain conditions, and do some work : 1/ in the 1.12.x serie, actions apply only to a selection (applying to background folder requires 2.29.1 and later) 2/ only valid actions are displayed in the Nautilus context menu ; an action is valid if it has a non-empty label, a path to an existing executable (see 'Command' tab), filename patterns, mimetype patterns (see 'Conditions' tab) and scheme patterns (see 'Advanced' tab). At creation time, all these data have suitable default values, _but_ the command itself. Enter '/bin/ls' in Path entry, save, and you should see your new action in the Nautilus context menu when selecting one file (default condition).
Thanks a lot! I just noticed that there is actually a menu when I launch nautilus-actions-config-tool, I'm using "globalmenu" so the menu is displayed in the top bar of the gnome panel. Sorry for this "false-bug"...
Well, this is a great weight off my shoulders as this became to make me crazy ;-) Not actually a false bug, as output to stdout of nautilus-actions-new was a real one, which has been fixed thanks to you bug report. Have fun with Nautilus-Actions. Regards Pierre