~ubuntu-branches/ubuntu/raring/geany/raring-proposed

« back to all changes in this revision

Viewing changes to doc/html/ch03s03.html

  • Committer: Bazaar Package Importer
  • Author(s): Damián Viano
  • Date: 2008-05-02 11:37:45 UTC
  • mfrom: (1.2.1 upstream) (9 hardy)
  • mto: (3.2.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20080502113745-xzp4g6dmovrpoj17
Tags: 0.14-1
New upstream release (Closes: #478126)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>General</title><link rel="stylesheet" href="geany.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="
2
 
                        Geany 0.9
3
 
                "><link rel="up" href="ch03.html" title="Chapter 3. Usage"><link rel="prev" href="ch03s02.html" title="Command line options"><link rel="next" href="ch03s04.html" title="Character sets and Unicode Byte-Order-Mark (BOM)"></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">General</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03s02.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Usage</th><td width="20%" align="right"> <a accesskey="n" href="ch03s04.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="general"></a>General</h2></div></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="general_startup"></a>Startup</h3></div></div></div><p>
4
 
                                        At startup, Geany loads the first 15 files from the last time
5
 
                                        <span class="application">Geany</span> was launched. You can disable this feature in the
6
 
                                        preferences dialog(see <a href="ch03s06.html#confdialog_gen" title="Figure 3.2. General tab in preferences dialog">Figure 3.2, “General tab in preferences dialog”</a>). If you specify some files on
7
 
                                        the command line, only these files will be opened, but you can find the files from the
8
 
                                        last session in the file menu under the "Recent files" item. This contains the last
9
 
                                        15 recently opened files. It may be that Geany loads not exactly 15 session files, this depends
10
 
                                        on the compile time option GEANY_SESSION_FILES; the default is 15. For details see
11
 
                                        <a href="ch03s06.html#cto" title="Compile time options">the section called “Compile time options”</a>.
12
 
                                </p><p>
13
 
                                        You can start several instances of Geany, but only the first will load files
14
 
                                        from the last session. To run a second instance of Geany, do not specify any
15
 
                                        filenames on the command-line, or disable opening files in a running instance
16
 
                                        using the appropriate command line option.
17
 
                                </p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="general_instance"></a>Opening files from the command-line in a running instance</h3></div></div></div><p>
18
 
                                        Geany detects an already running instance of itself and opens files from the
19
 
                                        command-line in the already running instance.
20
 
                                        So, Geany can be used to view and edit files by opening them from other
21
 
                                        programs such as a file manager. If you do not like this for some reason,
22
 
                                        you can disable using the first instance by using the appropriate command line
23
 
                                        option - see <a href="ch03s02.html" title="Command line options">the section called “Command line options”</a>.
24
 
                                </p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="general_vte"></a>Virtual terminal emulator widget (VTE)</h3></div></div></div><p>
25
 
                                        If you have installed <code class="filename">libvte.so</code> in your system, it is loaded
26
 
                                        automatically by <span class="application">Geany</span>, and you will have a terminal widget
27
 
                                        in the notebook at the bottom.
28
 
                                </p><p>
29
 
                                        If <span class="application">Geany</span> cannot find <code class="filename">libvte.so</code> at
30
 
                                        startup, the terminal widget will not be loaded. So there is no need to install the
31
 
                                        package containing this file in order to run <span class="application">Geany</span>.
32
 
                                        Additionally, you can disable the use of the terminal widget by command line option,
33
 
                                        for more information see <a href="ch03s02.html" title="Command line options">the section called “Command line options”</a>.
34
 
                                </p><p>
35
 
                                         You can use this terminal (from now on called VTE) nearly as an usual terminal program
36
 
                                         like xterm. There is basic clipboard support. You can paste the contents
37
 
                                         of the clipboard by pressing the right mouse button to open the popup menu and
38
 
                                         choosing Paste.
39
 
                                         To copy text from the VTE, just select the desired text and then press the
40
 
                                         right mouse button and choose Copy from the popup menu.
41
 
                                         On systems running the X Window System you can paste the last selected text by
42
 
                                         pressing the middle mouse button in the VTE (on 2-button mice,
43
 
                                         the middle button can often be simulated by pressing both mouse buttons together).
44
 
                                </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>Geany tries to load <code class="filename">libvte.so</code>. If this fails, it tries to
45
 
                                                  load <code class="filename">libvte.so.4</code>. If this fails too, you should check whether
46
 
                                                  you installed libvte correctly. Again, Geany also runs without this library.
47
 
                                        </p><p>
48
 
                                                  It could be, that the library is called something else than
49
 
                                                  <code class="filename">libvte.so.4</code> (e.g. on FreeBSD 6.0 it is called
50
 
                                                  <code class="filename">libvte.so.8</code>). So please set a link to the correct file (as root).
51
 
                                                  </p><pre class="screen"><code class="prompt">#</code> <strong class="userinput"><code><span><strong class="command">ln -s /usr/lib/libvte.so.X /usr/lib/libvte.so.4</strong></span></code></strong></pre><p>
52
 
                                                  Obviously, you have to adjust the paths and set X to the number of your
53
 
                                                  <code class="filename">libvte.so</code>.
54
 
                                        </p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03s02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch03.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch03s04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Command line options </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Character sets and Unicode Byte-Order-Mark (BOM)</td></tr></table></div></body></html>