5

I am running Xfce in Full-Screen mode using Windows Subsystem for Linux and VcXsrv. I'd like to use Alt + Tab to alternate between open Xfce programs. However when I press Alt + Tab it triggers Windows's applications switch. I have already tried the argument -keyhook with no success. I can archive a similar behavior with Virtual Box when I have to use AltGr to escape the Virtual Machine's window.

Art Gertner
  • 7,429

1 Answers1

2

Using X2Go, I had to adjust the default server settings a bit to get it working. (source: programmersought.com)

Currently I am running the server as:

"C:\Program Files (x86)\x2goclient\VcXsrv\vcxsrv.exe" -clipboard -nopn :0 -keyhook -rootless

For me (Windows 10, v1903) the solution was to use -keyhook combined with -rootless. In -multiwindow mode, the Meta key was captured, but not Alt+Tab.

Specifically for X2Go, the settings look like this for me:

enter image description here

.-- Settings -------------------------------------------------------------------.
|   .---------.----------.-----------------------.--------------------.         |
|   | General | Printing | X.Org Server Settings | PulseAudio Settings|         |
| .----------------------'                       '----------------------------. |
| | You must restart the X2Go Client for the changes to take effect           | |
| |                                                                           | |
| |                                                                           | |
| |                                                                           | |
| |                                                                           | |
| | ( ) use integrated X-Server                                               | |
| | [ ] do not use primary clipboard                                          | |
| | (x) use custom X-Server                                                   | |
| |                                                                           | |
| | .-- custom X-server ----------------------------------------------------. | |
| | |             .------------------------------------------------------.  | | |
| | | executable: | C:/Program Files (x86)/x2goclient/VcXsrv/vcxsrv.exe  |  | | |
| | |             '------------------------------------------------------'  | | |
| | | [x] start X-server on X2Go Client start                               | | |
| | |                       .--------------------------------------------.  | | |
| | | command line options: | -clipboard -nopn :0 -keyhook -rootless     |  | | |
| | |                       '--------------------------------------------'  | | |
| | '-----------------------------------------------------------------------' | |
| |                                            .----. .--------. .----------. | |
| |                                            | OK | | Cancel | | Defaults | | |
| |                                            '----' '--------' '----------' | |
| '---------------------------------------------------------------------------' |
'-------------------------------------------------------------------------------'
kdb
  • 2,451