1

What comes after the second CHROMIUM_FLAGS= in gedit?

I did the wrong thing when trying to install pepper flash. i went by confusing instructions and now i want to just return this file to normal, i get an error in terminal when i edit it if i dont get it right. here's my file:

# Default settings for chromium-browser. This file is sourced by /bin/sh from 
# /usr/bin/chromium-browser 

# Options to pass to chromium-browser 
CHROMIUM_FLAGS="" 

# part for pepperflashplugin-nonfree : begin 

flashso="/usr/lib/pepperflashplugin-non... 

if [ -f $flashso ] 
then 
flashversion=`strings $flashso|grep ^LNX|sed -e "s/^LNX //"|sed -e "s/,/./g"` 
CHROMIUM_FLAGS=". /usr/lib/pepflashplugin-installer/pepfla... 
fi 

# part for pepperflashplugin-nonfree : end 
. /usr/lib/pepflashplugin-installer/pepfla... 

The file is called *default ( in /etc/chromium-browser) and the line after CHROMIUM_FLAGS= is where i messed up but i saved it without knowing, what goes after?

heemayl
  • 93,925

1 Answers1

2

You can go back to the default state by removing changes made to the file /etc/chromium-browser/default.

If you want to keep the current file /etc/chromium-browser/default, then rename the file as something else than default e.g. default.bak. Now create a file named default having nothing or only the line CHROMIUM_FLAGS="".

To summarize:

sudo mv /etc/chromium-browser/default /etc/chromium-browser/default.bak
echo 'CHROMIUM_FLAGS=""' | sudo tee -a /etc/chromium-browser/default
heemayl
  • 93,925