summaryrefslogtreecommitdiff
path: root/gsearchtool/data
diff options
context:
space:
mode:
Diffstat (limited to 'gsearchtool/data')
-rw-r--r--gsearchtool/data/Makefile.am32
-rw-r--r--gsearchtool/data/mate-search-tool.1110
-rw-r--r--gsearchtool/data/mate-search-tool.convert27
-rw-r--r--gsearchtool/data/mate-search-tool.desktop.in15
-rw-r--r--gsearchtool/data/org.mate.search-tool.gschema.xml.in117
5 files changed, 299 insertions, 2 deletions
diff --git a/gsearchtool/data/Makefile.am b/gsearchtool/data/Makefile.am
index d5a3e9d3..725e18de 100644
--- a/gsearchtool/data/Makefile.am
+++ b/gsearchtool/data/Makefile.am
@@ -1,13 +1,41 @@
icondir = $(datadir)/pixmaps/mate-search-tool
icon_DATA = thumbnail_frame.png
+gsettingsschema_in_files = org.mate.search-tool.gschema.xml.in
+gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
+.PRECIOUS: $(gsettings_SCHEMAS)
+
+@INTLTOOL_DESKTOP_RULE@
+
+@GSETTINGS_RULES@
+
+convertdir = $(datadir)/MateConf/gsettings
+convert_DATA = mate-search-tool.convert
+
@INTLTOOL_XML_RULE@
appdatadir = $(datadir)/appdata
appdata_in_files = mate-search-tool.appdata.xml.in
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
-CLEANFILES = mate-search-tool.appdata.xml
+man_MANS = mate-search-tool.1
+
+Utilitiesdir = $(datadir)/applications
+Utilities_in_files = mate-search-tool.desktop.in
+Utilities_DATA = $(Utilities_in_files:.desktop.in=.desktop)
EXTRA_DIST = \
$(icon_DATA) \
- $(appdata_in_files)
+ $(appdata_in_files) \
+ $(Utilities_in_files) \
+ $(Utilities_DATA) \
+ $(convert_DATA) \
+ $(gsettingsschema_in_files) \
+ $(man_MANS)
+
+CLEANFILES = \
+ mate-search-tool.appdata.xml \
+ mate-search-tool.desktop \
+ $(gsettings_SCHEMAS)
+
+disthook:
+ cd $(distdir) ; rm -f $(CLEANFILES)
diff --git a/gsearchtool/data/mate-search-tool.1 b/gsearchtool/data/mate-search-tool.1
new file mode 100644
index 00000000..686a8cc9
--- /dev/null
+++ b/gsearchtool/data/mate-search-tool.1
@@ -0,0 +1,110 @@
+.\" mate-search-tool.1 - MATE Search Tool
+.\" Copyright 2001 Jochen Voss
+.TH mate-search-tool 1 "March 16 2009" "mate-utils 2.27.1"
+.SH NAME
+mate-search-tool \- the MATE Search Tool
+.SH SYNOPSIS
+.B mate-search-tool
+.RI [ options ]
+.sp
+or select
+.B Search for Files...
+from a
+.B Main Menu
+or from the
+.B Places
+menu in a
+.B Menu Bar
+.SH DESCRIPTION
+.B MATE Search Tool
+is a utility for finding files on your system. To perform a
+basic search, you can type a filename or a partial filename,
+with or without wildcards. To refine your search, you can
+apply additional search options.
+
+.B MATE Search Tool
+uses the find, grep, and locate UNIX commands. The case
+sensitivity of the search depends on your operating
+system. For example, on Linux, the find, grep, and locate
+commands support the \-i option, so all searches are
+case-insensitive.
+
+For full documentation see the
+.B MATE Search Tool
+online help.
+
+.SH OPTIONS
+.TP
+.BR \-\-help
+Show help message
+.TP
+.BI "\-\-named=" STRING
+Set the text of "Name contains" search option
+.TP
+.BI "\-\-path=" PATH
+Set the text of "Look in folder" search option
+.TP
+.BI "\-\-sortby=" VALUE
+Sort files by one of the following: name, folder, size, type, or date
+.TP
+.BR \-\-descending
+Set sort order to descending, the default is ascending
+.TP
+.BR \-\-start
+Automatically start a search
+.TP
+.BI "\-\-contains=" STRING
+Select and set the "Contains the text" search option
+.TP
+.BI "\-\-mtimeless=" DAYS
+Select and set the "Date modified less than" search option
+.TP
+.BI "\-\-mtimemore=" DAYS
+Select and set the "Date modified more than" search option
+.TP
+.BI "\-\-sizemore=" KILOBYTES
+Select and set the "Size at least" search option
+.TP
+.BI "\-\-sizeless=" KILOBYTES
+Select and set the "Size at most" search option
+.TP
+.BR \-\-empty
+Select the "File is empty" search option
+.TP
+.BI "\-\-user=" USER
+Select and set the "Owned by user" search option
+.TP
+.BI "\-\-group=" GROUP
+Select and set the "Owned by group" search option
+.TP
+.BR \-\-nouser
+Select the "Owner is unrecognized" search option
+.TP
+.BI "\-\-notnamed=" STRING
+Select and set the "Name does not contain" search option
+.TP
+.BI "\-\-regex=" PATTERN
+Select and set the "Name matches regular expression" search option
+.TP
+.BR \-\-hidden
+Select the "Show hidden and backup files" search option
+.TP
+.BR \-\-follow
+Select the "Follow symbolic links" search option
+.TP
+.BR \-\-mounts
+Select the "Exclude other filesystems" search option
+.SH AUTHOR
+.B MATE Search Tool
+was originally written by George Lebl (<[email protected]>).
+Version 2 was written by Dennis M. Cranston
+
+This manual page was originally written by Jochen Voss
+<[email protected]>. Version 2 was written by
+Dennis M. Cranston (<[email protected]>).
+
+.SH SEE ALSO
+.BR find (1),
+.BR locate (1),
+.BR grep (1)
diff --git a/gsearchtool/data/mate-search-tool.convert b/gsearchtool/data/mate-search-tool.convert
new file mode 100644
index 00000000..44156425
--- /dev/null
+++ b/gsearchtool/data/mate-search-tool.convert
@@ -0,0 +1,27 @@
+[org.mate.search-tool]
+show-additional-options=/apps/mate-search-tool/show_additional_options
+disable-quick-search=/apps/mate-search-tool/disable_quick_search
+quick-search-excluded-paths=/apps/mate-search-tool/quick_search_excluded_paths
+disable-quick-search-second-scan=/apps/mate-search-tool/disable_quick_search_second-scan
+quick-search-second-scan-excluded-paths=/apps/mate-search-tool/quick_search_second_scan_excluded_paths
+columns-order=/apps/mate-search-tool/columns_order
+default-window-width=/apps/mate-search-tool/default_window_width
+default-window-height=/apps/mate-search-tool/default_window_height
+default-window-maximized=/apps/mate-search-tool/default_window_maximized
+look-in-folder=/apps/mate-search-tool/look_in_folder
+
+[org.mate.search-tool.select]
+contains-the-text=/apps/mate-search-tool/select/contains_the_text
+date-modified-less-than=/apps/mate-search-tool/select/date_modified_less_than
+date-modified-more-than=/apps/mate-search-tool/select/date_modified_more_than
+size-at-least=/apps/mate-search-tool/select/size_at_least
+size-at-most=/apps/mate-search-tool/select/size_at_most
+file-is-empty=/apps/mate-search-tool/select/file_is_empty
+owned-by-user=/apps/mate-search-tool/select/owned_by_user
+owned-by-group=/apps/mate-search-tool/select/owned_by_group
+owner-is-unrecognized=/apps/mate-search-tool/select/owner_is_unrecognized
+name-does-not-contain=/apps/mate-search-tool/select/name_does_not_contain
+name-matches-regular-expression=/apps/mate-search-tool/select/name_matches_regular_expression
+show-hidden-files-and-folders=/apps/mate-search-tool/select/show_hidden_files_and_folders
+follow-symbolic-links=/apps/mate-search-tool/select/follow_symbolic_links
+exclude-other-filesystems=/apps/mate-search-tool/select/exclude_other_filesystems
diff --git a/gsearchtool/data/mate-search-tool.desktop.in b/gsearchtool/data/mate-search-tool.desktop.in
new file mode 100644
index 00000000..56645ceb
--- /dev/null
+++ b/gsearchtool/data/mate-search-tool.desktop.in
@@ -0,0 +1,15 @@
+[Desktop Entry]
+_Name=MATE Search Tool
+_Comment=Locate documents and folders on this computer by name or content
+Exec=mate-search-tool
+Icon=system-search
+Terminal=false
+Type=Application
+StartupNotify=true
+Categories=GTK;Utility;Core;
+Keywords=MATE;search;files;locate;documents;folders;computer;name;content;find;tool;
+OnlyShowIn=MATE;
+X-MATE-DocPath=mate-search-tool/mate-search-tool.xml
+X-MATE-Bugzilla-Bugzilla=MATE
+X-MATE-Bugzilla-Product=mate-utils
+X-MATE-Bugzilla-Component=gsearchtool
diff --git a/gsearchtool/data/org.mate.search-tool.gschema.xml.in b/gsearchtool/data/org.mate.search-tool.gschema.xml.in
new file mode 100644
index 00000000..b6a532c4
--- /dev/null
+++ b/gsearchtool/data/org.mate.search-tool.gschema.xml.in
@@ -0,0 +1,117 @@
+<schemalist gettext-domain="mate-utils-2.0">
+ <schema id="org.mate.search-tool" path="/org/mate/search-tool/">
+ <key name="search-history" type="a{sas}">
+ <default>[ ]</default>
+ <_summary>Search history</_summary>
+ <_description>This key defines the items which were searched for in the past.</_description>
+ </key>
+ <key name="show-additional-options" type="b">
+ <default>false</default>
+ <_summary>Show Additional Options</_summary>
+ </key>
+ <key name="disable-quick-search" type="b">
+ <default>false</default>
+ <_summary>Disable Quick Search</_summary>
+ <_description>This key determines if the search tool disables the use of the locate command when performing simple file name searches.</_description>
+ </key>
+ <key name="quick-search-excluded-paths" type="as">
+ <default>[ '/mnt/*', '/media/*', '/dev/*', '/tmp/*', '/proc/*', '/var/*' ]</default>
+ <_summary>Quick Search Excluded Paths</_summary>
+ <_description>This key defines the paths the search tool will exclude from a quick search. The wildcards '*' and '?' are supported. The default values are /mnt/*, /media/*, /dev/*, /tmp/*, /proc/*, and /var/*.</_description>
+ </key>
+ <key name="disable-quick-search-second-scan" type="b">
+ <default>false</default>
+ <_summary>Disable Quick Search Second Scan</_summary>
+ <_description>This key determines if the search tool disables the use of the find command after performing a quick search.</_description>
+ </key>
+ <key name="quick-search-second-scan-excluded-paths" type="as">
+ <default>[ '/' ]</default>
+ <_summary>Quick Search Second Scan Excluded Paths</_summary>
+ <_description>This key defines the paths the search tool will exclude from a second scan when performing a quick search. The second scan uses the find command to search for files. The purpose of the second scan is to find files that have not been indexed. The wildcards '*' and '?' are supported. The default value is /.</_description>
+ </key>
+ <key name="columns-order" type="ai">
+ <default>[ 0 ]</default>
+ <_summary>Search Result Columns Order</_summary>
+ <_description>This key defines the order of the columns in the search results. This key should not be modified by the user.</_description>
+ </key>
+ <key name="default-window-width" type="i">
+ <default>-1</default>
+ <_summary>Default Window Width</_summary>
+ <_description>This key defines the window width, and it's used to remember the size of the search tool between sessions. Setting it to -1 will make the search tool use the default width.</_description>
+ </key>
+ <key name="default-window-height" type="i">
+ <default>-1</default>
+ <_summary>Default Window Height</_summary>
+ <_description>This key defines the window height, and it's used to remember the size of the search tool between sessions. Setting it to -1 will make the search tool use the default height.</_description>
+ </key>
+ <key name="default-window-maximized" type="b">
+ <default>false</default>
+ <_summary>Default Window Maximized</_summary>
+ <_description>This key determines if the search tool window starts in a maximized state.</_description>
+ </key>
+ <key name="look-in-folder" type="s">
+ <default>''</default>
+ <_summary>Look in Folder</_summary>
+ <_description>This key defines the default value of the "Look in Folder" widget.</_description>
+ </key>
+ <child name="select" schema="org.mate.search-tool.select"/>
+ </schema>
+ <schema id="org.mate.search-tool.select" path="/org/mate/search-tool/select/">
+ <key name="contains-the-text" type="b">
+ <default>true</default>
+ <_description>This key determines if the "Contains the text" search option is selected when the search tool is started.</_description>
+ </key>
+ <key name="date-modified-less-than" type="b">
+ <default>false</default>
+ <_description>This key determines if the "Date modified less than" search option is selected when the search tool is started.</_description>
+ </key>
+ <key name="date-modified-more-than" type="b">
+ <default>false</default>
+ <_description>This key determines if the "Date modified more than" search option is selected when the search tool is started.</_description>
+ </key>
+ <key name="size-at-least" type="b">
+ <default>false</default>
+ <_description>This key determines if the "Size at least" search option is selected when the search tool is started.</_description>
+ </key>
+ <key name="size-at-most" type="b">
+ <default>false</default>
+ <_description>This key determines if the "Size at most" search option is selected when the search tool is started.</_description>
+ </key>
+ <key name="file-is-empty" type="b">
+ <default>false</default>
+ <_description>This key determines if the "File is empty" search option is selected when the search tool is started.</_description>
+ </key>
+ <key name="owned-by-user" type="b">
+ <default>false</default>
+ <_description>This key determines if the "Owned by user" search option is selected when the search tool is started.</_description>
+ </key>
+ <key name="owned-by-group" type="b">
+ <default>false</default>
+ <_description>This key determines if the "Owned by group" search option is selected when the search tool is started.</_description>
+ </key>
+ <key name="owner-is-unrecognized" type="b">
+ <default>false</default>
+ <_description>This key determines if the "Owner is unrecognized" search option is selected when the search tool is started.</_description>
+ </key>
+ <key name="name-does-not-contain" type="b">
+ <default>false</default>
+ <_description>This key determines if the "Name does not contain" search option is selected when the search tool is started.</_description>
+ </key>
+ <key name="name-matches-regular-expression" type="b">
+ <default>false</default>
+ <_description>This key determines if the "Name matches regular expression" search option is selected when the search tool is started.</_description>
+ </key>
+ <key name="show-hidden-files-and-folders" type="b">
+ <default>false</default>
+ <_description>This key determines if the "Show hidden files and folders" search option is selected when the search tool is started.</_description>
+ </key>
+ <key name="follow-symbolic-links" type="b">
+ <default>false</default>
+ <_description>This key determines if the "Follow symbolic links" search option is selected when the search tool is started.</_description>
+ </key>
+ <key name="exclude-other-filesystems" type="b">
+ <default>false</default>
+ <_description>This key determines if the "Exclude other filesystems" search option is selected when the search tool is started.</_description>
+ </key>
+ </schema>
+</schemalist>