A fork of the Materia GTK theme.

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

docs: Adjust INSTALL_GDM_THEME.md

roundabout,
created on Monday, 22 March 2021, 12:37:57 (1616416677), received on Sunday, 11 May 2025, 13:23:01 (1746969781)
Author identity: nana-4 <hnmaigo@gmail.com>

0fe03a7cab4cc0d7c0d5ec4373066268fc44179a

INSTALL_GDM_THEME.md

@@ -7,7 +7,7 @@ To change the GDM (lock/login screen) theme, you need to replace the system's _d

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            - If the replacement fails, your desktop environment will not work properly. 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 and restored to the original theme, you will need to install this again.
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          > Note: On Arch Linux, you can automatically reinstall the GDM theme by creating a [hook](https://wiki.archlinux.org/index.php/Pacman#Hooks) file. For example, if you use Materia-compact as your GDM theme, put [this file](https://gist.github.com/looselyrigorous/a1aa931ce48627cc39daccc9253b30c7) in the `/usr/share/libalpm/hooks/` directory.
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          > Tip: On Arch Linux, you can automatically reinstall the GDM theme by creating a [hook](https://wiki.archlinux.org/index.php/Pacman#Hooks) file. For example, if you use Materia-compact as your GDM theme, put [this file](https://gist.github.com/looselyrigorous/a1aa931ce48627cc39daccc9253b30c7) in the `/usr/share/libalpm/hooks/` directory.
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            ## Requirements
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        

@@ -29,9 +29,9 @@ To change the GDM (lock/login screen) theme, you need to replace the system's _d

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            3. Replace the default theme file:
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              ```sh
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          GTK_THEME=$(gsettings get org.gnome.desktop.interface gtk-theme | sed "s/'//g")
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          cd /usr/share/themes/${GTK_THEME}/gnome-shell
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          sudo glib-compile-resources --target=/usr/share/gnome-shell/gnome-shell-theme.gresource gnome-shell-theme.gresource.xml
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          THEME_NAME="$(gsettings get org.gnome.desktop.interface gtk-theme | sed "s/'//g")"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          THEME_SRC_DIR="/usr/share/themes/$THEME_NAME/gnome-shell"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          sudo glib-compile-resources --target="/usr/share/gnome-shell/gnome-shell-theme.gresource" --sourcedir="$THEME_SRC_DIR" "$THEME_SRC_DIR/gnome-shell-theme.gresource.xml"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              ```
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            4. Reload the theme. If you are running GNOME Shell, press <kbd>Alt</kbd> + <kbd>F2</kbd> then type `rt`.