Going into Target Display Mode withtout an Apple Keyboard?

Discussion in 'macOS' started by lifeform, Apr 17, 2014.

  1. lifeform macrumors member

    Joined:
    Jan 10, 2009
    #1
    Hi,

    I have a frequent tendency to spill coffee or redwine over my Apple Keyboards. Managed to this on Tuesday also.

    Just wondering if anyone have found a way to manually going into Target Display Mode?

    I´m using my Retina 13" MBP as my main computer, wanting to connect the display of my old 27" iMac to it.

    I´ve googled this and found two solutions: http://bogner.sh/2013/07/os-x-how-to-use-an-imac-as-monitor/, and an other tips sketching out this solution:

    "Try this:

    On the target display machine, create a shell script at ~/bin/tdm.sh containing:


    #!/bin/sh
    osascript -e 'tell application "System Events" to key code 144 using command down'

    Then, from the primary machine, issue this command from Terminal:

    ssh username@target-display-machine "~/bin/tdm.sh"

    It may still not work with a Logitech keyboard -- I don't have one to check it with. It did not work with no keyboard attached to the target display machine, but it did work with a generic USB keyboard attached."

    But none of these solutions havent really worked out yet.
     
  2. Altemose macrumors G3

    Altemose

    Joined:
    Mar 26, 2013
    Location:
    Elkton, Maryland
    #2
    Maybe I am missing something but why can't you hit CMD F2 from the Logitech keyboard? And if the CMD and OPT keys are backwards just hit Alt F2 or remap the key!
     
  3. lifeform thread starter macrumors member

    Joined:
    Jan 10, 2009
    #3
    Because Apple has koded some special code for this, so activating Thunderbolt Display Mode __demands__ an Apple Keyboard. :-/
     

Share This Page