1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-06 19:12:30 +01:00
ScreenPlay/ScreenPlayWallpaper/kde/ScreenPlay
Elias Steurer e6272e0db5 Refactor KDE plugin to work at any state...
... ScreenPlay no longer needs to run before
the wallpaper. This paves the way to start
the wallpaper from QSettings even when
the main application is not running.

Add quit command and action
2021-11-08 19:49:51 +01:00
..
contents Refactor KDE plugin to work at any state... 2021-11-08 19:49:51 +01:00
metadata.desktop Add basic kde support 2020-11-07 17:44:13 +01:00
README.md Add basic kde wallpaper support via Websockets 2021-09-06 19:18:56 +02:00

ScreenPlay Wallpaper for KDE Plasma Desktop

One has to install it via the command below. Simply putting it into:

  • ~/.local/share/plasma/wallpapers/ Will not work because KDE uses the kpluginindex.json (that is actually a bz2 file. Do not ask why...) to load all available wallpaper.

Installation

sudo apt install qml-module-qt-websockets qtwebengine5-*

plasmapkg2 --install ScreenPlay

Application structure

Because Wallpaper and Widgets are already a different application we can extend the logic for KDE. For this we create a local websocket instance to communicate with our main ScreenPlay app.

Development

  1. Make changes
  2. plasmapkg2 --upgrade ScreenPlay
  3. Open Desktop Settings
    • Select Wallpaper type Image
  4. Close Desktop Settings Window
  5. Open Desktop Settings
    • Select Wallpaper type ScreenPlay
plasmapkg2 --upgrade ScreenPlay ; kquitapp5 plasmashell;  kstart5 plasmashell