$ luna-atlas --cat display

Display / Panel luna-send commands.

The panel and display output: picture output, panel controls and screen settings at the hardware level. 212 methods in 13 services.

212methods
13services
65documented
171public
8flagged dangerous

open Display / Panel in the catalog ↗

Services

servicemethodswhat it does
com.webos.service.panelcontroller58Controls and monitors the display panel (OLED/LED): panel/TCON firmware and chip versions, OLED cell info and error logs, usage-time…
com.webos.service.multiviewcontroller36Multiview controller: creates and arranges app views for split/multi-view, changes mode, position and size of sub-apps, and mixes per-view…
com.webos.service.videooutput31Video output service: connects video sources to the display, sets display window, resolution, scaling, and compositing, and reports output…
com.webos.service.rollingscreen24Rollable-screen controller (rollable OLED): drives motor roll position and curve/shade/view states, reports motor/MICOM status, and…
com.webos.service.oledepl23OLED panel-protection service (extended panel life): runs the pixel refresher, reports panel temperature and refresher status, and manages…
com.webos.service.avoutput17Stateless audio/video output service over the media server: connects/disconnects audio and video sinks, controls mute and volume, and sets…
com.webos.surfacemanager7Surface manager (window compositor): reports foreground app and window/surface info, manages surface lifecycle and multiview layout,…
com.webos.service.tvpower6TV power daemon: powers the TV on/off, reboots (including MICOM), reports power state and power-on reason/time, and registers…
com.webos.service.tv.display5TV display service: reports 3D and light-sensor status, toggles 3D mode, and clears panel noise.
com.webos.service.tv.power2TV power service: reboots, turns the screen on and off, cancels a scheduled power-off, and enables Wake-on-LAN.
com.webos.service.capture1Screen/video capture service: creates capture handles, configures output, clip regions, and properties, and executes one-shot or…
com.webos.service.screenrotation1Screen-rotation service: reports and sets rotation status and configures the rotation window/orbiter, likely for portrait/signage displays.
com.webos.service.tv.capture1TV screen-capture service: creates capture handles, executes captures (including one-shot), and configures clip regions, options, output…

Documented methods to start with

Public and SSAP methods from LG's documentation, none flagged dangerous. Each opens in the catalog with its full parameter table. Run them on a rooted TV or in Developer Mode.

audio/connect publiccom.webos.service.avoutput

Connects audio source to audio sink. Note : In case it's already connected, will disconnect from previous sink automatically.

params: source, sourcePort, sink, outputMode, audioType

$ luna-send -n 1 -f luna://com.webos.service.avoutput/audio/connect '{}'
audio/disconnect publiccom.webos.service.avoutput

Disconnect from audio sink. No change is done if not connected.

params: source, sourcePort, sink

$ luna-send -n 1 -f luna://com.webos.service.avoutput/audio/disconnect '{}'
audio/getStatus publiccom.webos.service.avoutput

Lists all video and audio sinks and their status.

params: subscribe

$ luna-send -n 1 -f luna://com.webos.service.avoutput/audio/getStatus '{}'
audio/mute publiccom.webos.service.avoutput

Stop/start outputting data to audio sink. This allows seamless disconnect and connect and avoids outputting invalid data while reconnection is in progress.

params: Source, sourcePort, sink, mute

$ luna-send -n 1 -f luna://com.webos.service.avoutput/audio/mute '{}'
audio/volume/down publiccom.webos.service.avoutput

Decreases the volume.

params: tvSoundOutput

$ luna-send -n 1 -f luna://com.webos.service.avoutput/audio/volume/down '{}'
audio/volume/set publiccom.webos.service.avoutput

Set volume to a numerical value.

params: volume, tvSoundOutput

$ luna-send -n 1 -f luna://com.webos.service.avoutput/audio/volume/set '{}'
audio/volume/up publiccom.webos.service.avoutput

Increases the volume.

params: tvSoundOutput

$ luna-send -n 1 -f luna://com.webos.service.avoutput/audio/volume/up '{}'
video/blankVideo publiccom.webos.service.avoutput

Stop/start data output to video sink. This allows seamless disconnect and connect and avoids invalid data output while reconnection is in progress.

params: sink, blank

$ luna-send -n 1 -f luna://com.webos.service.avoutput/video/blankVideo '{}'
video/connect publiccom.webos.service.avoutput

Connects a video source to a video sink

params: source, sourcePort, sink

$ luna-send -n 1 -f luna://com.webos.service.avoutput/video/connect '{}'
video/disconnect publiccom.webos.service.avoutput

Disconnects video from sink.

params: sink

$ luna-send -n 1 -f luna://com.webos.service.avoutput/video/disconnect '{}'
video/display/getOutputCapabilities publiccom.webos.service.avoutput

Helper method to query the set video limits

