Skip to content

Repository files navigation

usbguard-alert

CI

Actionable desktop notifications for USBGuard. When USBGuard blocks a USB device, a notification appears with three buttons: Always Allow, Allow Once, and Ignore (reject for this connection). Prompts show the device ID, serial (if reported), port, and USB interface classes (HID, mass storage, ...) and remain until acted on or dismissed.

Notification for a blocked USB flash drive

Install

On Arch Linux:

makepkg -si                                           # or: make && sudo make install
sudo usbguard add-user "$USER"                        # allow IPC access
systemctl --user enable --now usbguard-alert.service
journalctl --user -u usbguard-alert.service           # logs

Build and test

Building requires base-devel, glib2, libnotify, and systemd; hwdata and usbguard are needed at runtime.

make
make check

License

WTFPL.

About

Actionable desktop notifications for USBGuard device blocking events

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages