You are not logged in.
I want to pass this flag everytime I start Chromium.
chromium --process-per-site
I want this change to persist on package upgrade, which in turn overrides .desktop file. How to do that?
I am using Gnome Shell.
Last edited by technolog (2015-02-28 20:14:37)
Offline
You could run it through a script.
#!/bin/bash
chromium --process-per-siteSay you call your script run_chrome. You then make it executable and instead of pointing your icon to the chrome executable you point it to run_chrome.
When you click the icon in the future you will run your script and you got what you wanted.
That's what I would do. ![]()
R.
Offline
I want this change to persist on package upgrade, which in turn overrides .desktop file. How to do that?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
you could also add that option to CHROMIUM_FLAGS in /etc/chromium/default.
Offline
You can also drop a file in /etc/chromium that adds it to CHROMIUM_FLAGS. This now works in the latest Arch package.
Offline
Thanks, everyone!
I ended up solving this problem by making this file:
~ cat /etc/chromium/tab_policy
CHROMIUM_FLAGS="$CHROMIUM_FLAGS --process-per-site"Offline
If you did not want to create a file, you could have created an alias in your .bashrc or whatever your shell runs at start.
alias chromium="chromium --process-per-site"Offline
rolbrok, that would do nothing for the OPs goal of launching chromium from a desktop file (launcher/menu entry).
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline