fredx181 wrote:Hi Belham, this script works for me on Bionicdog (to run as user puppy):EDIT:Code: Select all
#!/bin/sh xhost +local:puppy su puppy -c "/usr/bin/chromium-browser "$@" --user-data-dir=/home/puppy/chromium/user --disk-cache-dir=/home/puppy/chromium/cache --disk-cache-size=10000000 --media-cache-size=10000000"
For info: To install google-chrome, it needs to be added to sources (64 bit only):Code: Select all
# Add google-chrome repo to sources echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list # Get the signed key wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - apt-get update # required because repo sources has been changed # Install apt-get install google-chrome-stable
To run google-chrome as user puppy:FredCode: Select all
#!/bin/sh xhost +local:puppy su puppy -c "/usr/bin/google-chrome-stable "$@" --user-data-dir=/home/puppy/chrome/user --disk-cache-dir=/home/puppy/chrome/cache --disk-cache-size=10000000 --media-cache-size=10000000"
Thanks, Fred! Chromium now running great----I had the "user-data" stuff right, but messed up the "su puppy -c..." part. I wrote it down on a 3x5 index card so I don't forget next time...I'm getting too old to fool myself in thinking I can remember everything