From e7ee8f124950734e047bc21f9e28b40f4c29989c Mon Sep 17 00:00:00 2001 From: Dylan <145150333+dmmqz@users.noreply.github.com> Date: Mon, 19 Jan 2026 23:32:22 +0000 Subject: [PATCH] gio*: add new examples (#20818) --- pages/linux/gio-trash.md | 4 ++++ pages/linux/gio.md | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/pages/linux/gio-trash.md b/pages/linux/gio-trash.md index 36c8b24a00..f4ea0dbaa9 100644 --- a/pages/linux/gio-trash.md +++ b/pages/linux/gio-trash.md @@ -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}}` diff --git a/pages/linux/gio.md b/pages/linux/gio.md index 35fb499761..410eca31ae 100644 --- a/pages/linux/gio.md +++ b/pages/linux/gio.md @@ -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`