Marble/xdg: Difference between revisions

    From KDE TechBase
    (use wiki table)
    (begin to fill in the table)
    Line 11: Line 11:
      |-
      |-
      |  /home/user/.marble
      |  /home/user/.marble
      |  row 1, cell 2
      |  base directory, sub directories contain data and cache files, perhaps configuration also
      |  row 1, cell 3
      |  n/a
      |-
      |-
      |  /home/user/.marble/data
      |  /home/user/.marble/data
      |  row 2, cell 2
      |  base directory, sub directories contain data and cache files, perhaps configuration also
      |  row 2, cell 3
      |  n/a
      |-
      |-
      |  /home/user/.marble/data/cache/weather
      |  /home/user/.marble/data/cache/weather
      |  row 2, cell 2
      |  cached files of the weather plugin
      |  row 2, cell 3
      |  $XDG_CACHE_HOME/marble/weather
      |-
      |-
      |  /home/user/.marble/data/cache/wikipedia
      |  /home/user/.marble/data/cache/wikipedia
      |  row 2, cell 2
      |  cached files from wikipedia
      |  row 2, cell 3
      |  $XDG_CACHE_HOME/marble/wikipedia
      |-
      |-
      |  /home/user/.marble/data/cache/photo
      |  /home/user/.marble/data/cache/photo
      |  row 2, cell 2
      |  cached files of photo plugin
      |  row 2, cell 3
      |  $XDG_CACHE_HOME/marble/photo
      |-
      |-
      |  /home/user/.marble/data/cache
      |  /home/user/.marble/data/cache

    Revision as of 21:54, 12 January 2010

    http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545037

    In a typical Marble installation we have the following directory structure:

    Current directory Comment new XDG compliant directory
    /home/user/.marble base directory, sub directories contain data and cache files, perhaps configuration also n/a
    /home/user/.marble/data base directory, sub directories contain data and cache files, perhaps configuration also n/a
    /home/user/.marble/data/cache/weather cached files of the weather plugin $XDG_CACHE_HOME/marble/weather
    /home/user/.marble/data/cache/wikipedia cached files from wikipedia $XDG_CACHE_HOME/marble/wikipedia
    /home/user/.marble/data/cache/photo cached files of photo plugin $XDG_CACHE_HOME/marble/photo
    /home/user/.marble/data/cache row 2, cell 2 row 2, cell 3
    /home/user/.marble/data/placemarks row 2, cell 2 row 2, cell 3
    /home/user/.marble/data/maps row 2, cell 2 row 2, cell 3
    /home/user/.marble/data/maps/venus row 2, cell 2 row 2, cell 3
    /home/user/.marble/data/maps/venus/magellan row 2, cell 2 row 2, cell 3
    /home/user/.marble/data/maps/earth row 2, cell 2 row 2, cell 3
    /home/user/.marble/data/maps/earth/naturalearth row 2, cell 2 row 2, cell 3
    /home/user/.marble/data/maps/earth/naturalearth/0 row 2, cell 2 row 2, cell 3
    /home/user/.marble/data/maps/earth/naturalearth/0/000000 row 2, cell 2 row 2, cell 3
    /home/user/.marble/data/maps/earth/naturalearth/1 row 2, cell 2 row 2, cell 3
    /home/user/.marble/data/maps/earth/naturalearth/legend row 2, cell 2 row 2, cell 3
    /home/user/.marble/data/maps/moon/clementine row 2, cell 2 row 2, cell 3
    /home/user/.marble/data/maps/moon/moonhill row 2, cell 2 row 2, cell 3
    /home/user/.marble/data/maps/moon/moonelev row 2, cell 2 row 2, cell 3
    /home/user/.marble/data/maps/moon row 2, cell 2 row 2, cell 3
    /home/user/.marble/data/maps/mars/viking row 2, cell 2 row 2, cell 3
    /home/user/.marble/data/maps/mars row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/flags row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/mwdbii row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/bitmaps row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/stars row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/temp-july row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/srtm row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/srtm/0 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/srtm/0/000000 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/srtm/1 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/srtm/1/000001 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/srtm/1/000000 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/srtm/3 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/srtm/3/000006 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/srtm/3/000005 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/srtm/3/000003 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/srtm/3/000002 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/srtm/3/000001 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/srtm/3/000004 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/srtm/3/000007 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/srtm/3/000000 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/srtm/2 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/srtm/2/000003 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/srtm/2/000002 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/srtm/2/000001 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/srtm/2/000000 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/openstreetmap row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/openstreetmap/0 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/openstreetmap/0/0 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/openstreetmap/legend row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/precip-dec row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/plain row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/bluemarble row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/bluemarble/legend row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/temp-dec row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/schagen1689 row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/schagen1689/legend row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/citylights row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/citylights/legend row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/earth/precip-july row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/moon row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/maps/moon/clementine row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/placemarks row 2, cell 2 row 2, cell 3
    /usr/share/kde4/apps/marble/data/svg row 2, cell 2 row 2, cell 3