I don't work with OpenSuse, but as I know, there is no logs on trashcan.
But if content of a directory change, His modification time have to change too.
At all, there is a few possibility to restore something, but:
You have to stop immediatly your disk activity (in root:
mount -o remount,ro /home if /home is the mountpoint of partition)
You have to know what you want to restore, there is a few tools for doing that job, but you have to inform them about what to search for.
/ (root) is the partition to work on, you have to use another way, like live-usb in order to be able to work on read-only partition.
Preferably copy whole partition to another before of working on.
Modifying Trashcan behaviour to ask him to make log is possible too, but this depend on which desktop environment you are using.
There are essentially two widely used
- nautilus on gnome
- konqueror on kde
I use nautilus. Running
gconf-editor, searching for trash (including key names), there are no log, nor empty trash command. So if you're using gnome's
nautilus, there are 2 ways:
inotifywait) for monitoring the gnome's trash directory, than moving every new entry to a hidden directory, before
empty trash could be run by user.
patching nautilus from source for adding such a feature. (Or pay a programmer to do this) and send your modif to nautilus's maintener as a suggest.