HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

xwinwrap — Run a player or a program as desktop background. More information: <https://github.com/r00tdaemon/xw

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandrunxwinwrapclibackgroundprogramplayerdesktop
linux

Problem

How to use the xwinwrap command: Run a player or a program as desktop background. More information: <https://github.com/r00tdaemon/xwinwrap>.

Solution

xwinwrap — Run a player or a program as desktop background. More information: <https://github.com/r00tdaemon/xwinwrap>.

Run a video using mpv:
xwinwrap -b -nf -ov -- {{mpv}} --wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}


Run a video in fullscreen using mpv:
xwinwrap -b -nf -fs -ov -- {{mpv}} --wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}


Run a video using mpv with 80% opacity:
xwinwrap -b -nf -ov -o 0.8 --- {{mpv}} --wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}


Run a video using mpv in a second monitor 1600x900 with 1920 offset on X-axis:
xwinwrap -g 1600x900+1920 -b -nf -ov -- {{mpv}} --wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mkv}}

Code Snippets

Run a video using mpv

xwinwrap -b -nf -ov -- {{mpv}} --wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}

Run a video in fullscreen using mpv

xwinwrap -b -nf -fs -ov -- {{mpv}} --wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}

Run a video using mpv with 80% opacity

xwinwrap -b -nf -ov -o 0.8 --- {{mpv}} --wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}

Run a video using mpv in a second monitor 1600x900 with 1920 offset on X-axis

xwinwrap -g 1600x900+1920 -b -nf -ov -- {{mpv}} --wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mkv}}

Context

tldr-pages: linux/xwinwrap

Revisions (0)

No revisions yet.