Created
March 6, 2024 14:10
-
-
Save GGontijo/81298d92ff587332e31b7f913f66b488 to your computer and use it in GitHub Desktop.
Allow Google Chrome / Microsoft Edge to run as root in linux adding --no-sandbox flag to it's launchers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -i -e 's@Exec=/usr/bin/microsoft-edge-dev %U@Exec=/usr/bin/microsoft-edge-dev %U --no-sandbox@g' /usr/share/applications/microsoft-edge-dev.desktop | |
sed -i -e 's@Exec=/usr/bin/google-chrome-stable %U@Exec=/usr/bin/google-chrome-stable %U --no-sandbox@g' /usr/share/applications/google-chrome.desktop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment