Skip to content
nana-4 edited this page Oct 5, 2017 · 11 revisions

You can change the GDM (lock/login screen) theme by replacing the default GNOME Shell theme.
However, if it fails, the desktop environment may not operate correctly. So please be careful if doing this.

⚠️ Cautions:

  • When applying this, other third-party GNOME Shell themes would look broken until you restore to the original theme.
  • If GNOME Shell has been updated, it will be restored to the original theme, so you will need to install this again.

Installation

  1. Select a GTK+ theme to decide which variant to install.
  2. Run the following commands to back up and replace the default theme file.
GTK_THEME=$(gsettings get org.gnome.desktop.interface gtk-theme | sed "s/'//g")
sudo cp -v --backup /usr/share{/themes/$GTK_THEME,}/gnome-shell/gnome-shell-theme.gresource

Note: If you don't want to overwrite the backup on the second and subsequent runs, delete the --backup option.

  1. Restart GNOME Shell. (If you are running GNOME on Xorg, press Alt + F2 then type r.)

Uninstallation

  1. Restore to the original theme from the backup.
sudo mv -v /usr/share/gnome-shell/gnome-shell-theme.gresource{~,}
  1. Restart GNOME Shell. (If you are running GNOME on Xorg, press Alt + F2 then type r.)
Clone this wiki locally