gio*: add new examples (#20818)

This commit is contained in:
Dylan
2026-01-19 23:32:22 +00:00
committed by GitHub
parent c30645b5e1
commit e7ee8f1249
2 changed files with 12 additions and 0 deletions
+4
View File
@@ -12,6 +12,10 @@
`gio trash --list`
- Empty the trash:
`gio trash --empty`
- Restore a specific item from trash using its ID:
`gio trash trash://{{id}}`
+8
View File
@@ -24,6 +24,14 @@
`gio trash {{path/to/file}}`
- Empty the trash:
`gio trash --empty`
- Launch an application from a `.desktop` file:
`gio launch {{path/to/file}}.desktop`
- Mark a `.desktop` file as trusted, allowing it to be executed:
`gio set {{path/to/file}}.desktop metadata::trusted true`