Jump to content

Design/Wallpapers/Change the default wallpaper: Difference between revisions

From KDE Community Wiki
Ngraham (talk | contribs)
No edit summary
Ngraham (talk | contribs)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
# Copy the old wallpaper from the breeze repo to the plasma-workspace-wallpapers repo. Don't forget to copy the whole Next folder, rename it appropriately, and also update the CMakeLists.txt file!
# Get VDG agreement on the wallpaper.
# Generate multiple sizes/aspect ratios for new wallpaper with <tt>[breeze repo]/wallpapers/generate_wallpaper_sizes.py</tt>.
# Have git checkouts of the [https://invent.kde.org/plasma/breeze breeze], [https://invent.kde.org/plasma/plasma-workspace plasma-workspace], [https://invent.kde.org/plasma/plasma-desktop plasma-desktop], and [https://invent.kde.org/plasma/plasma-workspace-wallpapers plasma-workspace-wallpapers] git repos.
## If the Mobile versions look ugly, manually make better-looking versions by cropping, rotating, etc.
# <code>git clone https://invent.kde.org/niccolove/kde-wallpaper-updater</code> and enter the <code>kde-wallpaper-updater</code> folder.
# Replace existing wallpaper images in <tt>[breeze repo]/wallpapers/Next/contents</tt> with new one. Don't forget <tt>screenshot.png</tt>!
# Either delete the file named <code>.magic.config</code>, or edit it to have the correct repo paths on your system.
# Edit <tt>[breeze repo]/wallpapers/Next/metadata.desktop</tt> to reflect the new name, and include the name and email address for the author
# Install the <code>gitpython</code> python module using either your distro's package manager, or else <code>python3 -m pip install gitpython</code> if you prefer to install python modules in your user folder rather than systemwide.
# Compile breeze
# Run <code>python3 updater.py</code> and follow the instructions.
# Create a new user account named "Konqi", log into it, switch the language to English
# In each of breeze, plasma-workspace, plasma-desktop, and plasma-workspace-wallpapers repos, push your branch to origin and open a merge request. Merge once the pipeline is green!
# Run <tt>kscreenlocker_greet --testing<tt> and take a screenshot with no window decorations
# Open Dolphin, the "About KDE" window, and Kickoff. Take a full-screen screenshot
# Switch the global theme to Breeze Dark to dark and do it again
# Switch the global theme to Breeze Twilight and do it again
# Log back into your original user account and copy the screenshots into an accessible place.
# Set your login screen to display the new wallpaper
# Run <tt>sddm-greeter --test-mode --theme ~/kde/usr/share/sddm/themes/breeze/</tt> and take a screenshot without window decorations
# Replace the Breeze, Breeze Dark, and Breeze Twilight Global Theme preview images in plasma-workspace with the new ones you took in the Konqi account
# Replace the lockscreen preview image in plasma-workspace with the new one you took in the Konqi account
# Replace the SDDM preview image in plasma-workspace with the new one you just took
# <tt>git push</tt> all your changes
 
This is a very fiddly, time-consuming, and complicated process. https://phabricator.kde.org/T13629 tracks improving it.

Latest revision as of 16:41, 19 December 2024

  1. Get VDG agreement on the wallpaper.
  2. Have git checkouts of the breeze, plasma-workspace, plasma-desktop, and plasma-workspace-wallpapers git repos.
  3. git clone https://invent.kde.org/niccolove/kde-wallpaper-updater and enter the kde-wallpaper-updater folder.
  4. Either delete the file named .magic.config, or edit it to have the correct repo paths on your system.
  5. Install the gitpython python module using either your distro's package manager, or else python3 -m pip install gitpython if you prefer to install python modules in your user folder rather than systemwide.
  6. Run python3 updater.py and follow the instructions.
  7. In each of breeze, plasma-workspace, plasma-desktop, and plasma-workspace-wallpapers repos, push your branch to origin and open a merge request. Merge once the pipeline is green!