All Projects → glouw → Paperview

glouw / Paperview

Licence: mit
A high performance X11 animated wallpaper setter

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Paperview

komorebi
A beautiful and customizable wallpaper manager for Linux
Stars: ✭ 231 (-76.88%)
Mutual labels:  wallpaper, desktop, animated
animwall
Animated wallpapers for Linux
Stars: ✭ 28 (-97.2%)
Mutual labels:  wallpaper, desktop, animated
Komorebi
A beautiful and customizable wallpapers manager for Linux
Stars: ✭ 2,472 (+147.45%)
Mutual labels:  wallpaper, desktop, animated
gnuboy
latest version of original laguna source, with a handful fixes for modern compilers and systems
Stars: ✭ 70 (-92.99%)
Mutual labels:  sdl2, x11
Oh My Earth
Make a real time earth picture as your wallpaper
Stars: ✭ 168 (-83.18%)
Mutual labels:  wallpaper, desktop
Soldat
Soldat is a unique 2D (side-view) multiplayer action game
Stars: ✭ 1,199 (+20.02%)
Mutual labels:  sdl2, desktop
Wincustomdesktop
自绘桌面框架,用你的代码绘制桌面
Stars: ✭ 109 (-89.09%)
Mutual labels:  wallpaper, desktop
Wallop
Extensible, living/animated wallpaper engine built in C# using Silk.NET's OpenGL wrapper at its core.
Stars: ✭ 27 (-97.3%)
Mutual labels:  wallpaper, desktop
Fairtris
Clone of the official classic Tetris® game for the NES console, intended for Windows and Linux systems. It implements the original mechanics and includes many regional versions and several RNGs (all in one executable).
Stars: ✭ 30 (-97%)
Mutual labels:  sdl2, desktop
YdarWallpaper
opengl渲染的动态桌面壁纸
Stars: ✭ 65 (-93.49%)
Mutual labels:  wallpaper, desktop
ActiveDesktopPlus
A simple app that lets you pin windows to your desktop and use fullscreen programs and videos as interactive wallpapers.
Stars: ✭ 88 (-91.19%)
Mutual labels:  wallpaper, desktop
x11-cr
X11 bindings for Crystal language.
Stars: ✭ 32 (-96.8%)
Mutual labels:  x11, desktop
Dmskin Wallpaper Maker
Windows 桌面动态壁纸 视频壁纸
Stars: ✭ 151 (-84.88%)
Mutual labels:  wallpaper, desktop
Repaper
Desktop that changes based on weather & time
Stars: ✭ 148 (-85.19%)
Mutual labels:  wallpaper, desktop
Wallutils
🌆 Utilities for handling monitors, resolutions, wallpapers and timed wallpapers
Stars: ✭ 145 (-85.49%)
Mutual labels:  wallpaper, x11
Lively
Stars: ✭ 5,721 (+472.67%)
Mutual labels:  wallpaper, desktop
Redpaper
A tool to download and set desktop wallpapers from Reddit
Stars: ✭ 64 (-93.59%)
Mutual labels:  wallpaper, desktop
Himawari Bg
🌏 Set the latest image from Himawari 8 as your desktop background.
Stars: ✭ 81 (-91.89%)
Mutual labels:  wallpaper, desktop
tkbash
Build fancy GUIs via command line
Stars: ✭ 34 (-96.6%)
Mutual labels:  x11, desktop
Zvirtualdesktop
Windows 10 Virtual Desktop Hotkeys, System Tray Icon, Wallpapers, and Task View replacement
Stars: ✭ 322 (-67.77%)
Mutual labels:  wallpaper, desktop

PAPERVIEW

Paperview is a high performance animated desktop background setter for Linux and X11.

Video of the above screenshot: https://www.youtube.com/watch?v=6ZTiA885bWM

Build

make # NOTE: SDL2 is required

Single Monitor Use

./paperview FOLDER SPEED

A lower SPEED number will result in a faster frame rate. Only BMP files are supported.

Multi Monitor Use

Paperview supports any number of monitors with its dynamic parameter list:

./paperview FOLDER SPEED X Y W H FOLDER SPEED X Y W H # ... And so on

The values X, Y, W (width), H (height) are integers and represent a rectangle with pixel dimensions specifying where the wallpaper animation will be placed. For instance, with a 1366x768 monitor on the left and a 1920x1080 monitor on the right, the following command will animate the left monitor with a cat animation, and the right, a river animation:

./paperview \
    ~/scenes/cat   5    0   0 1366  768 \
    ~/scenes/river 5 1366   0 1928 1080

Running Background Daemon

Append an (&) to a paperview command to have it run as a background process. Eg:

./paperview FOLDER SPEED &

To stop this backgroud process, use killall:

killall paperview

Creating Custom Scenes

Creating a custom BMP scene folder from a GIF requires imagemagick. For example, to create a castle scene folder from a castle.gif:

mkdir castle
mv castle.gif castle
cd castle
convert -coalesce castle.gif out.bmp
rm castle.gif

Random Animated Wallpapers at Startup

Assuming a scenes folder containing a number of scene folders is present in the home folder, run the following snippet as a background process within .xinitrc before running startx, or simply execute it after X11 is running:

while true
do
    scene=$(ls -d ~/scenes/*/ | shuf -n 1)
    timeout 600 paperview $scene 5 # See Multi-Monitor Use above for multiple monitor support
done

Performance

Running on a Thinkpad X230 from 2012 at 1920x1080 and 60fps with an integrated Intel GPU:

intel_gpu_time ./paperview castle 5

user: 1.904135s, sys: 0.357277s, elapsed: 100.458648s, CPU: 2.3%, GPU: 11.7%

Known Issues

Picom, Compton (and possibly other compositors) seem to already write to the base root X11 window which may overwrite the render done by paperview.

Alternatives

Alternatively, if SDL2 is a problem, or if you are on Windows, two workarounds are currently available:

Pure X11 (without SDL2)

https://gist.github.com/AlecsFerra/ef1cc008990319f3b676eb2d8aa89903

Windows 10

https://github.com/TrAyZeN/sdl-wallpaper

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].