Repository navigation
Trash and Deleting
Delete, or context menu → Move to trash, moves the selected items to the trash. The toast that follows has an Undo button; Ctrl+Z also restores the items.
Ski uses the freedesktop.org trash, the one GNOME Files, Dolphin, Thunar and other file managers use. Items trashed by Ski can be restored by them, and the other way round.
| Item location | Trash folder |
|---|---|
| The disk of the home folder | ~/.local/share/Trash |
| Another mounted drive |
<drive>/.Trash/<uid> when the drive has a shared .Trash folder with the sticky bit, otherwise <drive>/.Trash-<uid>
|
Moving to the trash on another drive keeps the items on that drive, so no data is copied. The Trash place in the sidebar lists the items of every trash folder.
Each trashed item has a record in info/<name>.trashinfo with its original path and the deletion time.
Files on a server cannot be moved to the trash. Move to trash on a server asks whether to delete the items permanently instead.
Trash in the sidebar opens the list of trashed items.
| To | Action |
|---|---|
| Restore items | Select them → context menu → Restore. Each item returns to its original folder. If an item with that name exists there, the restored item is named name (restored).ext. If the original folder no longer exists, it is created. |
| Delete items permanently | Select them → context menu → Delete permanently |
| Empty the trash | Context menu of the empty part, or of Trash in the sidebar → Empty trash |
Only items that were trashed directly can be restored. An item found inside a trashed folder (for example through a search) cannot be restored by itself; restore the folder.
Shift+Delete, or context menu → Delete permanently, deletes the selected items without the trash. This cannot be undone.
Settings → General → Confirm permanent deletion (on by default) makes Ski ask before deleting permanently and before emptying the trash.