Still present in Xubuntu 16.04 I'm not greatly experienced with Python and globbing, but this seems to fix it by making two passes; firstly for files without the dot prefix and secondly with the prefix...
--Replace-- for file_name in glob.iglob(os.path.join(trash_info_path, '*.trashinfo')): ... files.append(file_info) --With-- for trash_base in ('*.trashinfo', '.*.trashinfo'): for file_name in glob.iglob(os.path.join(trash_info_path, trash_base)): ... files.append(file_info) I've tested this as far as I can, but it would be good for someone more proficient in Python to have a look and verify it. ** Attachment added: "Diff File Version 0.1.5 Fix Dot Prefix Items Missed?" https://bugs.launchpad.net/ubuntu/+source/autotrash/+bug/1571160/+attachment/4857615/+files/autotrash-fix1571160 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1571160 Title: autotrash ignores hidden files To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autotrash/+bug/1571160/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs