nautalis cannot find trash at XDG_DATA_HOME="$HOME/.config"

Bug #1993212 reported by Grizzly(Francis Smit)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Expired
Low
Unassigned

Bug Description

1) $ lsb_release -rd
Description: Ubuntu 22.04.1 LTS
Release: 22.04

2) $ apt-cache policy nautilus
nautilus:
  Installed: 1:42.2-0ubuntu1
  Candidate: 1:42.2-0ubuntu1
  Version table:
 *** 1:42.2-0ubuntu1 500
        500 http://au.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1:42.0-1ubuntu2 500
        500 http://au.archive.ubuntu.com/ubuntu jammy/main amd64 Packages

3) I expected `nautilus` to find trash at $XDG_DATA_HOME/Trash

4) dont know where it's looking but it does not find the Trash

5) Note:
I set my XDG_DATA_HOME to XDG_DATA_HOME="$HOME/.config" so as to fix a problem with one program now nautilus cannot find the trash it should just follow the value of XDG_DATA_HOME i.e. $XDG_DATA_HOME/Trash the system did this but not nautilus

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: nautilus 1:42.2-0ubuntu1
ProcVersionSignature: Ubuntu 5.15.0-50.56-generic 5.15.60
Uname: Linux 5.15.0-50-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Tue Oct 18 07:38:46 2022
InstallationDate: Installed on 2020-08-18 (790 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
SourcePackage: nautilus
UpgradeStatus: Upgraded to jammy on 2022-04-26 (173 days ago)

Revision history for this message
Grizzly(Francis Smit) (grizzly-smit) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we cannot work on this bug because your description didn't include enough information. You may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem.

We have instructions on debugging some types of problems at http://wiki.ubuntu.com/DebuggingProcedures.

At a minimum, we need:

1. The specific steps or actions you took that caused you to encounter the problem.
2. The behavior you expected.
3. The behavior you actually encountered (in as much detail as possible).

Please also ensure that you include the release and flavour of Ubuntu that you are using.

Thank you!

Changed in nautilus (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

the default location is ~/.local/share/Trash/ , why would you expect ~/Trash instead

Revision history for this message
Grizzly(Francis Smit) (grizzly-smit) wrote :

I never said that I expected ~/.config/Trash/ as my XDG_DATA_HOME is set to ~/.config and that is where my trash is but Nautilus does not find it

Revision history for this message
Grizzly(Francis Smit) (grizzly-smit) wrote :

I did all your steps you just did not look at what I wrote very well

Revision history for this message
Grizzly(Francis Smit) (grizzly-smit) wrote :

OK to make it even clearer
1. I set my XDG_DATA_HOME to ~/.config because another program needed it that way.

2. I expected both Trash and the place nautilus looked for the trash to move to ~/.config/Trash/

3. Trash did move to ~/.config/Trash/ but nautilus cannot find it any more.

4. and my release of Ubuntu is 22.04 Jammy: as in
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy

Revision history for this message
Grizzly(Francis Smit) (grizzly-smit) wrote :

nautilus should obey XDG_DATA_HOME

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

[Expired for nautilus (Ubuntu) because there has been no activity for 60 days.]

Changed in nautilus (Ubuntu):
status: Incomplete → Expired
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.