sudo mkdir -p /chromium
Create small RAM disk definition:echo "tmpfs /chromium tmpfs defaults,size=64M,mode=0777 0 0" | sudo tee -a /etc/fstab
See all content:sudo cat /etc/fstab
Mount RAM disk:sudo mount /chromium
Launch browser and create and configure base profile:chromium-browser --user-data-dir=/chromium/chromium
Exit the browser and create backup:cd /chromium && tar cf ~/chromium.tar chromium/ && cd
Remove everything to test restore from backuprm -rf /chromium/chromium
Restore from backup:tar xf ~/chromium.tar -C /chromium/
Test if everything is working:chromium-browser --user-data-dir=/chromium/chromium
Modify or create anew startup script '~/.profile' to prepare the tmp profile:
No comments:
Post a Comment