Configuration File
From PsiWiki
[edit] Finding config.xml
- Close Psi.
- 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>
- $PSIDATADIR or %PSIDATADIR%</dt>
- is the location of Psi's data files, see $PSIDATADIR</dd>
- profilename</dt>
- name of your profile in Psi</dd>
- 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. |
- Locate your config.xml file, as described above. Make sure you've created a backup copy of the file.
- Edit config.xml:
- 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. - 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).
- 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).
- To change the way contacts are sorted, modify the value between <contact> and </contact> tags. Possible values are: alpha (alphabetic) and status (status, default).
- 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 \/\).
- 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.
- Accounts are also ordered with ascending ranks, if account sorting rule is set to rank.
- 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).
- Find
- Save config.xml file.
- 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>
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