mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
gio*: add new examples (#20818)
This commit is contained in:
@@ -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}}`
|
||||
|
||||
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user