From 3224b24f98ff25db730f35e93fda4bcd4ae5e04b Mon Sep 17 00:00:00 2001 From: onyks-os <129986281+onyks-os@users.noreply.github.com> Date: Sun, 27 Sep 2026 22:22:04 +0200 Subject: [PATCH 1/4] feat(ui): screenshots, and a diagnostics dialog wide enough for its report The diagnostics report is the --diagnose text, aligned in columns; an alert dialog is too narrow for it and wrapped every line. It is now a 720-pixel dialog, with "Copy commands" in the header bar when there is a remedy. The report header says USBGuardGUI, the name the user sees. Five screenshots of the demo bridge (invented devices only) go into data/screenshots/, the AppStream metainfo (captions translated into Italian, URLs pinned to v0.1.0), and the README. Co-Authored-By: Claude Opus 5.5 Signed-off-by: onyks-os <129986281+onyks-os@users.noreply.github.com> --- README.md | 6 +- ...o.github.onyks_os.UsbguardGui.metainfo.xml | 29 ++++++- ...ithub.onyks_os.UsbguardGui.metainfo.xml.in | 25 +++++- data/screenshots/01-devices.png | Bin 0 -> 81587 bytes data/screenshots/02-device-action.png | Bin 0 -> 91125 bytes data/screenshots/03-policy.png | Bin 0 -> 101697 bytes data/screenshots/04-new-rule.png | Bin 0 -> 91498 bytes data/screenshots/05-diagnostics.png | Bin 0 -> 124319 bytes po/it.po | 51 ++++++++---- po/usbguard-gui.pot | 44 ++++++---- src/cli.rs | 6 +- src/ui/diagnostic_dialog.rs | 76 ++++++++++++++---- 12 files changed, 185 insertions(+), 52 deletions(-) create mode 100644 data/screenshots/01-devices.png create mode 100644 data/screenshots/02-device-action.png create mode 100644 data/screenshots/03-policy.png create mode 100644 data/screenshots/04-new-rule.png create mode 100644 data/screenshots/05-diagnostics.png diff --git a/README.md b/README.md index 19bc690..ac7da93 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ SPDX-License-Identifier: MIT

- USBGuard GUI + USBGuardGUI

@@ -38,6 +38,10 @@ SPDX-License-Identifier: MIT Plug in a device, see it appear as **blocked**, allow it for this session with one click — and when something does not work, be told *exactly* which layer refused and what to run to fix it. +

+ The device list: every connected device, its state, and Allow, Block, and Reject buttons +

+ > [!NOTE] > USBGuardGUI is a front end. The protection comes from the **USBGuard daemon**, which decides what > the kernel lets through; this program only asks it, with your authorization, to change its mind. diff --git a/data/io.github.onyks_os.UsbguardGui.metainfo.xml b/data/io.github.onyks_os.UsbguardGui.metainfo.xml index 79a1f79..c3ab69c 100644 --- a/data/io.github.onyks_os.UsbguardGui.metainfo.xml +++ b/data/io.github.onyks_os.UsbguardGui.metainfo.xml @@ -69,13 +69,40 @@ keyboard touch + + + Every connected device and whether it is authorized + Ogni dispositivo collegato e se è autorizzato + https://raw.githubusercontent.com/onyks-os/USBGuardGUI/v0.1.0/data/screenshots/01-devices.png + + + Allow, block, or reject a device, for this session or permanently + Consenti, blocca o rifiuta un dispositivo, per questa sessione o permanentemente + https://raw.githubusercontent.com/onyks-os/USBGuardGUI/v0.1.0/data/screenshots/02-device-action.png + + + The policy rules in the order USBGuard evaluates them + Le regole della policy nell’ordine in cui USBGuard le valuta + https://raw.githubusercontent.com/onyks-os/USBGuardGUI/v0.1.0/data/screenshots/03-policy.png + + + A guided editor for new rules + Un editor guidato per le nuove regole + https://raw.githubusercontent.com/onyks-os/USBGuardGUI/v0.1.0/data/screenshots/04-new-rule.png + + + Diagnostics that name the exact cause of an access problem + Una diagnostica che indica la causa esatta di un problema di accesso + https://raw.githubusercontent.com/onyks-os/USBGuardGUI/v0.1.0/data/screenshots/05-diagnostics.png + + #8ff0a4 #26a269 - +

First release.

Prima versione.

diff --git a/data/io.github.onyks_os.UsbguardGui.metainfo.xml.in b/data/io.github.onyks_os.UsbguardGui.metainfo.xml.in index ad31e1c..9b16ac2 100644 --- a/data/io.github.onyks_os.UsbguardGui.metainfo.xml.in +++ b/data/io.github.onyks_os.UsbguardGui.metainfo.xml.in @@ -62,6 +62,29 @@ touch + + + Every connected device and whether it is authorized + https://raw.githubusercontent.com/onyks-os/USBGuardGUI/v0.1.0/data/screenshots/01-devices.png + + + Allow, block, or reject a device, for this session or permanently + https://raw.githubusercontent.com/onyks-os/USBGuardGUI/v0.1.0/data/screenshots/02-device-action.png + + + The policy rules in the order USBGuard evaluates them + https://raw.githubusercontent.com/onyks-os/USBGuardGUI/v0.1.0/data/screenshots/03-policy.png + + + A guided editor for new rules + https://raw.githubusercontent.com/onyks-os/USBGuardGUI/v0.1.0/data/screenshots/04-new-rule.png + + + Diagnostics that name the exact cause of an access problem + https://raw.githubusercontent.com/onyks-os/USBGuardGUI/v0.1.0/data/screenshots/05-diagnostics.png + + + #8ff0a4 #26a269 @@ -70,7 +93,7 @@ - +

First release.