Posted: Fri 28 Jun 2013, 15:49 Post_subject:
Opera and Iron as spot
There is a lot of information about running Firefox and Seamonkey as Spot, such as www.murga-linux.com/puppy/viewtopic.php?t=579. Working from this and scripts in Fatdog, after quite a bit of trial and error I was able to get my favorite browsers, Opera and Iron, running as Spot. Some directories have to be made in non-default locations and this info sent to the browser when it is started. Probably all obvious stuff for the experts, but these little scripts might save another beginner some time. Tested in Saluki and Precise.
Note: I haven't installed the browsers, I run them from folders in /mnt/home/apps, so the paths to executables are odd...
if [ ! -d $HOME/spot/Downloads ]; then
chown -R spot $HOME/spot/Downloads
if [ ! -d /$HOME/spot/.opera ]; then
chown -R spot $HOME/spot/.opera
#path to executable file, not to the script in .../apps/opera!
su spot -c /mnt/home/apps/opera/lib/opera/opera "$@"
if [ ! -d $HOME/spot/Downloads]; then
chown -R spot /root/spot/Downloads
if [ ! -d /root/spot/.irondata]; then
chown -R spot /root/spot/.irondata
#path to executable (a library)