Docker-OSX
Docker-OSX copied to clipboard
Keyboard not responding correctly
Hi all, First of all, thanks a lot for all the work you've done.
I just installed the macOS BigSur docker and I set up my keyboard to Belgian (because my laptop keyboard is azerty).
But when I want to write something to the VM through VNC, the keys are not correctly mapped. For example, when I press "a" on my keyboard, the screen displays "q".
The problem is that I cannot access any special characters such a "@" or " . ", which is not so good because I need to connect my Apple Account.
I already tried to change the keyboard to France, US, azerty... but this is still not working correctly.
I also tried to use the qemu command : (qemu) sendkey @
but the result is the same.
I don't know if this issue is related to Docker-OSX, qemu, macOS or something else...
Do you have any idea on what I can do ?
Thanks in advance !
Here is my docker run command:
sudo docker run -i \
--device /dev/kvm \
-p 50922:10022 \
-p 5999:5999 \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v macOSVolume:/home/arch/ \
-e "DISPLAY=${DISPLAY:-:0.0}" \
-e EXTRA="-display none -vnc 0.0.0.0:99,password=off" \
-e RAM=8 \
-e CPU_STRING=6 \
-e NOPICKER=true \
sickcodes/docker-osx:big-sur
I'm running the docker on a debian 5.10 server but I have the same issue on my arch-linux laptop.
This is a keyboard layout issue that you can change in the VNC client. I use Remmina to connect, and yes some keys are missing but that's because we don't have command button etc.
Is there a way to map command button (to super key preferably)?
I haven't been able to, there's definitely some 99.995% likely to be some easy style of hotkey re-assignment stuff inside macOS though
I simply tried the Change Keyboard Type... wizard (inside Keyboard Preferences) and it seems to work. Also turn on grab on hover from qemu's View menu.
Awesome, feel free to submit a Pull Request if you think it'll help!
RE: wizard (inside Keyboard Preferences) and it seems to work
@sickcodes I'm happy to write the doc. I don't know where such a tip would go though.
Had this issue right now. Solved by going to System Preferences > Keyboard > Modifier Keys... and making Control point to Command. Also, enabling Grab On Hover may have helped.