Can't find /etc/qubes-rpc/policy/qubes.InputKeyboard


I’ve reviewed the information to manage USB, and especially Keyboard : USB qubes | Qubes OS

And I can’t find the qubes.InputKeyboard in the location indicated…

What is weird though is that the USB Mouse works OK (it asks me if I want to allow it to Dom0), although, I can’t find where the qubes.InputMouse is neither…

I’m sure I’m not looking at the right place : what I have in /etc/qubes-rpc/policy/ is :
Folder : include
Files : whonix.GatewayCommand, whonix.SdwdateStatus, qubes.USB, whonix.NewStatus

The qubes.USB files just says :
$anyvm $anyvm deny

Which seems “correct”, but then, where are the input files I can amend to allow (or not) the USB keyboard ?

I have a laptop, so integrated keyboard (as well)
I’m using Qubes 4.2.0

The new policy system, starting with Qubes 4.2, use the /etc/qubes/policy.d directory now.
The qubes.InputKeyboard service is located in 50-config-input.policy by default.

You can also edit the rules directly from Qubes Global Config in the USB Devices tab.


Sorry that you got bit by outdated documentation.

It’d be helpful if things like that were marked NOT APPLICABLE TO QUBESOS 4.2

Well I tried to update the document, I followed the how-to-edit-the-documentation process, but Github sends me on a 404 page when I click on “Fork this repository”…

Is it because I’m too new as a user ?
It’s not Qubes related per se, so it’s ok if I need to investigate elsewhere…

What if you go to the repo link:

And press the “Fork” button there?

Quite a bit of the documentation needs updating since the policy system was changed. Any and all help is appreciated! Also: