The officially official Devuan Forum!

You are not logged in.

#1 2019-09-20 19:38:55

golinux
Administrator
Registered: 2016-11-25
Posts: 3,137  

chromium field-trial testing

"chromium field-trial testing" processes can bring chromium to it's knees.  It's been on my list for months (maybe closer to a year) to investigate further.  I found a treasure trove of information in WTF, Chromium?.   In that rant, there is a link to List of Chromium Command Line Switches.  Great, that looks useful and even contains one to #disable-field-trial-config.   Problem is, I haven't a clue how to get from point A to point B so hoping someone here can lead me through the fog.  Thanks.

Offline

#2 2019-09-20 19:55:15

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: chromium field-trial testing

Easiest way is probably to copy the .desktop file to $HOME and modify the Exec statement to include the option:

mkdir -p ~/.local/share/applications
cp /usr/share/applications/chromium.desktop ~/.local/share/applications
sed 's/\/chromium/\/chromium --disable-field-trial-config/' -i ~/.local/share/applications/chromium.desktop

Any menu entries should then run Chromium with the switch, use this to check for sure (once Chromium is running):

pgrep -a chromium

Brianna Ghey — Rest In Power

Offline

#3 2019-09-21 02:08:29

golinux
Administrator
Registered: 2016-11-25
Posts: 3,137  

Re: chromium field-trial testing

There has to be an easier way . . .

Offline

#4 2019-09-21 09:21:16

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: chromium field-trial testing

Yes, you're right smile

Just create a file at ~/.config/chromium-flags.conf with this content:

--disable-field-trial-config

Any other switches can be added (on their own lines) to the file as desired.

EDIT: actually that might be Arch-specific, I don't have Chromium installed here.

Last edited by Head_on_a_Stick (2019-09-21 09:22:28)


Brianna Ghey — Rest In Power

Offline

Board footer