#######
# Configuration file for 'events' in Fatdog
# This file is read/written by /usr/sbin/fatdog-event-manager.sh
# Note: Some of these settings should have per-user setting override ...
#######

###
# This parameter is read by /etc/init.d/20-ram-save
# Periodic save of RAM layer to savefile, in minutes. 0=no periodic save...
RAMSAVEINTERVAL=30

###
# If not blank, fatdog-merge-layers.sh will remove whiteouts not covering any SFS files
# Don't set this on multi-session, it makes deleted files re-appear every time.
CLEAR_NON_SFS_WHITEOUT=

###
# This parameter controls the compression used for multisession
MKSQUASHFS_OPTIONS='-comp xz'

###
# The following parameters, together, controls non-root access level to 
# partitions mounted by /usr/sbin/fatdog-drive-icon-mount-helper.sh
#
# These two sets the permission mode:
# Set it to 770 for read-write, 750 for read-only
ACCESS_MODE=750

# This sets the "group" used for the permission, if blank then $USER is used.
# By default only the user who mounted the drive can access the drive
# setting this to 'users' or any other group enables members of that group
# to access the drives too.
ACCESS_GROUP=

# This one modifies the permission bits of for "other" (o) unix permission.
# (=called as "unlisted" users because they are not member of the standard
# "users" group). If it is turned on, it will grant read/execute access 
# anyone who can access the system.
# It works by changing last digit of ACCESS_MODE to 5 (instead of 0)
# Not recommended to turn this on, but some Linux OS (e.g. Ubuntu) may need it
UNLISTED_ACCESS=

###
# The following parameters are read by /usr/sbin/fatdog-drive-icon-roxlib.sh
# where to draw the icons (top, bottom, left right)
ICON_ALIGNMENT=bottom	

# whether drive icons display volume label, leave blank to disable 
# (in case blkid is too slow)
SHOW_VOLUME_LABEL=yes

# maximum number of chars to display for volume label
# put zero here to disable showing volume label on drive icons.
MAX_VOLABEL=0

# Drives listed here will not be show on the desktop
EXCLUDED_DRIVES=

# all these are in pixels; ICON_DX/DY are assumed horizontal/vertical icon size
MARGIN_TOP=32 
MARGIN_BOTTOM=64 # old rox default is 65
MARGIN_LEFT=32 
MARGIN_RIGHT=64
GRID_X=4   # old rox default is 64
GRID_Y=16  # old rox default is 64
ICON_DX=48 
ICON_DY=52 # old rox only - this include one-line label height

# drive icon hotspot size
HOTSPOT_X=0
HOTSPOT_Y=0
HOTSPOT_W=12
HOTSPOT_H=12
HOTSPOT_P=2

### fatdog-drive-icon-action-handler.sh
# clicking a drive icon will mount it by volume name in /mnt, or
# mount it by volume label in /media, or
# mount it by UUID in /media
# DEFAULT_CLICK_ACTION = devmount, labelmount, uuidmount, etc
# Default is devmount if this setting is blank
DEFAULT_CLICK_ACTION=devmount

# where to mount label, uuid, etc. devmount always mount in /mnt
# these settings are currently not managed by fatdog-event-manager.sh
LABEL_MOUNT_ROOT=/media
UUID_MOUNT_ROOT=/media

### /etc/rc.d/rc.Xdesktop
# How many seconds /etc/rc.d/rc.Xdesktop will wait before starting
# This can be zero now, we have different way to wait for rox readiness
STARTUP_DELAY=0

# Timeout, in seconds, waiting for tray to be ready
# 0 means don't wait, -1 means wait forever
TRAYTEST_TIMEOUT=5

# whether rc.Xdesktop will show drive icons at all
USE_DRIVE_ICON=yes

###
# If not blank, disable icons in openbox right-click menu
# make it shows up a bit faster
OB_NO_ICON=

# if not blank, use unpatched way of drawing icons and detecting right-clicks
UNPATCHED_ROX=
