Configuration File

From PsiWiki

Jump to: navigation, search


[edit] Finding config.xml

  1. Close Psi.
  2. Find your config.xml file, depending on your operating system:
    Linux, MacOS X and other Unices:</dt>
    $PSIDATADIR/profiles/profilename/config.xml</dd>
    Windows (all versions):</dt>
    %PSIDATADIR%\profiles\profilename\config.xml</dd>
    where:
    $PSIDATADIR or %PSIDATADIR%</dt>
    is the location of Psi's data files, see $PSIDATADIR</dd>
    profilename</dt>
    name of your profile in Psi</dd>
  3. Make a backup of config.xml.

[edit] Changing roster item order

WARNING
Beware of the Psi bug FS#425. If you change <group>alpha</group> to <group>rank</group>, showSelf, showHidden, showAgents and showOffline will all be set permanently to "true". Changing this in config.xml file won't help. The values will be rewriten to "true" when you close Psi.
  1. Locate your config.xml file, as described above. Make sure you've created a backup copy of the file.
  2. Edit config.xml:
    1. Find
       <preferences>
         <general>
           <roster>
      

      tags in this file, you should have something like

        <sortStyle>
          <contact>status</contact>
          <group>alpha</group>
          <account>rank</account>
        </sortStyle>
      
      nearby.
    2. To change the way accounts are sorted, modify the value between <account> and </account> tags. Possible values are: rank (by manual rank) and alpha (alphabetic, default).
    3. To change the way groups are sorted, modify the value between <group> and </group> tags. Possible values are: rank (by manual rank) and alpha (alphabetic, default).
    4. To change the way contacts are sorted, modify the value between <contact> and </contact> tags. Possible values are: alpha (alphabetic) and status (status, default).
    5. If you want to change ordering of groups or accounts, find all occurences of <groupState> tags in config.xml. Note that groups are stored separately for each account (single <groupState> tag describes all groups within one account) and account is treated as a special group (having name starting with /\/ and ending with \/\).
    6. Each group and account has associated <group> tag, with rank parameter. Change the value of rank parameter. If group sorting rule for groups is set to rank, groups will be ordered with ascending ranks within the account.
    7. Accounts are also ordered with ascending ranks, if account sorting rule is set to rank.
    8. In both cases, if two or more groups (or accounts) have the same rank value, their order is not defined (usually, groups or accounts with the same ranks are sorted alphabetically).
  3. Save config.xml file.
  4. Run Psi again.


[edit] Using Psi installed on removable USB device

TODO: merge this with USB How To

Windows XP, Windows Server 2003 (similar on Windows 2000): You may also create a special script, to boot your Psi from your removable USB device:</dt>

  • place Psi anywhere on your USB device (fe. "\psi"). For example, just copy "Psi" from your "Program Files" directory
  • create "psidata" directory inside "\psi" directory
  • if you would like to use existing profile with USB device, copy your "profiles" to USB device "\psi\psidata"
  • create the script (anywhere on the USB device), with extension ".bat", fe. "psistart.bat":
@echo off
set PSIDATADIR=\psi\psidata
cd \psi
start psi.exe
  • save it and use it ;) It does not need any system reboot etc..

</dd>

Note: A very nice portable Loader can be found at the GnuPT-Homepage. Standalone and it does NOT need any GnuPG installed on your system. It works standalone and downloads all required components for using GnuPG with PSI. The Loader creates a backup of the configuration files, when an update of Psi comes.


TODO:

  • the low level of the headings (because of the integration in the big User Guide) makes the page visually diffictul to follow
  • some other structuring of the content is needed
  • merge in backup information from http://psi-im.org/wiki/Configuration_backup
Personal tools