Skip to content

privacy: Add USB protection entry

Ludovico de Nittis requested to merge denittis/gnome-control-center:usbv5 into master

This is related to the GNOME-Shell MR gnome-shell!369, the gnome-settings-daemon MR gnome-settings-daemon!75 (merged) and the gsettings-desktop-schemas MR gsettings-desktop-schemas!15 (merged).

I talked about this in Planet GNOME. First post here

This MR adds an entry in the privacy panel of g-c-c. From there the users will be able to check and edit their USB protection level.

We have a general on/off switch and below a drop down menu where is possible to choose when to allow/block new USB devices.

The drop down entries are: "Never", "When lock screen is active" and "Always".




USBGuard is required for this functionality to work. So we check if it is available and if it is not we gray out the drop down and the on/off switch.

This is the NEW VERSION:


And this is the FINAL VERSION:


Edited by Ludovico de Nittis

Merge request reports