Your Mac, in your hand.
lionel's TouchDesk shows your Mac's screen on your iPhone, iPad or Android phone. Tap to click, pinch to zoom in on the small stuff, and type from your phone. It runs on your home Wi-Fi, with no accounts or subscriptions.
Download TouchDeskFree, 19 KB. You need a Mac and a phone or tablet on the same Wi-Fi. Any web browser works, even on another computer.
-
Download and unzip
Click Download TouchDesk on your Mac. Safari unzips it for you. Move the TouchDesk folder from Downloads to your Documents folder so it doesn't get cleaned up by accident.
-
Open start.command
Double-click start.command inside the TouchDesk folder. A Terminal window opens. The first time, it spends about a minute getting set up.
If your Mac says it can't open it or can't verify it Click Done. Open System Settings → Privacy & Security, scroll to the bottom, and click Open Anyway next to start.command. Your Mac blocks things it didn't download from the App Store; this is normal.If it asks to install "Command Line Tools" Click Install and wait for it to finish (a few minutes). Then double-click start.command again. -
Allow two permissions
Your Mac needs to let Terminal see the screen and click for you. In System Settings → Privacy & Security, turn on Terminal in both of these:
- Screen & System Audio Recording, so your phone can see the screen
- Accessibility, so your taps turn into clicks
Then quit Terminal with ⌘ Q and double-click start.command again. If your Mac asks whether to accept incoming network connections, click Allow.
-
Scan the code with your phone
The Terminal window shows a link and a QR code. Make sure your phone is on the same Wi-Fi as your Mac, then point its camera at the code and tap the link that pops up. On Android, use the Camera app or Google Lens.
lionel's TouchDesk is running. On your phone or tablet (same Wi-Fi), open: http://192.168.1.20:8780/?t=… …or point your phone's camera at this code: -
Add it to your Home Screen
iPhone or iPad: in Safari, tap Share, then Add to Home Screen.
Android: in Chrome, tap the ⋮ menu, then Add to Home screen (it may say Install app).
Now TouchDesk opens full screen from its own icon, like any other app.
On your Mac, double-click start.command. On your phone, tap the TouchDesk icon.
Leave the Terminal window open while you use it. You can minimize it. To stop, close the Terminal window.
- Tap
- Click
- Double-tap
- Double-click
- Pinch
- Zoom in and out
- Drag one finger
- Move around while zoomed in
- Two-finger tap
- Right-click
- Touch and hold, then move
- Drag something on the Mac
- Scroll button
- One-finger drag scrolls the window
- Apps button
- See every open window and switch
- Copy and Paste buttons
- Copy what's selected, then paste where you tap
- Keyboard button
- Type, and use ⌘ for shortcuts
- Quality button
- Sharper picture or smoother motion
- Orange − and + button
- Hide the toolbar, then bring it back
My Mac won't open start.command
Open System Settings → Privacy & Security, scroll to the bottom, and click Open Anyway. The button only shows up for a while after you try to open the file, so double-click start.command first if you don't see it.
Still stuck? Open the Terminal app (it's in Applications → Utilities), type bash and a space, drag start.command into the Terminal window, and press Return.
My phone can't load the page
- Check that your phone is on the same Wi-Fi as your Mac, not cellular and not a guest network. Guest networks usually keep devices from seeing each other.
- Make sure the Terminal window on your Mac is still open and your Mac is awake.
- Try the other link shown in the Terminal window.
- Using a VPN? See the next answer.
- If your Mac's firewall is on, open System Settings → Network → Firewall → Options and allow incoming connections for python3.
It stopped working when I turned on a VPN
Some VPNs block devices on your home network from reaching each other. Look in your VPN app's settings for an option like Allow LAN connections or Local network sharing and turn it on. Work VPNs often don't offer this, so turn the VPN off while you use TouchDesk.
This applies to a VPN on your phone as well as your Mac.
A different app opens instead of TouchDesk
Another app on your Mac is using the same network port. TouchDesk notices this when it starts and switches to a free one, and the Terminal window says so. Scan the new code and add TouchDesk to your Home Screen again.
I can see my wallpaper but no windows
Terminal doesn't have Screen Recording permission yet. Turn it on in System Settings → Privacy & Security → Screen & System Audio Recording, quit Terminal with ⌘ Q, and open start.command again.
Your Mac may ask you to confirm this permission again every so often. Click Allow when it does.
Tapping does nothing, or I see a red "blocking clicks" message
Terminal needs Accessibility permission. Open System Settings → Privacy & Security → Accessibility and turn on Terminal.
If it's already on, select Terminal, click – to remove it, then click + and add it back from Applications → Utilities. Quit Terminal with ⌘ Q and open start.command again.
My Home Screen icon stopped working
Your Wi-Fi router sometimes gives your Mac a new address, which changes the link. Open start.command, scan the new code, and add it to your Home Screen again. Delete the old icon.
The picture is blurry or small text is hard to read
Tap the quality button (it starts on Med) until it says High or Max, and pinch to zoom in. If things feel slow, go back to Med or Low, or move closer to your Wi-Fi router.
The Terminal window shows an error while setting up
The first run downloads a few small pieces it needs, so your Mac has to be online. Close the window and double-click start.command again. If it keeps failing, delete the hidden .venv folder inside TouchDesk (press ⌘ Shift . in Finder to show hidden files) and try once more.
I have more than one screen
TouchDesk shows your main display: the one with the menu bar. You can change which screen is the main one in System Settings → Displays → Arrange.
On Android, my typing shows up a word at a time
That's normal. Android keyboards finish each word before handing it over, so the word appears on your Mac when you tap space or a punctuation mark. Backspace and Enter go through right away.
Some keyboard shortcuts don't reach my Mac
With a hardware keyboard on an iPad, the iPad keeps a few shortcuts for itself, like ⌘ Tab and ⌘ H. Use the Apps button to switch programs instead.
Your link has a private code in it. Anyone on your Wi-Fi who has that link can see and control your Mac, so keep it to yourself. Share this page with friends instead.
To lock out every old link, double-click new-link.command in the TouchDesk folder. Then scan the new code and re-add the Home Screen icon.
Nothing goes over the internet. Your screen only travels between your Mac and your phone, on your own network.
Delete the TouchDesk folder and the icon on your phone.
If nothing else needs them, turn Terminal off in Screen & System Audio Recording and Accessibility in System Settings.