use dGPU (nvidia) for video playback in zen browser

This commit is contained in:
2025-09-21 00:04:18 +03:00
parent 537e100587
commit 4ac915c003
7 changed files with 177 additions and 110 deletions

View File

@@ -0,0 +1,26 @@
[Desktop Entry]
Name=Zen Browser (Nvidia)
Comment=Experience tranquillity while browsing the web without people tracking you!
Exec=env __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only /opt/zen-browser-bin/zen-bin %u
Icon=zen-browser
Type=Application
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;application/x-xpinstall;application/pdf;application/json;
StartupWMClass=zen
Categories=Network;WebBrowser;
StartupNotify=true
Terminal=false
X-MultipleArgs=false
Keywords=Internet;WWW;Browser;Web;Explorer;
Actions=new-window;new-private-window;profilemanager;
[Desktop Action new-window]
Name=Open a New Window
Exec=/opt/zen-browser-bin/zen-bin %u
[Desktop Action new-private-window]
Name=Open a New Private Window
Exec=/opt/zen-browser-bin/zen-bin --private-window %u
[Desktop Action profilemanager]
Name=Open the Profile Manager
Exec=/opt/zen-browser-bin/zen-bin --ProfileManager %u