| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 |
<html><head> |
| 3 |
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> |
| 4 |
<title>Exporting a Configuration</title> |
| 5 |
</head> |
| 6 |
<body style="background-color: rgb(255, 255, 255); direction: ltr;"> |
| 7 |
<center> |
| 8 |
<table style="margin-left: auto; margin-right: auto; width: 100%; text-align: center;" border="0" cellpadding="2" cellspacing="2"> |
| 9 |
<tbody> |
| 10 |
<tr> |
| 11 |
<td style="width: 33%; text-align: center;"><a href="ConfiguringMisc.htm"><img src="back.gif" alt="Configuring Miscellany" align="top" border="0"></a> <a href="ConfiguringMisc.htm">Configuring Miscellany</a></td> |
| 12 |
<td style="width: 34%; text-align: center;"> <a href="Configure.htm"><img src="up.gif" alt="Configuring 4Pane" align="top" border="0"></a> <a href="Configure.htm">Configuring 4Pane</a></td> |
| 13 |
<td style="width: 33%; text-align: center;"> <a align="middle" href="ContextMenu.htm">The Context Menu</a> <a href="ContextMenu.htm"><img src="forward.gif" alt="The Context Menu" align="top" border="0"></a></td> |
| 14 |
</tr> |
| 15 |
</tbody> |
| 16 |
</table> |
| 17 |
|
| 18 |
</center> |
| 19 |
<hr> |
| 20 |
|
| 21 |
<h2><u>Exporting a Configuration</u></h2> |
| 22 |
<p> |
| 23 |
Most people won't want to do this! 4Pane creates and uses a configuration file, ~/.4Pane, which is specific to your software and hardware; |
| 24 |
not to mention any personal choices that you've made.<br><br> |
| 25 |
|
| 26 |
However there are three reasons that I can think of to want some or all of this configuration to be passed to other machines. |
| 27 |
<ol> |
| 28 |
<li>If you happen to have two or more identical setups. In that case you'd configure one box, then just copy ~/.4Pane to the others. |
| 29 |
<li>If you have the same software running on several machines with different hardware. |
| 30 |
<li>If you're a packager for a distro, creating a 4Pane package :D. You might want to specify e.g. default editors or file associations |
| 31 |
that are appropriate for that distro. |
| 32 |
</ol> |
| 33 |
|
| 34 |
In the second two cases you'd want to copy just some of the configuration. This can be done from the dialog that you get when you click the |
| 35 |
"Export Configuration File" button in <i>Options > Configure 4Pane > Misc > Other</i>. You can choose to export data about any or all of: |
| 36 |
<ul> |
| 37 |
<li>User-defined Tools |
| 38 |
<li>Editors |
| 39 |
<li>Device-mounting |
| 40 |
<li>Terminals |
| 41 |
<li>File Associations |
| 42 |
</ul> |
| 43 |
|
| 44 |
The selected parts of your current configuration will be saved in your home directory, as file called <b>4Pane.conf</b>.<br><br> |
| 45 |
|
| 46 |
When 4Pane starts, it looks for its configuration file. If it can't find one, the setup wizard opens. This normally creates a configuration |
| 47 |
file containing data that is, as far as possible, appropriate for your machine and distro. However it first looks for a file called either |
| 48 |
4Pane.conf or 4pane.conf; looking first in $HOME, then in the current working directory, and finally in /etc/4Pane/ and /etc/4pane/. If one |
| 49 |
of these exists, any saved data is used instead of the wizard's guesses.<br><br> |
| 50 |
|
| 51 |
So to copy your preferences to a different machine, export them as above, and transfer 4Pane.conf to the other machines' $HOME. To use 4Pane.conf |
| 52 |
in a packaging situation, arrange for it to be installed in one of those places, presumably /etc/4[Pp]ane/. |
| 53 |
|
| 54 |
</p> |
| 55 |
</body> |
| 56 |
</html> |