Skip to content

Configuration options

hbons edited this page Apr 15, 2012 · 30 revisions

There are a few default configuration options you can override by putting them in the config.xml found in the hidden /.config/sparkleshare/ folder (\AppData\Roaming\sparkleshare on Windows). They are "folders_path"; the locations of the folders you want to sync, "notifications; whether you want notification bubbles to pop up (this can also be toggled in the status icon menu, important notifications will still pop up) and "announcements_url" to specify your own announcements server to announce new changes to clients so they can sync instantly (by default a public anonymous server will be used).

<?xml version="1.0" encoding="UTF-8"?>
<sparkleshare>
  <user>
    <name>Hylke Bons</name>
    <email>[email protected]</email>
  </user>
  <folders_path>/home/user/custom/path</folders_path> // Optional
  <notifications>True</notifications> // Optional
  <folder>
    <name>SparkleShare-Design-Corner</name>
    <url>ssh://[email protected]/hbons/SparkleShare-Design-Corner</url>
    <backend>Git</backend>
  </folder>
  <folder>
    <name>SparkleShare</name>
    <url>ssh://[email protected]/hbons/SparkleShare</url>
    <backend>Git</backend>
    <path>/some/different/place</path> // Optional
    <announcements_url>irc://your-irc-server:1234</announcements_url> // Optional
  </folder>
</sparkleshare>