/wallpaper-engine-kde-plugin

A simple kde wallpaper plugin integrating wallpaper engine

Primary LanguageC++GNU General Public License v2.0GPL-2.0

Wallpaper Engine for Kde

A wallpaper plugin integrating wallpaper engine into kde wallpaper setting.
It's simple and small.

Known issue

  • Some case scene wallpaper may crash your kde.
    Remove WallpaperFilePath line in ~/.config/plasma-org.kde.plasma.desktop-appletsrc and restart kde to fix.

Note

  • Support scene(2d),video,web types
  • The plugin has a lib need compile which is needed for mpv,scene support. The lib will be autodetect after install

You need to choose your steam library directory. Like ~/.local/share/Steam

Install kde plugin

git clone https://github.com/catsout/wallpaper-engine-kde-plugin.git
plasmapkg2 -i wallpaper-engine-kde-plugin/plugin

# Update
plasmapkg2 -u wallpaper-engine-kde-plugin/plugin

# Uninstall
plasmapkg2 -r wallpaper-engine-kde-plugin/plugin

Need restart plasma after update
Try: killall plasmashell && kstart5 plasmashell

Build and install plugin lib

cd wallpaper-engine-kde-plugin
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
sudo make install

How to use:

  1. Use steam+proton or wine+steam
  2. Buy and install wallpaper engine
  3. Subscribe some wallpapers
  4. Select steam library dir(like .local/share/Steam) in plugin
  5. Enjoy

Scene support status

Scene wallpaper is supportted by direct opengl(3.2).
It's almost usable.

performance

I'm not vary familiar with graphic programming, so don't expect high performance.

  • Wallpaper with simple effects just like play a video
  • Some 4k wallpapers with complex effects need GTX1050 on 30fps
  • 80Mb+ wallpaper may require 1GB+ VRAM at now

not work

  • Particle System
  • Scene script
  • Text layer
  • Audio play
  • Camera shake and zoom
  • Global bloom effect
  • Perspective renderable
  • ColorBlendMode

Web support status

Basic web api supportted, the audio api is not send data at now.
But WebEngineView in plasmashell can't init opengl.
Some wallpaper using webgl may not work, and performance may be bad.

Better performance for intel card

May not greatly improve.

hwdecode

Qt using GStreamer for video backend.
You need make your system gstreamer have vaapi plugin installed.
on debian using apt install gstreamer1.0-vaapi.

use mpv

need compile c++ plugin.

Credits

Preview