1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Fr�gor och svar</title><link rel="stylesheet" href="../thunar.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Filhanteraren Thunar"><link rel="up" href="index.html" title="Filhanteraren Thunar"><link rel="prev" href="advanced-topics.html" title="Avancerade �mnen"><link rel="next" href="support.html" title="Support"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Fr�gor och svar</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="advanced-topics.html">F�reg�ende</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="support.html">N�sta</a></td></tr></table><hr></div><div class="sect1" title="Fr�gor och svar"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="faq"></a>Fr�gor och svar</h2></div></div></div><p>
2
The intent of this section is to collect the quite numerous frequently asked
3
questions that relate to working with Thunar. If you know of a question that
4
is missing from this page, please <a class="ulink" href="http://bugzilla.xfce.org/enter_bug.cgi?product=Thunar&format=guided" target="_top">file
6
</p><div class="sect2" title="Why doesn't Thunar execute files marked as executable?"><div class="titlepage"><div><div><h3 class="title"><a name="faq-executables"></a>Why doesn't Thunar execute files marked as executable?</h3></div></div></div><p>
7
For security reasons Thunar only executes files of type <code class="literal">application/x-desktop</code>,
8
<code class="literal">application/x-executable</code> and <code class="literal">application/x-shellscript</code>. For
9
desktop files the execution feature will only be enabled if the desktop file is of type
10
<code class="literal">Application</code> and a valid <code class="literal">Exec</code> line is given or of type
11
<code class="literal">Link</code> and a valid <code class="literal">URL</code> is given. For the other types the feature
12
is available if the file is marked executable for the current user.
14
Also note that for <code class="literal">application/x-executable</code> and <code class="literal">application/x-shellscript</code>,
15
the types of the file don't really need to match these types exactly, but it is suffice if the detected
16
type has a parent that matches one of the two types listed above, or if the MIME-type is an alias for
18
</p></div><div class="sect2" title="Where does Thunar store the metadata associated with files?"><div class="titlepage"><div><div><h3 class="title"><a name="faq-metadata"></a>Where does Thunar store the metadata associated with files?</h3></div></div></div><p>
19
Thunar associates various settings with files/folders, which we call metadata.
20
This metadata for all files is stored in tdb database file, which is called
21
the metafile. The database file is stored in
22
<code class="filename">$XDG_CACHE_HOME/Thunar/metafile.tdb</code> and can be examined
23
using the <span class="command"><strong>tdbtool</strong></span>, which is part of the Thunar distribution
24
(located in the <code class="filename">tdb/</code> subdirectory).
25
</p></div><div class="sect2" title="Where does Thunar store its preferences?"><div class="titlepage"><div><div><h3 class="title"><a name="faq-thunarrc"></a>Where does Thunar store its preferences?</h3></div></div></div><p>
26
Thunar stores the user configurable preferences (and hidden settings) in
27
an <code class="filename">.ini</code> file, which is located at
28
<code class="filename">$XDG_CONFIG_HOME/Thunar/thunarrc</code> and can be examined
29
using a text editor. See <code class="filename">docs/README.thunarrc</code> for an
30
overview of the various preferences.
31
</p></div><div class="sect2" title="How to use mouse gestures in Thunar?"><div class="titlepage"><div><div><h3 class="title"><a name="faq-mouse-gestures"></a>How to use mouse gestures in Thunar?</h3></div></div></div><p>
32
Thunar currently features basic support for so called <span class="emphasis"><em>mouse gestures</em></span>
33
in its icon view. You can use these <span class="emphasis"><em>mouse gestures</em></span> by holding down
34
the middle mouse button (usually the mouse wheel) while the mouse pointer is on the
35
background area of the icon view component (any area that is not covered by
36
an icon or a text). Now you can move the cursor into four directions to
37
perform certain actions, which are described below.
38
</p><table border="0" summary="Simple list" class="simplelist"><tr><td><span class="guilabel"><strong>Left</strong></span> - opens the previous visited folder</td></tr><tr><td><span class="guilabel"><strong>Up</strong></span> - opens the parent folder</td></tr><tr><td><span class="guilabel"><strong>Right</strong></span> - opens the next visited folder</td></tr><tr><td><span class="guilabel"><strong>Down</strong></span> - reloads the current folder</td></tr></table></div><div class="sect2" title="How do I assign different keyboard shortcuts?"><div class="titlepage"><div><div><h3 class="title"><a name="faq-assign-keyboard-shortcuts"></a>How do I assign different keyboard shortcuts?</h3></div></div></div><p>
39
If you want to rebind a shortcut, Thunar supports the standard GTK+ way
40
of changing shortcuts: simply hover over the menu option with the mouse
41
pointer and press the keyboard shortcut you want to rebind it to.
43
To delete a keyboard assignment, press the <span class="keycap"><strong>Backspace</strong></span> key
44
while you are on the menu entry.
46
If the shortcut doesn't change, then you need to enable the feature in
47
GTK+. This can be achieved in 3 ways:
48
</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
49
If you are running Xfce 4.3 or above then you can enable <span class="guilabel"><strong>Editable
50
menu accelerators</strong></span> in the <span class="guilabel"><strong>User Interface Preferences</strong></span>
52
</p></li><li class="listitem"><p>
53
If you are running GNOME then you can enable <span class="guilabel"><strong>Editable menu
54
accelerators</strong></span> in the <span class="guilabel"><strong>Menu and Toolbars</strong></span> control
56
</p></li><li class="listitem"><p>
57
Otherwise put the following in your <code class="filename">~/.gtkrc-2.0</code> file
58
(create the file if it doesn't exist):</p><pre class="screen">gtk-can-change-accels=1</pre><p>
59
</p></li></ul></div></div><div class="sect2" title="Where does Thunar store the keyboard shortcuts?"><div class="titlepage"><div><div><h3 class="title"><a name="faq-store-keyboard-shortcuts"></a>Where does Thunar store the keyboard shortcuts?</h3></div></div></div><p>
60
The custom keyboard shortcuts are stored in the standard GTK+ accel map format in a
61
file located at <code class="filename">$XDG_CONFIG_HOME/Thunar/accels.scm</code>. Lines starting
62
with <code class="literal">;</code> are comments. See the GTK+ documentation for details about the
65
If you are a packager or a system administrator and want to provide a system wide default
66
for the keyboard shortcuts, that is different from the default shortcuts in Thunar, you
67
can create a file <code class="filename">Thunar/accels.scm</code> in one of the <code class="envar">$XDG_CONFIG_DIRS</code>.
68
For example, if <code class="filename">/etc/xdg</code> is part of <code class="envar">$XDG_CONFIG_DIRS</code>
69
(the default for most Linux distributions), you can install system wide defaults to
70
<code class="filename">/etc/xdg/Thunar/accels.scm</code>. Thunar will then load shortcuts from this file on first startup.
71
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="advanced-topics.html">F�reg�ende</a>�</td><td width="20%" align="center">�</td><td width="40%" align="right">�<a accesskey="n" href="support.html">N�sta</a></td></tr><tr><td width="40%" align="left" valign="top">Avancerade �mnen�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Hem</a></td><td width="40%" align="right" valign="top">�Support</td></tr></table></div></body></html>