mirror of
				https://gitea.blesmrt.net/mikaela/scripts.git
				synced 2025-11-04 03:17:32 +01:00 
			
		
		
		
	chromium wrappers: stop pretending X11 exists, force wayland
Workarounds https://issues.chromium.org/issues/329678163 Via https://github.com/brave/brave-browser/issues/37498#issuecomment-2063025828
This commit is contained in:
		
							parent
							
								
									bbbcf9f2c3
								
							
						
					
					
						commit
						7c36fece8a
					
				@ -1,5 +1,5 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
set -x
 | 
			
		||||
/usr/bin/brave-browser-stable --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
 | 
			
		||||
/usr/bin/brave-browser-stable --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
 | 
			
		||||
set +x
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
set -x
 | 
			
		||||
/usr/bin/brave-browser-beta --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
 | 
			
		||||
/usr/bin/brave-browser-beta --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
 | 
			
		||||
set +x
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
set -x
 | 
			
		||||
/usr/bin/brave-browser-nightly --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
 | 
			
		||||
/usr/bin/brave-browser-nightly --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
 | 
			
		||||
set +x
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
set -x
 | 
			
		||||
/usr/bin/chromium-browser --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
 | 
			
		||||
/usr/bin/chromium-browser --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
 | 
			
		||||
set +x
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
set -x
 | 
			
		||||
/usr/bin/google-chrome-stable --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
 | 
			
		||||
/usr/bin/google-chrome-stable --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
 | 
			
		||||
set +x
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
set -x
 | 
			
		||||
/usr/bin/microsoft-edge --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
 | 
			
		||||
/usr/bin/microsoft-edge --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
 | 
			
		||||
set +x
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
set -x
 | 
			
		||||
/usr/bin/vivaldi --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
 | 
			
		||||
/usr/bin/vivaldi --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
 | 
			
		||||
set +x
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user