Notes to Self

Alex Sokolsky's Notes on Computers and Programming

Sunshine + Moonlight

Sunshine

repo, docs.

MacOS install

Use homebrew:

brew tap LizardByte/homebrew
brew install sunshine

Linux install

flatpak install flathub dev.lizardbyte.app.Sunshine

Use

Just run it:

sunshine

In the produced output:

Configuration UI available at [https://localhost:47990]

Moonlight

https://moonlight-stream.org/

MacOS install

brew install --cask moonlight

PC client

Keyboard Shortcuts

PC

Shortcut Description
Ctrl-Alt-Shift-Q Quit the streaming session (leaving the game running on the host PC)
Ctrl-Alt-Shift-Z Toggle mouse and keyboard capture
Ctrl-Alt-Shift-X Toggle between full-screen and windowed mode
Ctrl-Alt-Shift-S Open performance stats overlay (not supported on Steam Link or Raspberry Pi)
Ctrl-Alt-Shift-M Toggle mouse mode (pointer capture or direct control)
Ctrl-Alt-Shift-V Type clipboard text on the host
Ctrl-Alt-Shift-D Minimize the stream window
Ctrl-Alt-Shift-C Toggle local cursor display in remote desktop mouse mode (remote cursor will always show up due to GameStream limitations)
Ctrl-Alt-Shift-L Toggle locking the mouse pointer to the video area (requires “Optimize mouse for remote desktop instead of games” checkbox enabled)

MacOS

Shortcut Description
Command+Option+Shift+Q Quits the streaming session
Command+Option+Shift+Z Toggle mouse and keyboard capture
Command+Option+Shift+X Toggle full-screen/windowed mode
Command+Option+Shift+S Display performance statistics

Alt key on a Mac is the Option (⌥) key.

The Command (⌘) key is used in place of the Windows key (⊞) on macOS.

If you’re having trouble with the shortcuts, ensure “Capture system keyboard shortcuts” is enabled in Moonlight’s settings