# Sample config file for gtktalog

# AddMimeIcon icon_path mime [mime [mime [...]]]

AddMimeIcon /usr/local/share/gnome/gtktalog/icons/image.xpm  image/x-bmp image/png image/gif image/jpeg image/x-xpixmap
AddMimeIcon /usr/local/share/gnome/gtktalog/icons/gz.xpm  application/x-gzip application/x-compressed-tar
AddMimeIcon /usr/local/share/gnome/gtktalog/icons/deb.xpm  application/x-deb
AddMimeIcon /usr/local/share/gnome/gtktalog/icons/cpp.xpm  text/x-c++
AddMimeIcon /usr/local/share/gnome/gtktalog/icons/h.xpm  text/x-c
AddMimeIcon /usr/local/share/gnome/gtktalog/icons/html.xpm  text/html
AddMimeIcon /usr/local/share/gnome/gtktalog/icons/pdf.xpm  application/pdf
AddMimeIcon /usr/local/share/gnome/gtktalog/icons/movie.xpm  video/x-sgi-movie
AddMimeIcon /usr/local/share/gnome/gtktalog/icons/java.xpm  text/x-java
AddMimeIcon /usr/local/share/gnome/gtktalog/icons/mp3.xpm  audio/x-mp3
AddMimeIcon /usr/local/share/gnome/gtktalog/icons/mp3.xpm  audio/x-ogg
AddMimeIcon /usr/local/share/gnome/gtktalog/icons/so.xpm  application/x-shared-library
AddMimeIcon /usr/local/share/gnome/gtktalog/icons/rpm.xpm  application/x-rpm
AddMimeIcon /usr/local/share/gnome/gtktalog/icons/txt.xpm  text/plain application/rtf

# AddMimeInformation mime plugin arguments state
AddMimeInformation 'text/html' '/usr/local/lib/gtktalog/htmltitle' '' 1
AddMimeInformation 'audio/x-mod' '/usr/local/lib/gtktalog/modinfo' '' 1
AddMimeInformation 'audio/x-it' '/usr/local/lib/gtktalog/modinfo' '' 1
AddMimeInformation 'audio/x-xm' '/usr/local/lib/gtktalog/modinfo' '' 1
AddMimeInformation 'audio/x-s3m' '/usr/local/lib/gtktalog/modinfo' '' 1
AddMimeInformation 'application/x-rpm' '/usr/local/bin/rpm' '-qpi' 1
AddMimeInformation 'audio/x-mp3' '/usr/local/lib/gtktalog/mp3info' '' 1
AddMimeInformation 'application/x-ogg' '/usr/local/bin/ogginfo' '' 1
#AddMimeInformation 'video/mpeg' '' '' 1
#AddMimeInformation 'video/mpeg' '' '' 1
AddMimeInformation 'video/x-msvideo' '/usr/local/lib/gtktalog/aviinfo' '' 1

# AddVfsMime vfs_mime plugin arguments separator date_field date_format size_field name_field state last_column
AddVfsMime 'application/x-compressed-tar' 'tar' 'tzvf' '\t ' 3 'YYYY-MM-DD' 2 5 1 Name
AddVfsMime 'application/x-tgz' 'tar' 'tzvf' '\t ' 3 'YYYY-MM-DD' 2 5 1 Name
AddVfsMime 'application/x-bzip-compressed-tar' 'tar' 'tjvf' '\t ' 3 'YYYY-MM-DD' 2 5 1 Name
AddVfsMime 'application/x-tar' 'tar' 'tvf' '\t ' 3 'YYYY-MM-DD' 2 5 1 Name
AddVfsMime 'application/x-rpm' '/usr/local/bin/rpm' '-qp --dump' '\t ' 2 'SSSSSSSSSS' 1 0 1 Name
AddVfsMime 'application/zip' '/usr/local/bin/unzip' '-lqqq' '\t ' 1 'MM-DD-YY' 0 3 1 Name
#AddVfsMime 'application/x-deb' '' '--contents' '\t ' 3 'YYYY-MM-DD' 2 5 1 Name


# DefaultFileIcon icon_path
DefaultFileIcon /usr/local/share/gnome/gtktalog/icons/default_file.xpm
# DefaultDiskIcon icon_path
DefaultDiskIcon /usr/local/share/gnome/gtktalog/icons/default_disk.xpm
# DefaultDirIcon icon_path
DefaultDirIcon /usr/local/share/gnome/gtktalog/icons/default_dir.xpm
# DefaultUnreadableIcon icon_path
DefaultUnreadableIcon /usr/local/share/gnome/gtktalog/icons/default_unreadable.xpm
# DefaultVfsIcon icon_path
DefaultVfsIcon /usr/local/share/gnome/gtktalog/icons/default_vfs.xpm
# DefaultOpenedDiskIcon icon_path
DefaultOpenedDiskIcon /usr/local/share/gnome/gtktalog/icons/default_opened_disk.xpm
# DefaultOpenedDirIcon icon_path
DefaultOpenedDirIcon /usr/local/share/gnome/gtktalog/icons/default_opened_dir.xpm
# DefaultOpenedVfsIcon icon_path
DefaultOpenedVfsIcon /usr/local/share/gnome/gtktalog/icons/default_opened_vfs.xpm

# MountProgram path
MountProgram '/sbin/mount'
# UmountProgram path
UmountProgram '/sbin/umount'
# EjectProgram path
EjectProgram '/usr/local/sbin/eject'
# MountPoint path
MountPoint /cdrom

# Options 
# Only use True or False for the following
# Use sudo?
UseSudo False
# Use automount ?
UseAutomount False
# Use du -s to get the size of the disk
OptionDus True
# Warn if a disk is mounted
OptionWarnMount False
# Eject the disk after a fast scan
OptionEject True
# Read the CD name on the CD
ReadCDName True
# Prompt to validate the CD name
ValidateCDName False
# Compression level for saving files
CompressionLevel 9
# Previous search mode for the extended search filename
PreviousSearchMode 0
# Scan VFS (Virtual File System) Normal/Extended/Ignored
VFSMode Normal
# Retrieve information about files
ReadInformation True
# Get Mime type from files
ScanMimeTypes True
# Use default information plugin
UseDefaultMimePlugin True
# Default information plugin
# DefaultMimeInformation 'prog' 'args'
DefaultMimeInformation '/usr/local/bin/file' '-b'
# Double click on a file to see information
DbClickFileForInfo False
# DateFormat Locale or "format (man strftime)"
DateFormat "%d/%m/%Y %H:%M:%S"
# Display directories sizes ?
DisplayDirSize True

# Recent files
# Nb max of recent files
RecentFilesMax 4

# Save only used categories
SaveOnlyUsedCategories True

# Toolbar style
# ToolbarStyle [ICONS|TEXT|BOTH]
ToolbarStyle Both

# Size format
# SizeFormat [Bytes|KiloBytes|MegaBytes|GigaBytes|HumanReadable|Bytes_Human]
SizeFormat Bytes_Human

# New search type
# NewSearchType {0,1,2}
# where 0==simple, 1==extended, 2==last used
NewSearchType 0
