Thanks to visit codestin.com
Credit goes to Github.com

Skip to content
View Foldingolid's full-sized avatar

Block or report Foldingolid

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Foldingolid/README.md

GDM Login screen background changer

Script for GNOME 3.16+ with GNOME Shell themes packed inside /usr/share/gnome-shell/gnome-shell-theme.gresource.

This script allows change background on login screen.

Tested on:

Fedora 28, Fedora 29, Fedora 30 and Fedora Silverblue

But should work on any distro with /usr/share/gnome-shell/gnome-shell-theme.gresource file.

Usage

# set-gdm-wallpaper.sh /path/to/image.png

Requires gresource binary (glib2 or glib2-devel library):
Fedora: 
# dnf install glib2-devel

Fedora Silverblue

Fedora Silverblue have immutable file system. GDM wallpaper can be changed only by install/reinstall rpm.

# rpm-ostree install set-gdm-wallpaper-1-2.noarch.rpm

This will change GDM wallpaper to wallpaper-gnome.png inside .rpm file.
If you want change this image, you need to Build new .rpm file.

Install

$ dnf copr enable zirix/gdm-wallpaper 
$ dnf install gdm-wallpaper
$ set-gdm-wallpaper /path/to/image.png

OR

# dnf install set-gdm-wallpaper-1-2.noarch.rpm

Fedora Silverblue

# rpm-ostree install set-gdm-wallpaper-1-2.noarch.rpm

Recovering

If GDM load failed, then press ALT+F6 and:

# set-gdm-wallpaper.sh --uninstall
OR
# cp /usr/share/gnome-shell/gnome-shell-theme.gresource.backup /usr/share/gnome-shell/gnome-shell-theme.gresource

OR delete RPM:
# dnf remove set-gdm-wallpaper
OR 
# rpm-ostree uninstall set-gdm-wallpaper

Build RPM from source

$ cd /path/to/source
$ fedpkg --release f29 local
$ fedpkg --release f29 lint

Requires: fedora-packager and fedora-review
# dnf install fedora-packager fedora-review
OR
# rpm-ostree install fedora-packager fedora-review
See: https://docs.fedoraproject.org/en-US/quick-docs/creating-rpm-packages/index.html

Credit and Licences

wallpaper-gnome.png: https://www.opendesktop.org/s/Gnome/p/1071929/

Popular repositories Loading

  1. Foldingolid Foldingolid Public

    Foldingolid

    Shell

  2. fishstickex fishstickex Public

    TypeScript

  3. toejune toejune Public

    toe-june broke. this is the new one.

  4. csghub csghub Public

    Forked from OpenCSGs/csghub

    CSGHub is a brand-new open-source platform for managing LLMs, developed by the OpenCSG team. It offers both open-source and on-premise/SaaS solutions, with features comparable to Hugging Face. Gain…

    Vue

  5. astron-agent astron-agent Public

    Forked from iflytek/astron-agent

    Enterprise-grade, commercial-friendly agentic workflow platform for building next-generation SuperAgents.

    Java

  6. NLuaf NLuaf Public

    Forked from EagleOrangeRome/NLuaf

    C# Native bindings of Lua 5.4 (compatible with iOS/Mac/Android/.NET/.NET Core/UWP)

    C++