Delete to trash doesn't work on DEs which don't use gvfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Variety |
Fix Released
|
Medium
|
Peter Levi |
Bug Description
Hi, the delete to trash item in the tray icon doesn't work here.
1. variety version 0.4.13
2. KDE 4.8.5
3. Kubuntu 12.04
4. This is what the variety.log says in the .config/variety dir:
ERROR: move_to_trash() 'Exception in move_to_trash'
Traceback (most recent call last):
File "/opt/extras.
self.
File "/opt/extras.
self.images = [f for f in self.images if f != file]
TypeError: 'NoneType' object is not iterable
Attached is the varietylog.txt file with verbose info. It gives a suspicious line saying sh: 1: gvfs-trash: not found. Now my guess is I can install the gvfs-bin package, but since I'm not running gnome I'm not sure if this is a good idea. Please tell me if otherwise :)
Thanks for this great tool!
summary: |
- Delete to trash doesn't work + Delete to trash doesn't work on DEs which don't use gvfs |
Changed in variety: | |
status: | Confirmed → Fix Committed |
Changed in variety: | |
status: | Fix Committed → Fix Released |
milestone: | none → 0.4.15 |
Yes, unfortunately it turned out there is no DE-agnostic way to delete to trash, so at the time I solved the problem using gvfs without realizing this excludes KDE completely. We'll need a dedicated script for this, similar to set_wallpaper, which calls the appropriate command for each DE.
The exception is a separate problem that will be easy to fix.