You are not logged in.
Pages: 1
Topic closed
I tried setting up some custom flags for Chromium in ~/.profile. But they don't seem to work, Chromium doesn't pick it up.
~/.profile
# ~/.profile
# Chromium custom flags
export CHROMIUM_USER_FLAGS="--disk-cache-dir=/tmp/chromium-cache"I tried adding the same in ~/.bashrc with no success.
Last edited by Dead Code (2013-04-29 08:26:41)
Offline
I did something very similar except I am using /etc/chromium/default and it works for me. Maybe give that a shot instead. Oh also you don't need export if you put it there:
Here is my /etc/chromium/default
# Default settings for chromium. This file is sourced by /usr/bin/chromium
CHROMIUM_USER_FLAGS="--disk-cache-dir=/tmp/cache"
# Options to pass to chromium
CHROMIUM_FLAGS=" --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=11.7.700.169" Last edited by dodo3773 (2013-04-25 05:17:56)
Offline
Ah but I have multiple users. Need user specific exports.
I did something very similar except I am using /etc/chromium/default and it works for me. Maybe give that a shot instead. Oh also you don't need export if you put it there:
Here is my /etc/chromium/default
# Default settings for chromium. This file is sourced by /usr/bin/chromium CHROMIUM_USER_FLAGS="--disk-cache-dir=/tmp/cache" # Options to pass to chromium CHROMIUM_FLAGS=" --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=11.7.700.169"
Offline
Does it work if you export them from a terminal and then run chromium?
export CHROMIUM_USER_FLAGS="--disk-cache-dir=/tmp/chromium-cache" && chromiumOffline
When I added the variable to .bashrc it was listing in the printenv but Chromium never picked the flag.
Offline
Then please try anon's suggestion, maybe without export, but the direct variable:
CHROMIUM_USER_FLAGS="--disk-cache-dir=/tmp/chromium-cache" chromiumOffline
Launching from terminal respects the flags set, from the Application launcher it doesn't sadly. For now I have edited the Application launcher to include the flags.
Last edited by Dead Code (2013-04-27 02:39:13)
Offline
Launching from terminal respects the flags set, from the Application launcher it doesn't sadly. For now I have edited the Application launcher to include the flags.
Yeah but isn't there a way to do user specific .desktop files? Maybe it's possible to do an override or something somehow. Just throwing out ideas.
Offline
You can create custom .desktop files and put them inside ~/.local/share/applications/
Offline
Thanks for the suggestions. .desktop file is right for the job.
Offline
Here's how I solved this problem in XFCE:
http://sudoman.ninth.su/2015/08/25/usin … m-in-xfce/
This should work for every way you might launch chromium in an xfce session.
Offline
sudoman,
Please do not "necrobump" old threads - especially solved ones. And even more so when it looks like you are only trying to spam your blog link. (edit: judging from your other two posts, I doubt this was the goal - the occasional link to a relevant blog entry is fine, but just the same this was already solved 2 years ago).
Closed.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1
Topic closed