# Sandfox Firefox Profile
#
# Note that default.profile is always loaded in addition to other profiles 
#
# For instructions consult http://igurublog.wordpress.com/downloads/script-sandfox/
# OPTION
# or
# OPTION=VALUE   (Do not use quotes)
#
# To include another profile in this profile:
# profile=PROFILENAME


sandbox=hexchat

# root folders and files required by firefox
bindro=/bin
bind=/dev/null
bind=/dev/urandom       # used by Firefox for security purposes
bind=/dev/random        # used by Firefox for printing
bind=/dev/nvidia0
bind=/dev/nvidiactl
bindro=/etc
bindro=/lib
bindro=/lib32
bindro=/lib64
bindro=/opt/lib32
bind=/tmp
bindro=/usr
bindro=/var/lib
hide=/var/lib/mlocate
bindro=/run/resolvconf   # used by Firefox for DNS support

# prevent hackery
#hide=/usr/bin/perl
#hide=/usr/bin/perl5.12.4
hide=/usr/libexec/gcc
hide=/usr/x86_64-pc-linux-gnu/gcc-bin
hide=/usr/bin/gcc
hide=/usr/bin/cc
hide=/usr/bin/g++
hide=/usr/bin/cc
hide=/usr/bin/c++
hide=/usr/bin/gcc-config
hide=/usr/bin/gcc-ar
hide=/usr/bin/gcc-nm
hide=/usr/bin/gcc-ranlib
hide=/usr/bin/asan_symbolize.py
hide=/usr/bin/asan_symbolize.py-pypy-c2.0
hide=/usr/bin/asan_symbolize.py-python2.6
hide=/usr/bin/asan_symbolize.py-python2.7
hide=/usr/bin/c++-analyzer
hide=/usr/bin/c-index-test
hide=/usr/bin/ccc-analyzer
hide=/usr/bin/clang
hide=/usr/bin/clang++
hide=/usr/bin/clang-check
hide=/usr/bin/clang-format
hide=/usr/bin/clang-tblgen
hide=/usr/bin/scan-build
hide=/usr/bin/scan-view
hide=/usr/bin/scan-view-pypy-c2.0
hide=/usr/bin/scan-view-python2.6
hide=/usr/bin/scan-view-python2.7

# required by alsa for Flash sound
bindro=/dev/snd

# required by Cups printing in Firefox
bind=/var/cache/cups        # Firefox starts faster
bind=/var/cache/fontconfig  # Firefox starts faster
bind=/var/run               # Firefox shows Cups printers

# home folders and files
# You may need to add additional binds to your home folders and files in order
# for every aspect of Firefox to work as you want.  Or you can share your
# entire /home/$user folder (this would reduce security)
bind=/home/$user/.esd_auth
bind=/home/$user/.config/hexchat
bindro=/home/$user/.asoundrc

# Needed for KDE and Gnome themes in Firefox   (may be incomplete for gnome)
# To find out what other binds you may need, run 'env' in a shell as user
#       and examine the values of GTK2_RC_FILES and GTK_RC_FILES and XCURSOR_THEME
# Note: The bind for kdeglobals below is a limited privacy risk, as KDE4 stores
#       recent file and folder names in this file.  You can clean this file with 
#       kscrubber:  http://igurublog.wordpress.com/downloads/script-kscrubber/
#       or don't bind it, but your theme may not work in Firefox
bind=/home/$user/.config/gtk-2.0
bindro=/home/$user/.fontconfig
bindro=/home/$user/.fonts
bind=/home/$user/.gtkrc-2.0
bind=/home/$user/.gtkrc-2.0-kde4
bind=/home/$user/.kde/share/config/gtkrc
bind=/home/$user/.kde/share/config/gtkrc-2.0      
bindro=/home/$user/.kde/share/config/kdeglobals
bind=/home/$user/.kde4/share/config/gtkrc
bind=/home/$user/.kde4/share/config/gtkrc-2.0      
bindro=/home/$user/.kde4/share/config/kdeglobals
bindro=/home/$user/.gtkrc-2.0-kde
bind=/home/$user/.kde3/share/config/gtkrc
bind=/home/$user/.kde3/share/config/gtkrc-2.0      
bindro=/home/$user/.kde3/share/config/kdeglobals
bindro=/home/$user/.Xdefaults  # for cursor theme
bindro=/home/$user/.Xauthority
#bindro=/etc/gtk-2.0/gtkrc      # used but already binded all of /etc


# other folders and files
# You may want to bind your Downloads or other data folders below so you
# can easily save and upload files from within Firefox.