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

10.5: Add useful toolbar buttons to Screen Sharing System 10.5
In Mac OS X 10.5's Screen Sharing app (the Share Screen button when viewing a Mac in the SHARED section of the Finder's sidebar), you can enable toolbar buttons that will put you in full-screen mode (like Apple Remote Desktop) or allow you to "curtain" (hide the screen of) the remote Mac. You'll need to have the Property List Editor installed, which is part of the Developer Tools included with Leopard. To add the toolbar buttons, you should:
  1. Make sure that you've used the screen sharing feature in Leopard at least once to ensure that a prefs file is created. Quit it if it is running already.
  2. At the command line (in Terminal.app or an xterm) enter the following, all on one line:
    open -a "Property List Editor.app" ~/Library/Preferences/com.apple.ScreenSharing.plist
  3. In the property list editor which should then open, navigate the tree to Root » NSToolbar Configuration ControlToolbar » TB Item Identifiers.
  4. Select one of the children of the TB Item Itentifiers node, and press Add Sibling. I selected the Scale child, which places the toolbar button after the scale/don't scale toolbar button already in the toolbar.
  5. Set the Class of your new entry to String from the pop-up (which it may default to), and the Value to FullScreen.
  6. Press Add Sibling again, set the Class to String, and the Value to Curtain.
  7. Save your changes, and open a new Screen Sharing session.
