cd /var/cache
sudo rm -rf kokua
sudo mkdir -p kokua
chmod ugo+rwx kokuaAdd the following line:
tmpfs /var/cache/kokua tmpfs noauto,user,exec,nodev,nosuid,mode=1777,size=6g 0 0
Adjust size=6g as necessary. Recommended to be Cache Size Limit in Kokua + at least 2g.
(A "g" is a GiB)
cd ~/.kokua
mkdir cache_persistentCopy the file kokua-viewer-ramcache.desktop (from this gist) to ~/.local/share/applications
Edit as necessary (notably, the installation path, which must be reflected in the Exec=, Icon=, and Path=
Copy the file kokua-ramcache.sh (from this gist) to the Kokua installation path (same as above)