$ luna-send -n 1 -f luna://com.webos.service.avoutput/video/display/getOutputCapabilities '{}'
video/display/setCompositing publiccom.webos.service.avoutput

Set compositing parameters for the video sinks. This maps directly to adapter call and changes the compositing parameters for both video outputs simultaneously.

params: mainOpacity, mainZorder, subOpacity, subZorder

$ luna-send -n 1 -f luna://com.webos.service.avoutput/video/display/setCompositing '{}'
video/display/setDisplayWindow publiccom.webos.service.avoutput

Setup video output location on the screen for specified sink. Note : Video is actually placed only if setVideoMediaData has been called. Otherwise the values are stored and video is placed after subsequent…

params: sink, fullScreen, displayOutput, sourceInput

$ luna-send -n 1 -f luna://com.webos.service.avoutput/video/display/setDisplayWindow '{}'
video/getStatus publiccom.webos.service.avoutput

Lists all video sinks and their status.

params: subscribe

$ luna-send -n 1 -f luna://com.webos.service.avoutput/video/getStatus '{}'
video/setMediaData publiccom.webos.service.avoutput

Sets video media data needed for playback.

params: sink, contentType, frameRate, width, height, scanType, adaptive

$ luna-send -n 1 -f luna://com.webos.service.avoutput/video/setMediaData '{}'
executeOneShot ssapcom.webos.service.capture

Take a screenshot (SSAP alias: ssap://tv/executeOneShot)

params: method, format, width, height, path

$ luna-send -n 1 -f luna://com.webos.service.capture/executeOneShot '{}'
setScreenOnOff ssapcom.webos.service.panelcontroller

Toggle panel on/off (can behave differently from tvpower turnOn/OffScreen)

params: OnOff

$ luna-send -n 1 -f luna://com.webos.service.panelcontroller/setScreenOnOff '{}'
get3DStatus ssapcom.webos.service.tv.display

Get 3D status

$ luna-send -n 1 -f luna://com.webos.service.tv.display/get3DStatus '{}'
set3DOff ssapcom.webos.service.tv.display

Turn 3D mode off

$ luna-send -n 1 -f luna://com.webos.service.tv.display/set3DOff '{}'
set3DOn ssapcom.webos.service.tv.display

Turn 3D mode on

$ luna-send -n 1 -f luna://com.webos.service.tv.display/set3DOn '{}'
turnOffScreen ssapcom.webos.service.tv.power

Blank the panel (legacy, webOS 4.0 path)

params: standbyMode

$ luna-send -n 1 -f luna://com.webos.service.tv.power/turnOffScreen '{}'
turnOnScreen ssapcom.webos.service.tv.power

Unblank the panel (legacy, webOS 4.0 path)

params: standbyMode

$ luna-send -n 1 -f luna://com.webos.service.tv.power/turnOnScreen '{}'
power/turnOffScreen ssapcom.webos.service.tvpower

Blank the panel (screen off) while keeping the TV powered

params: standbyMode

$ luna-send -n 1 -f luna://com.webos.service.tvpower/power/turnOffScreen '{}'
power/turnOnScreen ssapcom.webos.service.tvpower

Unblank the panel

params: standbyMode

$ luna-send -n 1 -f luna://com.webos.service.tvpower/power/turnOnScreen '{}'
blankVideo publiccom.webos.service.videooutput

Registered in webOS OSE sysbus api.json (ACG group media); name only

$ luna-send -n 1 -f luna://com.webos.service.videooutput/blankVideo '{}'
connect publiccom.webos.service.videooutput

Connects a video source to a video sink

params: source, sourcePort, sink, context, appId

$ luna-send -n 1 -f luna://com.webos.service.videooutput/connect '{}'
disconnect publiccom.webos.service.videooutput

Disconnects video from sink.

params: sink, context

$ luna-send -n 1 -f luna://com.webos.service.videooutput/disconnect '{}'
display/getOutputCapabilities publiccom.webos.service.videooutput

Helper method to query the set video limits

$ luna-send -n 1 -f luna://com.webos.service.videooutput/display/getOutputCapabilities '{}'
display/getParam publiccom.webos.service.videooutput

Gets information of parameters for video sinks to render video frames

params: command, sink

$ luna-send -n 1 -f luna://com.webos.service.videooutput/display/getParam '{}'
display/setCompositing publiccom.webos.service.videooutput

Sets compositing parameters for the video sinks. This maps directly to adapter call and changes the compositing parameters for both video outputs simultaneously.

params: composeOrder

$ luna-send -n 1 -f luna://com.webos.service.videooutput/display/setCompositing '{}'
Before you run anything. Methods marked dangerous can change, reset or break things on the TV. Running one from here is exactly as safe as typing the same luna-send yourself. See dangerous.md.

Other categories