Trash on Unity Launcher won't open

Bug #802964 reported by Rus F Adrian
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Unity
Confirmed
Undecided
Unassigned
unity (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Logged to Ubuntu Session
Click on Trash icon from Unity Panel wont open
Right Click show only "Empty Trash..." wihout Open

I choose Ubuntu 2d session
Click on Trash from Unity Panel is working.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: unity 4.0.1-0ubuntu2
ProcVersionSignature: Ubuntu 3.0-2.3-generic 3.0.0-rc4
Uname: Linux 3.0-2-generic i686
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
Date: Tue Jun 28 15:22:51 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110624)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Rus F Adrian (tue-deactivatedaccount) wrote :
description: updated
description: updated
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Hi,

Can you succesfully navigate to the Rubbish Bin from inside Nautilus? That is, open nautilus and select 'Rubbish Bin' from the left hand panel and view the contents.

Changed in unity (Ubuntu):
status: New → Incomplete
Revision history for this message
Rus F Adrian (tue-deactivatedaccount) wrote :

Thanks for the reply, Yes I can open Rubbish Bin from Nautilus but from Unity Panel no

Changed in unity (Ubuntu):
status: Incomplete → New
Revision history for this message
Eliah Kagan (degeneracypressure) wrote :

I am able to reproduce this bug in a 3D Unity session on the Oneiric i386 20110629 daily-live running the same unity version (4.0.1-0ubuntu2). The problem is not fixed by running "unity --replace", "unity --reset", or "compiz --replace". unity (or compiz, if "compiz --replace" was the last of those commands I ran) produces the following output each time I click on the Trash icon in the Unity launcher:

/usr/bin/xdg-open: 563: gnome-open: not found

Like Rus F Adrian, I am able to access the trash by navigating to it in an open Nautilus window.

Revision history for this message
Eliah Kagan (degeneracypressure) wrote :

However, when I click on the Trash icon in the Unity launcher on the fully updated, installed (rather than live CD) system on the same machine (with the same unity package version), it works perfectly. On both the live and installed systems, I am testing with 3D Unity (not unity-2d). Is this problem occurring for you on an installed system, or a live CD (or both)?

Revision history for this message
Alessandro Losavio (alo21) wrote :

I have the same problem in Ubuntu 11.10 amd64

summary: - click Trash on Unity Launcher wont open
+ Trash on Unity Launcher won't open
tags: added: amd64
Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel Manrique (roadmr) wrote :

Look at bug 804397, about xdg-open not being present in Oneiric. If trashcan opening behavior from Unity depends on xdg-open, this might well be a duplicate of the other bug (i.e. what needs fixing is xdg-open absence).

---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
Doug McMahon (mc3man) wrote :

What's missing as of Alpha 2 is libgnome2-0 (gnome-open
This is what's preventing the opening of the trash folder from the launcher icon

While installing it will resolve this issue, it will break again if a dir. is opened with anything but nautilus.

Doing that creates 2 inode/directory= lines, one the default, the other an added association.
The default one is currently incorrect but that's another bug and not that important here.

What does matter is when opening from unity launcher it will use the first listed .desktop on the inode/directory= line in the Added Associations section which is ALWAYS going to be something other than a valid nautilus .desktop

Another way will be needed to really fix this

Omer Akram (om26er)
Changed in unity (Ubuntu):
importance: Undecided → Medium
Changed in unity:
status: New → Confirmed
Revision history for this message
Doug McMahon (mc3man) wrote :

By valid .desktop I meant for trash (gnome-open
It's needing this type of mimetype= line in nautilus.desktop

MimeType=x-directory/gnome-default-handler;x-directory/normal;inode/directory;application/x-gnome-saved-search;

doesn't resolve fact it will get bumped from the front of the added associations line, but users can put back easily, though added associations should be appended, not added to the front

Revision history for this message
Doug McMahon (mc3man) wrote :

It seems that mount icons on the launcher can also be affected once an improper mimeapps.list is created.
On a fresh install 07/17 it can be set straight simply by editing 2 lines in /etc/gnome/defaults.list
inode/directory=
x-directory/normal=
Both use nautilus-folder-handler.desktop which doesn't exist, switching to nautilus.desktop causes that to be set as the default and allows tash and mount icons to open in nautilus
Bug #797000

Revision history for this message
Omer Akram (om26er) wrote :

the workaround is to install gvfs-bin the main issue is being tracked as bug 804397

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.