Using Apple's Screen Sharing, can I redirect gestures and keys for controlling Spaces to the shared machine?

Solution 1:

Not truly a fix, but a possible workaround.

This picture has the remote key assignments to the left, & mine to the right.

enter image description here

By avoiding the same keys for Mission Control itself, I can get to the remote machine's 'screen list' by using Ctrl ⌃ at least & click on the one I require.

It's not neat, but it does function.

Solution 2:

Apple's Screen Sharing has very limited ability to intercept the shortcuts and direct them to the remote OS. About the best you can do is place the screen sharing window in full screen and then shortcuts like quit and spotlight will at least go to the remote as opposed to the local OS.

You might want to look at other software if you run remote sessions:

  • Apple Remote Desktop - still Apple software but provides a little more automation
  • Screens app - has a nice toolbar with commonly needed commands to send spaces / mission control / other affordances to the remote OS

enter image description here

Solution 3:

I use Better Touch Tool for this:

  • On the remote machine I assign ^+Number, ^+Left and ^+Right to select a Mission Control screen.

  • On the local Mac I assign ^+Space+Number, ^+Space+Left and ^+Space+Right to the same functions.

  • On the local computer I assign ^+... to ^+Space+... inside Better Touch Tool to all Apps. Additionally I assign ^+... to the same keys ^+... inside Better Touch Tool only to the Screen Sharing app.

Attention: When assigning the keys inside Better Touch Tool to the Screen Sharing app you must pay attention that the Non Recursive box is checked to avoid sending the same keys in a loop.