MOONLIGHT(1)
๐ MOONLIGHT(1) โ like, the Moonlight Embedded manual, bestie ๐
Okay so real talk, this is the manual page for Moonlight Embedded, from the Moonlight Embedded Manual โ it's an open source implementation of NVIDIA's GameStream, and honestly? Iconic. Let's get into it ๐
โจ SYNOPSIS โจ
Here's the vibe check on how you actually call this thing:
Usage: moonlight <action> [options] [host] [-port <number>]
moonlight <configfile>
That's it, that's the whole shape of it. Slay.
๐ ACTIONS ๐
Every good girlboss needs an action, and these are the ones Moonlight's serving:
pairโ pairs this computer with the host, so they're officially official ๐unpairโ breaks up with the host, no contact, blocking the number ๐ญstreamโ beams the game from the host over to this computer, the whole point, the main character behaviorlistโ shows you every game and application chilling on the host, so you know what's availablequitโ kills the game or application that's currently running on the host, bye bestie ๐mapโ makes a mapping for the specifiedINPUTdevice (iykyk)helpโ shows help for all available commands, your little safety net ๐ซถ
โจ OPTIONS โจ
Grab a snack, there's a lot of them, but every single one matters, no skips:
-config[CONFIG] โ loads the configuration file CONFIG. Heads up bestie: all options you specify before-configget overwritten by whatever's in CONFIG. Also you can use this option multiple times, it stacks ๐-save[CONFIG] โ saves the config from the command line options plus every loaded configuration file into CONFIG. Not me archiving everything, but make it cute ๐-720โ streams at1280x720. This is the default, so if you do nothing, this is your life โจ-1080โ streams at1920x1080, a lil more highkey-4kโ streams at3840x2160, absolute luxury, main character energy ๐-width[WIDTH] โ sets the horizontal resolution to WIDTH-height[HEIGHT] โ sets the vertical resolution to HEIGHT-fps[FPS] โ sets frames per second to FPS. Defaults to60 FPSโญ-bitrate[BITRATE] โ sets the bitrate to BITRATE Kbps. Default depends on your resolution + FPS combo, so listen: for1080pat60 FPSand higher, it's20 Mbps. For1080por60 FPSand higher, it's10 Mbps. For literally everything else,5 Mbpsis the default ๐ฆ-packetsize[PACKETSIZE] โ sets the network packetsize to PACKETSIZE bytes. > Bestie, the packetsize should be smaller than the MTU of the network, and it must be a multiple of 16. No cap. Default is1392on LAN and1024on WAN ๐ธ-codec[CODEC] โ picks your codec. Options are'auto','h264','h265','hevc', or'av1'. Real talk though: not all video decoders support H.265/HEVC or AV1, and it'll still use H.264 if the server doesn't support HEVC or AV1. It tries its best ๐-remote[yes/no/auto] โ turns on optimizations for LAN or WAN streaming-app[APP] โ changes the requested app to execute to APP. By default, Steam is what gets started ๐ฎ-nosopsโ stops GFE from messing with the graphical settings of the game or application you requested. Let it be, GFE ๐-localaudioโ plays the audio on the host computer instead of on this device-surround[5.1/7.1] โ enables surround sound instead of stereo, immersive girlie ๐-keydir[DIRECTORY] โ changes where encryption keys get saved to DIRECTORY. By default they live in$XDG_CACHE_DIR/moonlightor~/.cache/moonlight๐-mapping[MAPPING] โ uses MAPPING as the mapping file for all inputs. It should have the same format asgamecontrollerdb.txtfor SDL2. By default, thegamecontrollerdb.txtthat Moonlight Embedded provides is used ๐น๏ธ-platform[PLATFORM] โ selects the platform for audio and video output and input.PLATFORMcan bepi,imx,aml,x11,x11_vdpau,sdlorfake-nounsupportedโ don't stream if the resolution isn't officially supported by the server. Petty and valid ๐-quitappafterโ sends a quit app request to the remote after quitting the session-viewonlyโ disables all input processing (view-only mode), you're just here to watch ๐-nomouseemulationโ disables gamepad mouse emulation (the thing that activates when you long press the Start button)-verboseโ enables verbose output, she's chatty now-debugโ enables verbose and debug output, maximum yapping ๐ฅ-input[INPUT] โ enables the INPUT device. By default all available input devices are enabled. Only evdev devices/dev/input/event*are supported, so don't come at her with anything else-audio[DEVICE] โ usesDEVICEas the audio output device. Default is'sysdefault'for ALSA and'hdmi'for OMX on the Raspberry Pi ๐-windowedโ displays the stream in a window instead of fullscreen. Only available when X11 or SDL platform is used, so check your platform first bestie
๐ CONFIG FILE ๐
Moonlight Embedded will load a configuration file from here:
$XDG_CONFIG_HOME/moonligt/moonlight.conf (fallback to ~/.config/moonligt/moonlight.conf)
Yes, that's spelled moonligt in the paths โ I'm just the messenger, copy it exactly fr fr ๐
If there's no user-specified configuration file available, the configuration gets loaded from:
/etc/moonlight/moonlight.conf
And a documented example configuration file can be found at /etc/moonlight/moonlight.conf too. Convenient, honestly ๐ซถ
๐ COMMENTS ๐
Wanna dip out of the streaming session? Use Ctrl+Alt+Shift+Q or Play+Back+LeftShoulder+RightShoulder. Two ways to say goodbye, periodt โ๏ธ
๐ AUTHOR ๐
Iwan Timmer <irtimmer@gmail.com> โ the icon behind all this ๐
and that's the whole manual, bestie โจ moonlight 2.5.0, dated 1980-01-01, MOONLIGHT(1) โ go forth and stream ๐ฆ
๐ฆ where this page comes from
- nixpkgs unstable: moonlight-embedded 2.7.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms