Giter Club home page Giter Club logo

gpu-video-wallpaper's Introduction

video-wallpaper

Run a video as animated wallpaper on your Ubuntu/Debian-based Linux desktop with dual/multiple monitor support.

You can either run the application through its GUI or via the command line.

CLI usage: video-wallpaper.sh [--start] [--stop] [--startup true|false] "video_path.mp4"

--start Start playback of video wallpaper. 

--stop  Stop active playback.

--startup  Start/disable playback of video file on system startup."

Installation

git clone https://github.com/ghostlexly/gpu-video-wallpaper.git
cd gpu-video*
./install.sh

These commands will download the will set up all the required dependencies, install the necessary files to your system and optionally create an app menu entry. Now you can either use the CLI or open the 'Video Wallpaper' app from your application menu.

Dependencies

All dependencies will be installed when running install.sh.

  • python3-pyqt5
  • xrandr
  • pcregrep
  • mpv
  • xwinwrap

Uninstall

Run install.sh --uninstall to remove all files associated with video-wallpaper.

Changelog

2021/06/05

  • Changed name to "video-wallpaper"
  • Added an uninstall functionality
  • Bugfixes to installer

2021/06/03:

  • Added GUI front-end that handles video file selection and shell parameters and runs everything through to the shell script.
  • Created installer to handle dependency checking and menu entry creation.
  • Removed the xwinwrap binary from the files and added it as a dependency. The installer will download it from this repository as part of the installation process.
  • Added configuration file that stores last used video file and process ID of currently active video wallpaper. That way, stopping video playback will only kill the mpv instance used by the video wallpaper, not all other instances of mpv (including ones that are possibly used for other types of video playback that the user does not want to close).
  • Fixed an undesired behaviour where it was possible to start multiple video wallpapers after one another, leading to increased CPU load.
  • General clean-up inside video-wallpaper.sh

Known errors:

  • When sourcing settings.conf, video-wallpaper.sh will throw an error because it stumbles over the "[video-wallpaper settings]" section. This section, however, is needed by the python script. Since the shell script does not crash, this error message is tolerated for the moment until I get around to find a more elegant way than just sourcing it 'settings.conf'.

gpu-video-wallpaper's People

Contributors

ghostlexly avatar nayamamarshe avatar swallowyourdreams avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.