~ubuntu-branches/ubuntu/saucy/gnome-user-docs/saucy

« back to all changes in this revision

Viewing changes to gnome-help/ja/nautilus-behavior.page

  • Committer: Package Import Robot
  • Author(s): Matthew Fischer
  • Date: 2013-05-26 20:07:34 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20130526200734-g73i8zzk4nruad2x
Tags: 3.8.1-0ubuntu1
* New upstream release (LP: #1184461)
  - Updates to GNOME Help
  - Updated translations
  - Updates to System Admin Guide
* Bump Standards-Version to 3.9.4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
      <name>Michael Hill</name>
21
21
      <email>mdhillca@gmail.com</email>
22
22
    </credit>
 
23
    <credit type="editor">
 
24
      <name>Sindhu S</name>
 
25
      <email>sindhus@live.in</email>
 
26
    </credit>
23
27
    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
24
28
  
25
29
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
41
45
    </mal:credit>
42
46
  
43
47
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
 
48
      <mal:name>Shushi Kurose</mal:name>
 
49
      <mal:email>md81bird@hitaki.net</mal:email>
 
50
      <mal:years>2012</mal:years>
 
51
    </mal:credit>
 
52
  
 
53
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
44
54
      <mal:name>日本GNOMEユーザー会</mal:name>
45
55
      <mal:email>http://www.gnome.gr.jp/</mal:email>
46
56
      <mal:years>2011, 2012</mal:years>
63
73
</section>
64
74
<section id="executable">
65
75
<title>実行可能なテキストファイル</title>
66
 
 <p>実行可能なテキストファイルとは、実行できるプログラムを含んだファイルのことです。<link xref="nautilus-file-properties-permissions">ファイルのアクセス権</link>としてプログラムとして実行する権限が与えられている必要もあります。最もよく見られるものとしては、シェルスクリプトや、Python スクリプト、Perl スクリプトがあります。それぞれ拡張子は、.sh、.py、.pl となります。</p>
67
 
 <p><gui>開いたら実行可能なテキストファイルを実行する</gui>、<gui>開いたら実行可能なテキストファイルの中身を表示する</gui>、あるいは<gui>毎回確認する</gui>のいずれかを選択できます。最後のオプションを有効にすれば、選択したテキストファイルを実行するか、中身を表示するかを確認するウィンドウが表示されます。</p>
68
 
 
 
76
 <p>An executable text file is a file that contains a program that you can run
 
77
 (execute). The <link xref="nautilus-file-properties-permissions">file
 
78
 permissions</link> must also allow for the file to run as a program. The most
 
79
 common are <sys>Shell</sys>, <sys>Python</sys> and <sys>Perl</sys> scripts.
 
80
 These have extensions <file>.sh</file>, <file>.py</file> and <file>.pl</file>,
 
81
 respectively.</p>
 
82
 
 
83
 <p>When you open an executable text file, you can select from:</p>
 
84
 
 
85
 <list>
 
86
  <item>
 
87
    <p><gui>Run executable text files when they are opened</gui></p>
 
88
  </item>
 
89
  <item>
 
90
    <p><gui>View executable text files when they are opened</gui></p>
 
91
  </item>
 
92
  <item>
 
93
    <p><gui>Ask each time</gui></p>
 
94
  </item>
 
95
 </list>
 
96
 
 
97
 <p>If <gui>Ask each time</gui> is selected, a dialog will pop up asking if you
 
98
 wish to run or view the selected text file.</p>
 
99
 
 
100
 <p>Executable text files are also called scripts. All scripts in
 
101
 <file>~/.local/share/nautilus/scripts</file> folder will appear in the context
 
102
 menu for a file under the <gui style="menuitem">Scripts</gui> submenu. When a
 
103
 script is executed from a local folder, all selected files will be pasted to
 
104
 the script as parameters. To execute a script on a file:</p>
 
105
 
 
106
<steps>
 
107
  <item>
 
108
    <p>Navigate to the desired folder.</p>
 
109
  </item>
 
110
  <item>
 
111
    <p>Select the desired file.</p>
 
112
  </item>
 
113
  <item>
 
114
    <p>Right click on the file to open the context menu and select the desired
 
115
    script to execute from the <gui style="menuitem">Scripts</gui> menu.</p>
 
116
  </item>
 
117
</steps>
 
118
 
 
119
 <note style="important">
 
120
  <p>A script will not be passed any parameters when executed from a remote
 
121
  folder such as a folder showing web or <sys>ftp</sys> content.</p>
 
122
 </note>
69
123
 
70
124
</section>
71
125
<section id="trash">