Start a sharing session and make sure the toolbar is visible (View » Show Toolbar, or click the button at the top right of the screen. You'll see your new Full Screen button in the toolbar. Click it, and you will be switched into a full screen mode very much like the one in Apple Remote Desktop; click the "X" icon in the toolbar to exit full screen mode.

The Curtain button will hide the display on the actual Mac you're sharing, replacing it with a large lock icon and some text you specify.

[robg adds: Hints user bdog noted in a comment on our queue site notes that there are four additional buttons you can add to the toolbar (all of Class String): Quality, Capture, Control, and Share. Quality adds a slider that lets you vary the image quality (and hence speed of the shared screen); Capture takes a local screenshot of the remote Mac, Control toggles the mode from "you control everything" to "you observe everything," and Share lets you toggle whether the other machine's mouse and keyboard are active while you're in sharing mode. These are all features of the full Apple Remote Desktop program, I believe.

In my testing, they worked reasonably well, but not perfectly. For instance, the first time I used Curtain mode, the remote Mac locked with a solid blue screen. After I restarted it, though, Curtain mode worked, but the text display exhibited a bug -- I entered "Controlled by robg..." and the onscreen display read "Controlled by robg....lockedByString." But in general, all these features work well, and they add welcomed functionality to screen sharing.

Finally, you can still use the Customize Toolbar option within Screen Sharing and you won't lose these new buttons -- as long as you don't drag them off, obviously, or drag in the default toolbar choice.]
    •    
  • Currently 3.13 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (8 votes cast)
 
[42,175 views]  

10.5: Add useful toolbar buttons to Screen Sharing | 33 comments | Create New Account
Click here to return to the '10.5: Add useful toolbar buttons to Screen Sharing' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: msilverman on Dec 10, '07 08:33:56AM

Wow, that is really interesting...those are indeed all features of the full Remote Desktop...I wonder if Apple removed them to make things easier for novice users or to force people to pony up $$ for full ARD if they wanted them. But, obviously they are still "baked in" to screen sharing. I wonder if there is any other hidden "free" ARD functionality waiting to be found?



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: wallybear on Dec 10, '07 08:52:26AM

You can use the "defaults" command to set those properties, with no need to install Developer Tools.



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: daniel_steffen on Dec 10, '07 09:40:06AM

indeed, the following command adds all the available toolbar buttons (in the order they appear in the fullscreen floating tool window):


defaults write com.apple.ScreenSharing \
    'NSToolbar Configuration ControlToolbar' -dict-add 'TB Item Identifiers' \
     '(Scale,Control,Share,Curtain,Capture,FullScreen,GetClipboard,SendClipboard,Quality)'


[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: xcgr on Dec 10, '07 12:43:47PM

The command posted by daniel_steffen worked perfectly for me. Much, much better than the unnecessarily convoluted instructions in the original hint.

I hope Rob updates the hint to mention this method, or a lot of people are likely to miss it.



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: robg on Dec 13, '07 09:01:03AM

As it's noted in the comments, and some people dislike using Terminal commands, I'm going to leave the hint as is. I trust readers to read both hints and comments, for there's no way I can ever capture the entire knowledge base of the comments in every single hint -- the re-editing would take forever! :)

-rob.



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: adrianm on Dec 15, '07 08:44:37PM

Yes, but you could add to the "robg adds" bit saying "See comments below for a one-liner that won't require you to clutter your HD with 2GB of dev tools you don't need."

---
~/.sig: not found



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: JBCheong on Dec 10, '07 03:34:54PM

Indeed this method works for me too.

It's so simple!



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: alternapop on Dec 10, '07 09:06:54AM
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: forman on Dec 10, '07 10:11:25AM
Concisely, this is what one needs to do to enable the six new useful buttons.
  • With the developer tools installed, type the following in a terminal:
    • open -a "Property List Editor.app" ~/Library/Preferences/com.apple.ScreenSharing.plist
  • Under "Root > NSToolbar Configuration ControlToolbar > TB Item Identifiers" select a sibling.
  • Click the "New Sibling" button and add the following all of type "String":
    • Control
    • Share
    • FullScreen
    • Curtain
    • Capture
    • Quality
  • Share screens with a computer via finder or by directly running "Screen Sharing.app".
  • Select "View > Show Toolbar" from the menu.
  • Right click on the tool bar and select "Customize Toolbar...", if you'd like to rearrange the new buttons.


[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: V.K. on Dec 10, '07 10:12:44AM

Thanks for the tip! I've been looking for a full-screen option ever since installing leopard. Chicken of VNC has it but leopard screen sharing didn't seem to.
They should really make it available by default without using dev tools or tricky terminal commands.



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: Papillon on Dec 10, '07 11:01:41AM

Thanks! Great hint.



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: cooter on Dec 10, '07 02:20:44PM

Great, now I can use screen sharing full screen in its own space. How cool...

Oh, crap. There seems to be no way to switch spaces back to my other apps without exiting full screen mode. Bummer. Anyone have any ideas?



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: expanderz on Dec 10, '07 06:35:46PM

Anyway to enable drag-n-drop between macs like in Remote Desktop?



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: dethbunny on Dec 10, '07 10:48:58PM
Everybody's missing my favorite undocumented setting in the same plist: the Bonjour browser! Change the "ShowBonjourBrowser_Debug" boolean from "No" to "Yes." (Or the following if you're Terminal-happy.)
defaults write com.apple.ScreenSharing ShowBonjourBrowser_Debug -bool true
You now have a Bonjour-based browser that opens whenever you run Screen Sharing. It's now a useful, dock-worthy app. Click it, then control the target machine. You don't have to dink around with the Finder to remotely control the machine. Yay! It'll even remember passwords.

[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: expanderz on Dec 11, '07 02:59:17AM

Excellent, works great!



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: bdog on Dec 11, '07 04:47:30AM

That's because there was a hint on just that pref already.



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: robg on Dec 13, '07 09:07:26AM
Indeed, there was.

-rob.

[ Reply to This | # ]
Wrestling With the Leopard
Authored by: BodhiCat on Dec 11, '07 08:30:21AM

All I can say at this point is that I am very disappointed in Leopard (OS 10.5). After several tries at getting MySQL and SQLite to work with Perl CGI, I have given up and am just going to have to use tab separated data files to store on-line data.

I have been the ‘computer guy' in an state office for almost 10 years and we have used Macs exclusively. I haven't seen an OS so buggy since 10.0. 10.5 won't even untar a compressed file. Hopefully, they will come out with a free fix to Leopard, like they did when they offered 10.1.

For now I will just have to limp along with 10.5 as it is. Well rant over for the morning. Good luck to anyone else wrestling with the Leopard.
—BC



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: Sven G on Dec 11, '07 10:47:58AM

BTW, is it possibile to add these buttons/icons also to the Customise Toolbar options? And how, then?

That would be a more complete solution, indeed!



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: forman on Dec 19, '07 06:11:55PM
Concisely, this is what needs to be run from the command line in order to enable all nine buttons:

defaults write com.apple.ScreenSharing 'NSToolbar Configuration ControlToolbar' -dict-add 'TB Item Identifiers' '(Scale,Control,Share,Curtain,Capture,FullScreen,GetClipboard,SendClipboard,Quality)'

[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: forman on Dec 19, '07 06:40:15PM
Here's a link that provides more details to the hint above, including how to enable the bonjour browser for "Screen Sharing.app":

http://www.macdeveloperjournal.com/article/131094/2007/12/screensharepower.html


[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: rmanke on Mar 04, '08 04:33:56PM

Sorry to bring this up yet again... but has anyone been successful in figuring out how to get the app to default to "Observe" mode when connecting to a computer?

This would be very useful, and I would think should be the default setting anyways...



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: jollyroger on Apr 25, '08 08:16:43PM
The 'defaults' method, as described by MacWorld, is a one-shot solution that I find the easiest:

defaults write com.apple.ScreenSharing \
'NSToolbar Configuration ControlToolbar' -dict-add 'TB Item Identifiers' \
'(Scale,Control,Share,Curtain,Capture,FullScreen,GetClipboard,SendClipboard,Quality)'

MacWorld Article:
http://www.macworld.com/article/131094/2007/12/screensharepower.html

---
-monoclast

[ Reply to This | # ]

10.5: Add useful toolbar buttons to Screen Sharing
Authored by: infinitysupport on Jun 03, '08 10:56:46AM

This is an awesome hint and I've been using it for a while now. Bonjour browsing is a great feature.

However, has anyone figured out how to remove systems from the "My Computers" list after you've connected to them?

My list has gotten cluttered with systems I've connected to once or twice as well as some whose names have since changed.

Thanks.



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: elliotbay on Jun 05, '08 08:37:02PM

The aforementioned plist file stores all the saved computers. Simply remove the relevant ones from the list. You can also reorder them this way.



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: damiansipko on Jun 18, '08 09:38:06PM

To completely reset the Bonjour browser in Screen Sharing you must drag the file: com.apple.ScreenSharing.plist to the trash and restart Screen Sharing. Of course you'll have to re-enable the Bonjour browser with the hint above. You can locate the file here: Macintosh HD/Users/yourusername/Library/Preferences/



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: darrenleeweber on Sep 08, '08 02:49:36PM
open /Developer/Applications/Utilities/Property\ List\ Editor.app ~/Library/Preferences/com.apple.ScreenSharing.plist

Then remove entries from the dictionary called SavedComputers



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: lcms on Sep 16, '08 02:54:40AM

Seems that this one is no longer working in 10.5.5 :-(
Had id working in 10.5.4, but 10.5.5 has overwritten the preferences and when you re-add the siblings, nothing changes.



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: Bottacco on Sep 17, '08 07:47:29AM

I recovered the pref file from another computer with 10.5.4 but it won't work either. I think Apple wants us to buy Remote Desktop. I will poke around with that file a little bit more just in case... I suppose that there has to be some way to "activate" those buttons again.



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: jhaffner on Sep 17, '08 02:56:31PM

I can confirm that the added toolbar buttons have gone away in 10.5.5.

I trashed my previous preference file, and started all over again. Now the additional buttons do not appear. (sigh)

---
Don't worry, it's out of control.



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: jrobert on Sep 30, '08 06:57:13PM

This article:
[link:]http://www.macworld.com/article/135649/2008/09/screen_sharing_buttons.html
shows several ways to restore the capability.



[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: mr_zorg on Jan 21, '09 08:58:59PM
While looking for a way to get this functionality back on 10.5.5+ (I wound up going back to the old Screen Sharing v1.0 app, btw), I stumbled across this other hint:

http://www.macosxhints.com/article.php?story=20050418141459704

I went looking for the file it describes only to find that it doesn't exist in Screen Sharing.app at all. If you create the file and populate it with the defaults listed in that hint, 'lo and behold the "lockedByString bug" goes away and functions as it should. Enjoy!

[ Reply to This | # ]
10.5: Add useful toolbar buttons to Screen Sharing
Authored by: jakob.joergensen on Apr 03, '09 01:14:45AM
Solution found! Works for 10.5.4 and up... With SIMBL and megazoomer correctly installed, one can with all programs (except Screen Share) press ⌘+⏎ for full screen for all Cocoa programs. Screen Share is a bit difficult, though, I think cause the remote computer eats all your input! What you need to do here is go to the menu item Window and simply select mega zoom. To exit full screen move the mouse to the top of your screen and the menu bar will show so you can repeat the procedure. Voila!

[ Reply to This | # ]