You are not logged in.

#1 2015-05-27 06:45:55

Rena
Member
From: Ontario
Registered: 2015-05-08
Posts: 13
Website

Missing trash in Thunar

Today I noticed that Thunar always asks me to permanently delete files instead of sending them to the trash, and no amount of Googling has managed to restore the Trash function.

I've tried:

  • Stopping and restarting the thunar daemon

  • Right-clicking PLACES in the sidebar (no Trash option appears in the menu)

  • Poking around in Thunar's preferences menu (no trash-related items there)

  • Stopping and restarting gvfsd

  • Verifying that ~/.local/share/Trash exists and is writable by me (mode 0700)

  • gvfs-trash --empty (which, interestingly, has not removed anything in ~/.local/share/Trash)

  • Manually removing everything in ~/.local/share/Trash/files and ~/.local/share/Trash/info, then restarting gvfsd and thunar daemon

  • Entering trash:/// in Thunar's address bar (it changes to BsdroLC.png icon and does nothing)

  • pacman -Syu

  • Restarting d-bus

  • Rebooting (after the previous step locked X up completely -.-)

Still, no trash function!

Last edited by Rena (2015-05-27 06:51:28)

Offline

#2 2015-05-27 17:50:27

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Missing trash in Thunar

I remember this issue from a couple of years ago:

https://bbs.archlinux.org/viewtopic.php?id=154339

Does the information in that thread help?

Offline

#3 2015-05-28 10:31:24

GordonGR
Member
From: Thessaloniki, Greece
Registered: 2011-11-07
Posts: 276

Re: Missing trash in Thunar

It happens every once in a while (but rarely). The solution is to open a terminal and

rm /home/nikos/.dbus/session-bus/*
thunar -q

Intel(R) Celeron(R) CPU E3400 @ 2.60GHz, x86_64. AURs.

“No one without the knowledge of geometry may enter.“ Plato.

Offline

#4 2015-05-28 11:11:23

okubax
Member
From: Kent, UK.
Registered: 2010-04-24
Posts: 210
Website

Re: Missing trash in Thunar

This has happened to me on more than one occasion, do you by any chance start thunar in daemon mode i.e.

thunar --daemon

Also take a look at this from the wiki: "Trash/network icons disappear randomly"

Offline

#5 2015-06-10 22:02:09

Rena
Member
From: Ontario
Registered: 2015-05-08
Posts: 13
Website

Re: Missing trash in Thunar

Removing everything in `session-bus` didn't help. I've tried starting it with and without `--daemon` flag, still no success. Moving the config files around didn't help either. Using `dbus-launch thunar` does seem to have fixed it, though judging from the responses in that thread, I'll have to see if that continues to work. (And it seems to  be necessary to launch it that way every time! `dbus-launch thunar --daemon` doesn't work either; says "Thunar: Unknown option --dameon", pretty odd...)

Offline

#6 2015-06-11 11:26:37

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Missing trash in Thunar

Rena wrote:

`dbus-launch thunar --daemon` doesn't work either; says "Thunar: Unknown option --dameon", pretty odd...

Your post says both "daemon" and "dameon". You either didn't copy-and-paste the original command or the actual error message. tongue

Please copy and paste your actual commands and error messages.

Offline

#7 2015-06-11 14:22:18

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: Missing trash in Thunar

You shouldn't be running dbus-launch or gvfsd manually. The latter should be started by the former which should, in turn, be started by /etc/X11/xinit/xinitrc.d/30-dbus.sh

Are you starting the session with startx and a self-made .xinitrc? If so, see https://bbs.archlinux.org/viewtopic.php?id=196795

Last edited by Chazza (2015-06-11 14:27:35)

Offline

#8 2023-02-25 17:43:51

trojan_leafar
Member
Registered: 2022-11-09
Posts: 2

Re: Missing trash in Thunar

Had the same problem (trash and network ain't available). Fixed that by installing the [Gvfs package] (https://archlinux.org/packages/extra/x86_64/gvfs/). For more info, head on to [Gvfs Gnome Wiki] (https://wiki.gnome.org/Projects/gvfs).
Note: reboot your system for the changes to take effect smile.

Offline

#9 2023-02-25 18:21:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,293

Re: Missing trash in Thunar

Note that you are necrobumping a 8 year old thread. With a solution thats documented.

Please don't necrobump: https://wiki.archlinux.org/title/Genera … bumping%22

Closing

Online

Board footer

Powered by FluxBB