-
Notifications
You must be signed in to change notification settings - Fork 257
GDM Theme
nana-4 edited this page Nov 20, 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.
- 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.
- Select a GTK+ theme to decide which variant to install.
- 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.
- Restart GNOME Shell theme. (If you are running GNOME Shell, press Alt + F2 then type
rt
.)
- Restore to the original theme from the backup.
sudo mv -v /usr/share/gnome-shell/gnome-shell-theme.gresource{~,}
- Restart GNOME Shell theme. (If you are running GNOME Shell, press Alt + F2 then type
rt
.)