Video wallpaper

From awesome
Jump to: navigation, search

Using mplayer you can display a video as your wallpaper.

mplayer video.ogv -rootwin -vf scale=1280:800 -noconsolecontrols

Where your desktop is 1280x800. If you wish to crop video you can also use -vf scale=A:B,crop=W:H:X:Y... Check out the manual pages for mplayer!

This can be placed in your theme.lua

-- this is actually a command calling the program awsetbg
-- which you can call yourself from the commandline manually
theme.wallpaper_cmd = { "awsetbg /home/genjix/Pictures/wall/ghost-in-the-shell.jpg" }

Note: older mplayer versions might need -input nodefault-binds:conf=/dev/null instead of -noconsolecontrols.

On the default mplayer version for mplayer I couldn't get either way to disable interaction with the background, but newer mplayer versions work.

Personal tools