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

10.6: Disable keyboard/mouse control in Screen Sharing Apps
With one of the 10.5.x updates, Apple removed the hidden screen sharing preferences that gave you a toolbar item to enable and disable keyboard and mouse control when viewing a client computer with Screen Sharing. This feature is still missing in the Snow Leopard version of Snow Leopard.

But, the method call to turn that feature on and off still exists in the application itself. I have made a quick Screen Sharing plug-in that adds a menu item you can use to toggle this feature. Note: This is a SIMBL plug-in, as I don't currently know of a better way to inject this menu item/method call into Screen Sharing. If you don't like the idea of loading third party code into an application at runtime, then don't use this.

The code is completely open-source, so you can inspect it if you wish. I also have a pre-compiled bundle ready to drop in. All information on download/installation is available on the above-linked GitHub page. Any issues you may find can be reported on the issue tracker there as well. Hopefully this will be helpful to those, like me, who aren't looking to spend big money on ARD for just viewing a couple home computers or a co-worker's screen.

[robg adds: I tested this and it worked as described. More personally surprising was the existence of a version of SIMBL that works in Snow Leopard; I didn't think this was going to be possible, given everything I'd read.]
    •    
  • Currently 2.14 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (7 votes cast)
 
[8,890 views]  

10.6: Disable keyboard/mouse control in Screen Sharing | 3 comments | Create New Account
Click here to return to the '10.6: Disable keyboard/mouse control in Screen Sharing' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Disable keyboard/mouse control in Screen Sharing
Authored by: gopes on Oct 13, '09 12:18:02PM
@ robg: "More personally surprising was the existence of a version of SIMBL that works in Snow Leopard; I didn't think this was going to be possible, given everything I'd read." SIMBL, similarly to what Agile did for 1Password, does not use InputManagers anymore, but scripting extensions. From SIMBL's developer notes page:
To address this, I've rebuilt the code injection mechanism in a two-part system. There is a small chunk of code that implements an OSAX scripting extension. There is an even smaller chunk of code that watches for application launches and triggers the injection of SIMBL when the application has finished launching. This is installed as an agent and runs in the background.


[ Reply to This | # ]
10.6: Disable keyboard/mouse control in Screen Sharing
Authored by: ehunt123 on Oct 13, '09 07:33:10PM

Getting into this part of osx/objc development lately, my reading and understanding has to do with the "hole" you let in by having something like this to be whipped up by a developer. If you read Mike's notes on the SIMBL page, he went through a few revisions of the available options before going with a ScriptingBundle.

Given how most of the hacks (hint: github has quite a few awesome ones) are not too many lines of code, looking a bit simpler than my days of doing ld_preload stuff on Linux , it's a bit of fun hacking Apple's apps. Apple's lack of APIs to things like Xcode, iCal and Mail also require some of the popular plugs/addons to utilize these



[ Reply to This | # ]
10.6: Disable keyboard/mouse control in Screen Sharing
Authored by: cntmedia on Jun 19, '10 01:19:52PM

Works Great.

Just installed it and tested it on 10.6.4



[ Reply to This | # ]