google-chrome /home/jerry/.cache/google-chrome tmpfs defaults,noatime,mode=1777 0 0
If you have plenty of memory and want to move some temporary files out of your disk, tmpfs is the answer. Especially when you are using an SSD and don't want to wear it out soon.
I already did so for Firefox and PostgreSQL, and it's time for my Chromium (or Google Chrome) for Ubuntu.
Create a launcher. In the Launcher Properties, keep the Type to be Application, set the Name to "Chromium Web Brower" and Comment to "Access the Internet". Set Command to be "/usr/bin/chromium-browser --disk-cache-dir=/tmp --disk-cache-size=134217728 %U". That's it.
Note that
- there are no quotation marks (") for the value of disk-cache-dir
- path in disk-cache-dir is relative to your home, if it's not an absolute path
- the unit of disk-cache-size is byte
No comments:
Post a Comment