summaryrefslogtreecommitdiff
path: root/FAQ
diff options
context:
space:
mode:
authorBenedikt Meurer <benny@xfce.org>2005-08-28 15:48:04 +0000
committerBenedikt Meurer <benny@xfce.org>2005-08-28 15:48:04 +0000
commitb951da9661fcffec7cf7cf2e49507f600e6d3ea7 (patch)
tree6025567a5b1ec7b8961634cccf2c87a2db7a38f0 /FAQ
parent8a33bf71c062bc53e2abb55e02a07f11846dc4f2 (diff)
downloadthunar-b951da9661fcffec7cf7cf2e49507f600e6d3ea7.tar.gz
2005-08-28 Benedikt Meurer <benny@xfce.org>
* thunar/thunar-file.{c,h}, thunar/thunar-local-file.c, thunar/thunar-standard-view.c: Rename can_execute(), can_read() and can_write() to is_executable(), is_readable() and is_writable() to get consistent naming. * thunar-vfs/thunar-vfs-info.{c,h}: Add THUNAR_VFS_FILE_FLAGS_EXECUTABLE to the ThunarVfsFileFlags, which will be set if a ThunarVfsInfo can be executed, either as regular binary or as .desktop file. * thunar-vfs/thunar-vfs-mime-application.c, thunar-vfs/thunar-vfs-sysdep.{c,h}: Move the Exec parsing code from ThunarVfsMimeApplication to thunar-vfs-sysdep, so it can be used by other modules as well. * thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs.symbols: Add new method thunar_vfs_info_execute(), which is used to execute files with a list of URIs. These method can handle both regular executable files as well as .desktop files. * thunar/thunar-file.{c,h}, thunar/thunar-launcher.c, thunar/thunar-local-file.c: Add support to execute files that are marked as executable by the ThunarVfsInfo module. * thunar-vfs/thunar-vfs-mime-database.c (thunar_vfs_mime_database_get_info_locked), (thunar_vfs_mime_database_get_infos_for_info_locked): Be sure to always unalias MIME-types prior to returning them from the mime database instance. This way we don't need to care for unaliasing when determining the MIME-type comment or MIME-type icon. * thunar-vfs/thunar-vfs-mime-database.{c,h}, thunar-vfs/thunar-vfs.symbols: Add new method thunar_vfs_mime_database_get_infos_for_info() to the public API, to allow other components to access the subclassing information. * FAQ, Makefile.am: Add initial items for the list of frequently asked questions. * TODO: Remove obsolete items. (Old svn revision: 17147)
Diffstat (limited to 'FAQ')
-rw-r--r--FAQ24
1 files changed, 24 insertions, 0 deletions
diff --git a/FAQ b/FAQ
new file mode 100644
index 00000000..c4faefee
--- /dev/null
+++ b/FAQ
@@ -0,0 +1,24 @@
+This file contains a list of frequently asked questions about Thunar and the
+appropriate answers to these questions.
+
+
+1. What is Thunar?
+==================
+
+ Thunar is a fast and easy-to-use file manager for the X Window System, with a
+ special focus on the Xfce Desktop Environment.
+
+
+2. Why doesn't Thunar execute files marked as executable?
+=========================================================
+
+ For security reasons Thunar only executes files of type application/x-desktop,
+ application/x-executable and application/x-shellscript. For desktop files
+ the execution feature will only be enabled if the desktop file is of type
+ Application and a valid Exec line is given. For the other types the feature
+ is available if the file is marked executable for the current user.
+
+ Also note that for application/x-executable and application/x-shellscript, the
+ types of the file don't really need to match these types exactly, but it is
+ suffice if the detected type has a parent that matches one of the two types
+ listed above, or if the MIME-type is an alias for one of the above.