2005-11-22 12:26:26 +00:00
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2006-06-04 13:10:16 +00:00
< html xmlns = "http://www.w3.org/1999/xhtml" > < 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 = " 			Geany 0.7 		" / > < 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 = "Search and Replace" / > < / head > < body > < 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" xml:lang = "en" > < div class = "titlepage" > < div > < div > < h2 class = "title" style = "clear: both" > < a id = "general" > < / a > General< / h2 > < / div > < / div > < / div > < div class = "section" lang = "en" xml:lang = "en" > < div class = "titlepage" > < div > < div > < h3 class = "title" > < a id = "general_startup" > < / a > Startup< / h3 > < / div > < / div > < / div > < p >
At startup, Geany loads the first 15 files from the last time
2005-12-21 19:42:55 +00:00
< span class = "application" > Geany< / span > was launched. You can disable this feature in the
preferences dialog(see < a href = "ch03s05.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
2006-06-04 13:10:16 +00:00
the command line, only these files will be opened, but you can find the files from the
last session in the file menu under the "Recent files" item. This contains the last
15 recently opened files. It may be that Geany loads not exactly 15 session files, this depends
on the compile time option GEANY_SESSION_FILES; the default is 15. For details see
2005-12-21 19:42:55 +00:00
< a href = "ch03s05.html#cto" title = "Compile time options" > the section called “Compile time options”< / a > .
2006-06-02 20:01:57 +00:00
< / p > < / div > < div class = "section" lang = "en" xml:lang = "en" > < div class = "titlepage" > < div > < div > < h3 class = "title" > < a id = "general_fifo" > < / a > Detection of a running instance< / h3 > < / div > < / div > < / div > < p >
2006-06-04 13:10:16 +00:00
Geany detects an already running instance of itself and opens new files in the already running one.
2006-04-27 17:53:06 +00:00
So, you can use Geany like an editor to view and edit files by opening them from other
2006-06-04 13:10:16 +00:00
programs. If you do not like this for some reason, you can disable it with the appropriate
command line option.
2006-04-27 17:53:06 +00:00
< / p > < p >
In the case that Geany crashed, you will get a message dialog at the next start,
which asks you whether to delete an existing named pipe. If you are sure that there is
2006-06-04 13:10:16 +00:00
no other instance of Geany is running, you can say Yes and Geany will start as usual.
2006-04-27 17:53:06 +00:00
Otherwise click No and Geany will not start.
2006-06-02 20:01:57 +00:00
< / p > < / div > < div class = "section" lang = "en" xml:lang = "en" > < div class = "titlepage" > < div > < div > < h3 class = "title" > < a id = "general_ctags" > < / a > Global C tags< / h3 > < / div > < / div > < / div > < p >
2006-06-04 13:10:16 +00:00
If a C file (with extension .c, .cpp, .h, etc.) is opened, a global tags file is
loaded once, which contains many function declarations from glibc and some other
2005-12-21 19:42:55 +00:00
libraries, like X, Bonobo, Gnome, GTK, Glib and so on. These declarations are used
for call tips and auto completion. These tags are only useful if you are writing
2006-06-04 13:10:16 +00:00
C or C++ source code, so if you know that you do not need these things, you can skip
2005-12-21 19:42:55 +00:00
loading this tag file. To do so, start < span class = "application" > Geany< / span > with the
2006-06-04 13:10:16 +00:00
argument "-n" or "--no-ctags", for more information see < a href = "ch03s02.html" title = "Command line options" > the section called “Command line options”< / a > .
2006-06-02 20:01:57 +00:00
< / p > < / div > < div class = "section" lang = "en" xml:lang = "en" > < div class = "titlepage" > < div > < div > < h3 class = "title" > < a id = "general_vte" > < / a > Virtual terminal emulator widget (VTE)< / h3 > < / div > < / div > < / div > < p >
If you have installed < code class = "filename" > libvte.so< / code > in your system, it is loaded
2006-06-04 13:10:16 +00:00
automatically by < span class = "application" > Geany< / span > , and you will have a terminal widget
2005-12-21 19:42:55 +00:00
in the notebook at the bottom.
< / p > < p >
2006-06-02 20:01:57 +00:00
If < span class = "application" > Geany< / span > cannot find < code class = "filename" > libvte.so< / code > at
2005-12-21 19:42:55 +00:00
startup, the terminal widget will not be loaded. So there is no need to install the
package containing this file in order to run < span class = "application" > Geany< / span > .
2006-06-04 13:10:16 +00:00
Additionally, you can disable the use of the terminal widget by command line option,
for more information see < a href = "ch03s02.html" title = "Command line options" > the section called “Command line options”< / a > .
2005-12-21 19:42:55 +00:00
< / p > < p >
You can use this terminal (from now on called VTE) nearly as an usual terminal program
2006-06-04 13:10:16 +00:00
like xterm. There is basic clipboard support. You can paste the contents
of the clipboard by pressing the right mouse button to open the popup menu and
choosing Paste.
2005-12-21 19:42:55 +00:00
To copy text from the VTE, just select the desired text and then press the
right mouse button and choose Copy from the popup menu.
2006-06-04 13:10:16 +00:00
On systems running the X Window System you can paste the last selected text by
pressing the middle mouse button in the VTE (on 2-button mice,
the middle button can often be simulated by pressing both mouse buttons together).
2006-06-02 20:01:57 +00:00
< / 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
load < code class = "filename" > libvte.so.4< / code > . If this fails too, you should check whether
2006-06-04 13:10:16 +00:00
you installed libvte correctly. Again, Geany also runs without this library.
< / p > < p >
It could be, that the library is called something else than
2006-06-02 20:01:57 +00:00
< code class = "filename" > libvte.so.4< / code > (e.g. on FreeBSD 6.0 it is called
< code class = "filename" > libvte.so.8< / code > ). So please set a link to the correct file (as root).
< / 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 >
2005-12-21 19:42:55 +00:00
Obviously, you have to adjust the paths and set X to the number of your
2006-06-02 20:01:57 +00:00
< code class = "filename" > libvte.so< / code > .
2006-06-04 13:10:16 +00:00
< / 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" > Search and Replace< / td > < / tr > < / table > < / div > < / body > < / html >