User:Flyingpig/sandbox

From ArchWiki
                                                                                              ▓▓████▓▓▒▒            
                                                                                          ░░████▓▓▓▓▓▓▓▓▓▓          
                                                                                          ██▓▓  ░░▓▓████▓▓▓▓        
                                                                                          ████░░░░  ▓▓██████▒▒      
                                                                                        ▓▓████▒▒░░    ▒▒██▓▓▓▓▓▓██▒▒
                                                                                        ██████▓▓░░░░░░  ▓▓██▒▒      
                                                                                        ████████░░░░░░▒▒▒▒          
                                                                                        ██████████▓▓░░              
                                                                                        ██████████                  
                                                                                        ██████████                  
                                                                                      ░░████████▓▓                  
                                                                                      ░░████████                    
                                                                                      ██████▓▓██                    
                                                                                      ██████████                    
                                                                                      ████▓▓████                    
                                                                                      ██████████                    
                                                                                      ██████████                    
                                                                                      ██████████                    
                                                                                    ░░████▓▓██▓▓                    
                                                                                    ▒▒████████▓▓                    
                                                                                    ██████████▓▓                    
                                                                                    ████████▓▓▓▓                    
                                                                                    ██████████▓▓                    
                                                                                  ░░██████████▓▓                    
                                                                                  ▓▓██████▓▓▒▒                      
                                                                                  ▓▓██▓▓▒▒░░░░                      
                                                                                  ████▓▓░░░░                        
                                                                                ▒▒▓▓▓▓▒▒░░░░░░                      
                                                                                ▓▓▓▓▒▒░░░░░░░░                      
                                                                  ░░░░▒▒▒▒░░░░▒▒▓▓▒▒▒▒░░░░░░░░                      
                                                          ░░▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░                      
                                                    ░░▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒░░▒▒▒▒░░░░░░░░░░                        
                                              ░░▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░                      
                                          ▒▒▓▓▒▒▒▒▒▒▓▓▒▒▓▓▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░▒▒▒▒░░░░░░░░░░                        
                                      ░░▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒▓▓▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░▒▒░░░░░░░░░░░░░░                  
                                  ░░▒▒▒▒▓▓▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒▒▓▓▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░▒▒░░░░░░░░░░░░░░                  
                            ░░▒▒▒▒▓▓▒▒▓▓▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒▓▓▒▒░░░░░░░░▒▒▒▒▒▒░░░░░░░░░░░░░░░░                  
                      ░░▒▒▒▒▓▓▒▒▒▒▓▓▓▓▓▓▒▒▒▒▓▓▒▒▒▒▓▓▒▒▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░▒▒░░░░░░░░░░░░░░░░                  
                  ░░▒▒▒▒▓▓▓▓▓▓▒▒▒▒▒▒▒▒▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░▒▒░░░░░░░░░░░░░░                    
              ░░▒▒▓▓▓▓▓▓▒▒░░▓▓▓▓▒▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒▒▓▓▒▒▒▒▓▓▒▒▓▓▒▒░░▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░                    
        ░░▓▓▓▓▓▓▒▒▓▓▒▒▓▓██▒▒▒▒▓▓▓▓▒▒▒▒▓▓▒▒▒▒▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░                      
    ████▓▓██▓▓▓▓▓▓▓▓██▓▓▓▓██▓▓▓▓▓▓▒▒▒▒▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒▒▒▒▓▓▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░                      
░░▒▒  ██░░░░████████▓▓██▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░                              
    ▒▒▓▓████▓▓▓▓██▒▒░░  ░░▒▒░░▒▒▒▒▒▒▒▒▒▒▒▒░░░░▒▒▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░                          
  ▓▓▓▓████▓▓▒▒▒▒░░░░░░░░░░░░░░      ░░░░░░      ▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░                            
                    ░░░░░░░░░░░░░░  ░░░░░░░░    ▒▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░  ░░                              
                            ░░░░░░░░░░░░░░░░░░░░  ▓▓██▓▓▓▓▓▓▓▓▒▒▒▒▒▒░░░░░░░░░░░░░░░░                                
                                  ░░░░░░░░░░░░    ░░▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒░░░░░░                                    
                                    ░░░░░░░░░░░░░░░░░░▒▒▓▓▓▓▓▓▓▓▓▓▒▒░░░░▒▒▒▒░░                                      
                                        ░░░░░░░░░░░░░░▒▒▒▒░░▒▒▒▒▒▒▒▒░░░░                                            
                                            ████░░          ▓▓▒▒░░░░                                                
                                            ▓▓████          ▒▒▒▒▒▒                                                  
                                            ▓▓████          ░░▓▓▒▒                                                  
                                            ██████          ▒▒▓▓░░                                                  
                                            ██████          ░░▓▓░░                                                  
                                          ░░████▓▓            ▓▓░░                                                  
                                          ▒▒██████            ▓▓░░                                                  
                                          ▓▓██████            ▓▓░░                                                  
                                          ▒▒▓▓▒▒▓▓            ▓▓░░                                                  
                                              ▒▒██            ▓▓▒▒                                                  
                                              ▒▒▓▓          ░░▒▒▒▒                                                  
                                              ▒▒░░            ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓                                      

See https://textart.sh/topic/goose for more goose text art.

top

The section link for this section is #top, but clicking it will navigate to the top of this page due to duplicate ids in the HTML output.

Proposal for "Running commands as the gdm user" section

Note: This is a draft meant for Talk:GDM. Also note the missing signature.

There are a number of gsettings(1) commands in the article that set the value of a key and must be run as the gdm user. Many commands here make use of both sudo(8) and dbus-launch(1) to do so, but as mentioned near the top of GDM#dconf configuration, you can also just log in as the gdm user with machinectl and run gsettings commands as you normally would.

To reduce duplication of sudo and dbus-launch in commands and to make the machinectl more known as an alternative, I propose creating a section called "Running commands as the gdm user" that mentions at least both of these methods. Thus, sections that contain commands with sudo and dbus-launch could instead be simplified by removing explicit mentions of them and linking to "Run commands as the gdm user" instead.

For example, this is the original text before the proposed change:

Then recompile the GDM database. Alternatively, execute the following to log in to the GDM user temporarily and change the logo:
$ sudo -u gdm dbus-launch gsettings set org.gnome.login-screen logo '/path/to/logo.png'

This is the same text after the proposed change:

Then recompile the GDM database. Alternatively, execute the following as the gdm user to change the logo:
$ gsettings set org.gnome.login-screen logo '/path/to/logo.png'

I'm thinking that the "Running commands as the gdm user" would essentially split the machinectl part of GDM#dconf configuration into its own subsection while also adding mentioning the sudo and dbus-launch commands used further down in the article. dbus-launch, as far as I know, is only necessary for setting the value of a key with gsettings, so a mention of this with a Template:Tip may be nice.

Alternatively, since the top of GDM#dconf configuration already mentions machinectl and could be modified to also mention sudo and dbus-launch at the top, just linking to this section after instead of creating a new subsection might also suffice. (There are also many instances of "recompile the GDM database" that could also be changed to links to GDM#dconf configuration, but I'm not sure if this is necessary since all mentions are this phrase are in subsections of GDM#dconf configuration.)

I'll move forward with one of the approaches above in about a week if there are no objections or further suggestions.