Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Don't send Command-Tab, etc. in ARD and screen sharing Apps
In Apple Remote Desktop 3.3, Apple changed the behavior of key commands during screen sharing. In this knowledge-base article, one of the listed "improvements" is this:
When controlling a remote client, function keys and key combinations for actions such as Force Quit, Log Out, and the Application Switcher are now all sent to the remote computer.
While this feature has its benefits in some scenarios, some people may prefer the old functionality. Here's how to make Remote Desktop not send the special function keys to the remote computer. Quit Remote Desktop, then open Terminal and enter this command:
defaults write com.apple.RemoteDesktop DoNotSendSystemKeys -bool YES
If you decide you want to have the special function keys sent to the remote machine, just quit Remote Desktop and repeat the above command, but change YES to NO.

[robg adds: Screen sharing in 10.6 gained this same "improvement," and I know some people are annoyed by it there as well. I tried applying the DoNotSendKeys key to screen sharing, and it worked! So, if you'd rather not have special keys sent to the remote Mac via screen sharing, just use this Terminal command (without an active screen sharing session):
defaults write com.apple.ScreenSharing DoNotSendSystemKeys -bool YES
Revert the behavior by repeating the command, but change YES to NO.]
    •    
  • Currently 3.59 / 5
  You rated: 3 / 5 (27 votes cast)
 
[14,994 views]  

Don't send Command-Tab, etc. in ARD and screen sharing | 15 comments | Create New Account
Click here to return to the 'Don't send Command-Tab, etc. in ARD and screen sharing' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Don't send Command-Tab, etc. in ARD and screen sharing
Authored by: V.K. on Dec 24, '09 11:27:08AM

very nice hint! while I do like the new default behavior personally, it's always good to have an option to switch to the old one.



[ Reply to This | # ]
Don't send Command-Tab, etc. in ARD and screen sharing
Authored by: zebrum on Dec 24, '09 12:23:49PM

thanks but prefer the improved behavior, the old way drove me nuts!



[ Reply to This | # ]
Don't send Command-Tab, etc. in ARD and screen sharing
Authored by: joekewe on Dec 24, '09 01:29:47PM

Since Screen Sharing in 10.5 lost it's Bonjour and toolbar hacks in a recent update, I was hoping this hint might also apply to us Leopard users. I would actually like to use Cmd-Tab switching remote machines. Unfortunately, the latest Screen Sharon app (v 1.0.3) under Leopard does NOT appear to forward special keystrokes to the remote machine. Then I tried this hint in reverse (DoNotSendSystemKeys -bool NO), and it still does not seem to send them. Please correct me if I'm missing something.



[ Reply to This | # ]
Don't send Command-Tab, etc. in ARD and screen sharing
Authored by: jaydisc on Dec 24, '09 01:51:20PM

Been waiting for this one. Big thank you!



[ Reply to This | # ]
Don't send Command-Tab, etc. in ARD and screen sharing
Authored by: timcrawf on Dec 24, '09 02:28:08PM

I appreciate this tip as well.
For those of you that are on the fence, try having 3 or 4 remote sessions open and then try switching between them using Expose. You will find it hard to do. This defaults command also moves the Expose commands back to the system running ARD.
Perhaps you want to drag and drop a file to the remote session, once again Expose to the rescue, to find that file on the desktop, but not if you don't apply this "fix".
The last scenario, you are using ARD and need to switch to a different application, perhaps Evernote or TextEdit to find your list of actions, this is where command-tab works great.



[ Reply to This | # ]
Don't send Command-Tab, etc. in ARD and screen sharing
Authored by: pediger on Dec 24, '09 04:32:42PM

I too prefer the new behavior. However, what is needed is an easy way to escape, via the keyboard, from the remote screen to the local.

I have found that Launchbar's double-tap (of the command key) to start a search does bring local Launchbar forward and thus activates local keyboard control. It doesn't seem to work every time and I'm not sure why it works, since command-space strictly goes to the remote screen, but it has been a partial workaround for me.

Edited on Dec 24, '09 04:33:32PM by pediger



[ Reply to This | # ]
Don't send Command-Tab, etc. in ARD and screen sharing
Authored by: clh on Dec 24, '09 05:22:09PM

I was wondering if there was a keystroke for escaping to the local system. I do like the new behavior, but the only way I know to return keyboard focus to the local system is to find a bit of local desktop to click upon, which runs counter to my wish to have a full-screen Screen Sharing window. Are there any other ways to do this?



[ Reply to This | # ]
Don't send Command-Tab, etc. in ARD and screen sharing
Authored by: stokessd on Dec 28, '09 06:35:14AM

I'd like a quick swap command. I often screen share with a friend across the country to show off pictures and files about our current projects. I'd like to be able to share my screen, then at the press of a button flip over and share his screen. Having to disconnect and reconnect seems needlessly complex.


Sheldon



[ Reply to This | # ]
Don't send Command-Tab, etc. in ARD and screen sharing
Authored by: djfreak on Feb 02, '10 05:14:47PM

Outstanding hint.



[ Reply to This | # ]
Don't send Command-Tab, etc. in ARD and screen sharing
Authored by: dcottle on Aug 05, '10 02:02:39PM

I hate the new behavior. Command-tab is the only way to switch out of Screen sharing to the finder.

As usual, OS X Hints comes through with a solution. Thanks.



[ Reply to This | # ]
Don't send Command-Tab, etc. in ARD and screen sharing
Authored by: dvdweyer on Jul 21, '11 09:24:23PM

Unfortunately this hint doesn't work in OS X 10.7 anymore. Does anyone know how to achieve the same in OS X Lion?



[ Reply to This | # ]
Mountain Lion solution
Authored by: Rainy Day on Dec 16, '12 12:27:13PM
Unfortunately, DoNotSendSystemKeys doesn't seem to be honored in Mountain Lion either, but i did find another solution which works.

[ Reply to This | # ]
ARD 3.5.2 Update breaks this fix
Authored by: tc_nyc on Jun 12, '12 03:08:10PM

Oh well. After applying 3.5.2 update the Command-Tab switching is stuck to the remote client again.
Convenience be damned... Apple gets it's way!



[ Reply to This | # ]
Don't send Command-Tab, etc. in ARD and screen sharing
Authored by: leancode on Jun 29, '12 03:22:36AM

I figured out a solution for this when running Lion. Put the screen sharing into full screen mode. All the key strokes are sent to the remote machine except those that switch screens, in my case ctrl-LEFT ctrl-RIGHT. So use the key to switch back to the local machine and your keys are being sent to the local machine again. Switch back to the remote full screen and the keys are sent to the remote machine. Hope this helps someone.



[ Reply to This | # ]
Don't send Command-Tab, etc. in ARD and screen sharing
Authored by: jamiljonna on Oct 09, '12 12:11:48PM

I really hope someone can come up with another solution because I still find this highly annoying.



[ Reply to This | # ]