Skip to main content

Set the wallpaper for KDE

Project description

kde-wallpaper-cli

@readwithai - X - blog - machine-aided reading - 📖⚡️🖋️

Set the wallpaper for KDE from the command-line.

Attribution

The approach used here was documented on stackoverflow and this blogpost by Yaltirakli, which uses the same motivation.

Motivation

It's so silly. It should be easy to set the wallpaper from the command-line. But in KDE there is no easy way to do this, instead you have to send a dbus message which runs a script which configures the desktop. I'm not going to remember this, and so I'd need to put this in a script. Also, I like to have as little of "my own" configuration as possible and instead push this into open source command-line tools so moving machines is useful. This creates this script, but makes it easy to install this on a new machine and shares this with the world.

The "accepted" way of doing this seems to be send a script to KDE's plasmashell to update the wallpaper for each desktop.

Alternatives and prior work

I tried superpaper but this did not work with pipx without manual tweaks.

Tools like feh can set wallpaper for other window managers.

Related tools

You might like to try my program mapillary-nearby which will find streetview style images around a given area.

About me

I am @readwithai. I create tools for reading, research and agency sometimes using the markdown editor Obsidian.

I also create a stream of tools that are related to carrying out my work.

I write about lots of things - including tools like this - on X. My blog is more about reading and research and agency.

@readwithai logo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kde-wallpaper-cli-1.1.0.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file kde-wallpaper-cli-1.1.0.tar.gz.

File metadata

  • Download URL: kde-wallpaper-cli-1.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for kde-wallpaper-cli-1.1.0.tar.gz
Algorithm Hash digest
SHA256 f9309ed77288bfd72b7060987f7ec782ee97a37da768cbdce163e5bbccd818bc
MD5 9d333d22c5ef227aead1ecdb316a1533
BLAKE2b-256 72318c4a2b91da7f431420aa5659aea33144d96f3914af9b60c9f7d8a08bb8c4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page