Chromium 89+ needs special oauth2 help, also moving ozone flags
Ref: - https://wiki.archlinux.org/index.php/Chromium - https://gist.github.com/foutrelis/14e339596b89813aa9c37fd1b4e5d9d5
This commit is contained in:
		
							parent
							
								
									f2d7063434
								
							
						
					
					
						commit
						5638821740
					
				
							
								
								
									
										9
									
								
								.config/chromium-flags.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								.config/chromium-flags.conf
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					# Enable Ozone and use the Wayland platform
 | 
				
			||||||
 | 
					--enable-features=UseOzonePlatform
 | 
				
			||||||
 | 
					--ozone-platform=wayland
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Use publicly-available oauth tokens
 | 
				
			||||||
 | 
					# Ref: https://wiki.archlinux.org/index.php/Chromium
 | 
				
			||||||
 | 
					# Ref: https://gist.github.com/foutrelis/14e339596b89813aa9c37fd1b4e5d9d5
 | 
				
			||||||
 | 
					--oauth2-client-id=77185425430.apps.googleusercontent.com
 | 
				
			||||||
 | 
					--oauth2-client-secret=OTJgUOQcT7lO7GsGZq2G4IlT
 | 
				
			||||||
@ -1,5 +0,0 @@
 | 
				
			|||||||
#!/usr/bin/env bash
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
static_args=('--enable-features=UseOzonePlatform' '--ozone-platform=wayland')
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
chromium "${static_args[@]}" "$@"
 | 
					 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user