This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Video wallpaper/background

Tags: None
(comma "," separated)
sethm
Registered Member
Posts
2
Karma
0

Video wallpaper/background

Sat Feb 10, 2018 4:38 am
So just joined the community. Howdy.. I installed KDE Neon a few days ago and fell victim to the "Discover" bug. So I uninstalled it and moved on.. I like synaptic anyway. HEY how about some good news! Video backgrounds... So I figured out how to have a video background AND still have access to the desktop widgets. Are you smiling yet?? Check it out. I'm no super Linux guru or coder but I am resourceful. Here ya go. You'll need a program called xwinwrap which can be made from here: https://github.com/ujjwal96/xwinwrap and another called mplayer which can be easily found. Enough blabbing, here I use Zenity to get the file then pass it to the script. Don't forget to set your background to plain black color and enjoy! :)

Code: Select all
 
  if
zenity --question --title="Video Wallpaper" --text="Click 'Yes' button and choose the movie from the file selection."
        then
              xwinwrap -ni -o 0.6 -fs -s -sp -st -b -nf -un -- mplayer -fixed-vo -noconsolecontrols -nosound -fs -loop 0 -wid WID "`zenity --filename=/home/dad/Wallpapers/ --file-selection --file-filter=""*.mp4" "*.avi""`"
   fi
User avatar
Rog131
Registered Member
Posts
828
Karma
10

Re: Video wallpaper/background

Sat Feb 10, 2018 3:19 pm
There is allways room for scripts - earlier KDE Forums: Video desktop background - viewtopic.php?f=83&p=394622


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]