ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Sending "Windows" key to Windows VM in Fedora KVM

    IT Discussion
    4
    16
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ObsolesceO
      Obsolesce
      last edited by

      On my Fedora 27 system, I have a Windows 10 VM running in full screen.

      When I hit the "Windows" key to open the start menu, it instead opens Linux's menu or shows your Layout and programs in Gnome.

      Is there a way to get the Windows key to work in the Windows virtual machine when that window is full screen or focused, while working on Linux when the VM is not focused?

      1 Reply Last reply Reply Quote 0
      • stacksofplatesS
        stacksofplates
        last edited by

        In Virt-Manager go to Virtual Machine > Redirect USB device.

        0_1522336138550_usb.png

        1 Reply Last reply Reply Quote 2
        • ObsolesceO
          Obsolesce
          last edited by

          Not at my desk atm, but will it still work on the host?

          stacksofplatesS 1 Reply Last reply Reply Quote 0
          • stacksofplatesS
            stacksofplates @Obsolesce
            last edited by

            @tim_g said in Sending "Windows" key to Windows VM in Fedora KVM:

            Not at my desk atm, but will it still work on the host?

            You have to uncheck it to do something on the host again.

            1 Reply Last reply Reply Quote 1
            • stacksofplatesS
              stacksofplates
              last edited by stacksofplates

              Unless you have dual monitors. It works if you can click in another window in the host (or if you minimize the VM from the menu bar at the top).

              1 Reply Last reply Reply Quote 1
              • ObsolesceO
                Obsolesce
                last edited by

                Yeah that's not going to work.

                I can't use two keyboards, and manually checking/unchecking that box every time is way too inconvenient.

                stacksofplatesS 1 Reply Last reply Reply Quote 0
                • stacksofplatesS
                  stacksofplates @Obsolesce
                  last edited by

                  @tim_g said in Sending "Windows" key to Windows VM in Fedora KVM:

                  Yeah that's not going to work.

                  I can't use two keyboards, and manually checking/unchecking that box every time is way too inconvenient.

                  How would you expect it to know when you want to use it where?

                  If you move your mouse up to the top and unmaximize the window you can use it in the host again. It just can't tell when you want buttons to work in one vs the other without being focused on another window.

                  0_1522336945090_vm.png

                  ObsolesceO 1 Reply Last reply Reply Quote 1
                  • ObsolesceO
                    Obsolesce @stacksofplates
                    last edited by

                    @stacksofplates

                    Maybe it is specific to Gnome. I don't know, and I don't really want to use something else.

                    But no, even if my mouse is over that or the VM window is focused, it still does it on the host and does not open the Start menu in the VM.

                    1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch
                      last edited by

                      I do not have this problem with Cinnamon.

                      When my mouse is over the VM, the windows start menu pops.

                      When my mouse is over anything else, the Fedora menu pops.

                      1 Reply Last reply Reply Quote 0
                      • JaredBuschJ
                        JaredBusch
                        last edited by

                        Do you have the correct spice drivers installed in the VM?

                        ObsolesceO 1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch
                          last edited by

                          https://www.spice-space.org/download.html

                          1 Reply Last reply Reply Quote 0
                          • stacksofplatesS
                            stacksofplates
                            last edited by

                            Ya I don't have this problem either and I'm running GNOME. Granted no Windows VMs so @JaredBusch could be right. But the input should be able to be passed through anyway.

                            1 Reply Last reply Reply Quote 0
                            • ObsolesceO
                              Obsolesce @JaredBusch
                              last edited by

                              @jaredbusch said in Sending "Windows" key to Windows VM in Fedora KVM:

                              Do you have the correct spice drivers installed in the VM?

                              Yeah I did install the Spice drivers you linked below way back when I created the VM.

                              Maybe things are updated, I'll do it again and see what happens.

                              Yeah I don't remember this issue on Cinnamon.

                              1 Reply Last reply Reply Quote 0
                              • stacksofplatesS
                                stacksofplates
                                last edited by

                                https://www.dropbox.com/s/se6rp5mbj0g97ez/virt.webm?dl=0

                                Didn't feel like uploading this to YouTube. I don't even have to set it to redirect the keyboard. Not sure what's going on.

                                1 Reply Last reply Reply Quote 0
                                • ObsolesceO
                                  Obsolesce
                                  last edited by

                                  Okay I figured out the issue.

                                  It's Wayland.

                                  If I log off Fedora, and log back in using Gnome Xorg instead, the start menu in my Windows VM opens up if the VM window is focused.

                                  1 Reply Last reply Reply Quote 1
                                  • black3dynamiteB
                                    black3dynamite
                                    last edited by black3dynamite

                                    While using Wayland, if your keyboard has to Windows key, you can use the one on the right.

                                    1 Reply Last reply Reply Quote 0
                                    • 1 / 1
                                    • First post
                                      Last post