Unable to share mouse/keyboard with virt-manager's windows guest

Hello!
I am terribly sorry if I post this at the wrong place… This is my very first post on this forum (yay!..) And I find it a little confusing to say the least ^ ^;

So after learning about looking glass I became a little obsessed with finally getting rid (again) of my windows and going back to just linux… The problem I have is that whenever I capture the mouse in looking glass, if I click anywhere the mouse just reset to it’s original position…
So I searched for other solution and found this here Rokups’ Sharing HID devices with KVM virtual machine Guide

The problem si that I don’t seem to understand anything because when I run the script in a terminal it gives me this:
import-im6.q16: not authorized libvirt' @ error/constitute.c/WriteImage/1037. import-im6.q16: not authorizedsys’ @ error/constitute.c/WriteImage/1037.
import-im6.q16: not authorized `logging’ @ error/constitute.c/WriteImage/1037.

I’m very confused as to what I am supposed to do at all really…

Is there a version of this guide for stupid people?

Thank you very much and sorry if my question is a little confusing… I’m very confused

Well I ended up figuring out what was wrong. Or rather after doing it again today, remaking all the required files it worked!!

But now I have a random unexpected problem, somehow windows things that my keyboard is US instead of Japanese… And when I change the keyboard layout option in windows, nothing happens, it sticks to US…

I’m not entirely sure what to do now… Where should I even start looking for such a weird problem o.o

EDIT: I tried adding the keymap in a “graphics section” as suggested here: 「Setting/correcting keymap in Virt-Manager」
But it doesn’t seem to do anything