You are not logged in.
I am preparing a USB flash with an installation of arch linux for taking on my long trip.... and i have quite few space on it, so, i have been investigating, and i want to do this:
First, i will make /tmp be mounted on ram with tmpfs
Then, launch chromium like this:
chromium --disk-cache-dir=/tmp
This should make chromium's cache be located under /tmp, won't it?: This way all the cache will be on ram (disappear on reboot + don't use any disk space)
Also, how can i make chromium always get launched with this flags? I mean, unless i explicitly set this flags on command line, i won't get this "feature" activated......
Last edited by Xi0N (2011-07-29 23:15:33)
Offline
From what I've googled it seems that there's no other way to set it other than via the commandline. Is creating an alias or a shortcut a viable option?
Offline
Well, yes,... the only thing is that for making a shortcut on gnome3 (the ones on favorites, on the left side bar), i dont know how to make it have launch parameters... if i add it to favorites, i am afraid only the executable will be added..
Offline
You dont need to do that.
Just add to /etc/fstab the following line (replacing your_user for your user)
cache-chromium /home/your_user/.cache/chromium tmpfs defaults,noatime,mode=1777 0 0
then rm -r /home/your_user/.cache/chromium (to delete everything you had cached)
and mkdir /home/your_user/.cache/chromium (to create an empty directory).
After reboot, the cache will be mounted in ram and you won't need to modify the launcher.
P.D.: Coño Xion si eres español. Un saludete.
Last edited by Viper_Scull (2011-07-30 01:03:24)
Athlon II X4 620 + Gigabyte 785GPM-UD2H + 4GB DDR3 + SSD OCZ Vertex2 60GB
Archlinux x86_64 + Openbox
Offline
You dont need to do that.
Just add to /etc/fstab the following line (replacing your_user for your user)
cache-chromium /home/your_user/.cache/chromium tmpfs defaults,noatime,mode=1777 0 0
then rm -r /home/your_user/.cache/chromium (to delete everything you had cached)
and mkdir /home/your_user/.cache/chromium (to create an empty directory).After reboot, the cache will be mounted in ram and you won't need to modify the launcher.
P.D.: Coño Xion si eres español. Un saludete.
Clever.......... Gracias, compi ;)jeje
Offline