Nautilus-actions and Unity Desktop - actions missing from context menu

Bug #765290 reported by kylea
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
nautilus-actions (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: nautilus-actions

Installed Nautilus-Actions in 11.04, Created some menu items for the Context menu.

The items appear in the Context menu when a Nautilus Window has focus, but not when a right click is executed on the Unity Desktop

lsb_release -a; uname -a; apt-cache policy nautilus-actions
No LSB modules are available.

Distributor ID: Ubuntu
Description: Ubuntu Natty (development branch)
Release: 11.04
Codename: natty
Linux kylea-laptop-lucid 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

nautilus-actions:
  Installed: 3.0.5-1
  Candidate: 3.0.5-1
  Version table:
 *** 3.0.5-1 0
        500 http://archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: nautilus-actions 3.0.5-1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue Apr 19 08:59:19 2011
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100310)
ProcEnviron:
 LANGUAGE=en_AU:en
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus-actions
UpgradeStatus: Upgraded to natty on 2011-04-12 (6 days ago)

Revision history for this message
kylea (kylea) wrote :
Revision history for this message
kylea (kylea) wrote :

BTW same behaviour in the Classic Desktop

Revision history for this message
kylea (kylea) wrote :

Has anyone had a look at this yet?

Revision history for this message
kylea (kylea) wrote :

Apparently this must have been a bug in Nautilus-Actions - the developer has indicated that 3.1.2 works.

Seeing as 11.10 is planned for 3.0.5 we may need a version update -

I have tried to install the 3.1.2 version via alien on the .rpm - but it fails with libc6 complaining about

/usr/bin/nautilus-actions-config-tool: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib/libunique-3.0.so.0)

Here is the note from the developer

https://bugzilla.gnome.org/show_bug.cgi?id=647663
 nautilus-actions | general | 3.0.x

--- Comment #1 from Pierre Wieser <email address hidden> 2011-05-07 05:39:50 UTC ---
Created an attachment (id=187404)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=187404)
Screenshow of a submenu opened on the desktop

The joined screen has been taken in released Ubuntu 11.04, with the latest
Nautilus-Actions 3.1.2.

As you can see, when clicking on the desktop, the Nautilus-Actions actions
normally appear in the submenu, and Nautilus-Actions submenu is normally
displayed.

Please update to latest versions.
If your behavior persists, please join your actions.

Regards
Pierre

Revision history for this message
Rocko (rockorequin) wrote :

nautilus-actions didn't even run the commands I told it to in Natty! Even when I told it to tell me the output, nothing happened.

But I got the latest version from git (3.1.3) installed in Natty and it seems to work fine. (You get a new menu item called Nautilus-Actions with submenus for each action, so it's a bit different from the old one which added the submenus directly to the right-click context menu.)

I installed it with:

sudo apt-get build-essential
sudo apt-get build-dep nautilus-actions
sudo apt-get install gtk-doc-tools
git clone git://git.gnome.org/nautilus-actions
cd nautilus-actions
patch -p1 < nautilus-actions.patch
./autogen.sh
make

I had to patch the git version because it didn't find a function. The file nautilus-actions.patch is:

diff --git a/src/nact/egg-sm-client-xsmp.c b/src/nact/egg-sm-client-xsmp.c
index 516baf0..198d399 100644
--- a/src/nact/egg-sm-client-xsmp.c
+++ b/src/nact/egg-sm-client-xsmp.c
@@ -319,6 +319,10 @@ sm_client_xsmp_disconnect (EggSMClientXSMP *xsmp)
   update_pending_events (xsmp);
 }

+/* This is defined in /usr/include/gtk-2.0/gdk/gdkwindow.h but isn't being pulled in */
+void gdk_set_sm_client_id (const gchar *sm_client_id);
+
+
 static void
 sm_client_xsmp_startup (EggSMClient *client,
    const char *client_id)

Revision history for this message
kylea (kylea) wrote :

I compiled 3.1.2 and I also was able to get Nautilus-Actions to work. There was a minor issue with the auto-conversion of the Gconf configuration to .desktop files. Other than that it works perfectly now

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nautilus-actions (Ubuntu):
status: New → Confirmed
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.