Please support the XDG base directory specification

Bug #1105785 reported by Jeremy Bícha
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Compiz
Triaged
Medium
Unassigned
compiz (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Please support the XDG base directory specification. It looks like compiz in Ubuntu 13.04 Alpha uses ~/.compiz to store its cache. The cache should be stored in $XDG_CACHE_HOME/compiz instead

This will make backups noticeably easier and will help reduce the excessively cluttered home directory problem.

More information at http://standards.freedesktop.org/basedir-spec/latest/ar01s03.html or https://live.gnome.org/GnomeGoals/XDGConfigFolders or http://ploum.net/post/207-modify-your-application-to-use-xdg-folders

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: compiz 1:0.9.9~daily13.01.21-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-1.5-generic 3.8.0-rc4
Uname: Linux 3.8.0-1-generic x86_64

Jeremy Bícha (jbicha)
description: updated
Revision history for this message
Sam Spilsbury (smspillaz) wrote : Re: [Bug 1105785] [NEW] Please support the XDG base directory specification
Download full text (5.6 KiB)

Yeah you're probably right.

Though we store binary data there too which is probably not portable. Shall
we keep that in ~/.compiz?
On 26/01/2013 4:15 PM, "Jeremy Bicha" <email address hidden> wrote:

> Public bug reported:
>
> Please support the XDG base directory specification. It looks like
> compiz in Ubuntu 13.04 Alpha uses ~/.compiz to store its cache. The
> cache should be stored in $XDG_CACHE_HOME/compiz instead
>
> This will make backups noticeably easier and will help reduce the
> excessively cluttered home directory problem.
>
> More information at http://standards.freedesktop.org/basedir-
> spec/latest/ar01s03.html or
> https://live.gnome.org/GnomeGoals/XDGConfigFolders
>
> ProblemType: Bug
> DistroRelease: Ubuntu 13.04
> Package: compiz 1:0.9.9~daily13.01.21-0ubuntu1
> ProcVersionSignature: Ubuntu 3.8.0-1.5-generic 3.8.0-rc4
> Uname: Linux 3.8.0-1-generic x86_64
>
> ** Affects: compiz
> Importance: Undecided
> Status: New
>
> ** Affects: compiz (Ubuntu)
> Importance: Undecided
> Status: New
>
>
> ** Tags: amd64 apport-bug raring third-party-packages ubuntu
>
> ** Also affects: compiz
> Importance: Undecided
> Status: New
>
> ** Description changed:
>
> Please support the XDG base directory specification. It looks like
> compiz in Ubuntu 13.04 Alpha uses ~/.compiz to store its cache. The
> cache should be stored in $XDG_CACHE_HOME/compiz instead
>
> This will make backups noticeably easier and will help reduce the
> excessively cluttered home directory problem.
>
> More information at http://standards.freedesktop.org/basedir-
> spec/latest/ar01s03.html or
> https://live.gnome.org/GnomeGoals/XDGConfigFolders
>
> ProblemType: Bug
> DistroRelease: Ubuntu 13.04
> Package: compiz 1:0.9.9~daily13.01.21-0ubuntu1
> ProcVersionSignature: Ubuntu 3.8.0-1.5-generic 3.8.0-rc4
> Uname: Linux 3.8.0-1-generic x86_64
> - .tmp.unity.support.test.0:
> -
> - ApportVersion: 2.8-0ubuntu2
> - Architecture: amd64
> - CompizPlugins: No value set for
> `/apps/compiz-1/general/screen0/options/active_plugins'
> - CompositorRunning: None
> - Date: Sat Jan 26 01:48:22 2013
> - DistUpgraded: Fresh install
> - DistroCodename: raring
> - DistroVariant: ubuntu
> - DkmsStatus: virtualbox, 4.1.22, 3.8.0-1-generic, x86_64: installed
> - GraphicsCard:
> - Intel Corporation 2nd Generation Core Processor Family Integrated
> Graphics Controller [8086:0116] (rev 09) (prog-if 00 [VGA controller])
> - Subsystem: Toshiba America Info Systems Device [1179:fcd0]
> - MachineType: TOSHIBA Satellite L745
> - MarkForUpload: True
> - PackageArchitecture: all
> - ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-1-generic
> root=UUID=da074346-bf87-4cf5-a9ec-8589cb501c4e ro quiet splash
> usbcore.autosuspend=-1 vt.handoff=7
> - SourcePackage: compiz
> - UpgradeStatus: No upgrade log present (probably fresh install)
> - dmi.bios.date: 06/26/2012
> - dmi.bios.vendor: INSYDE
> - dmi.bios.version: 2.60
> - dmi.board.asset.tag: Base Board Asset Tag
> - dmi.board.name: Base Board Product Name
> - dmi.board.vendor: Intel Corp.
> - dmi.board.version: Base Board Version
> - dmi.chassis.asset.tag: No Asset Tag
> - dmi.chassis.typ...

Read more...

Jeremy Bícha (jbicha)
description: updated
tags: added: compiz-0.9
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I think the fact that it may not be portable is all the more reason it should go in $XDG_CACHE_HOME/compiz unless some of the stuff should rather go in $XDG_RUNTIME_DIR (I don't really know what the purpose of the ~/.compiz files is).

Smart backup tools like Deja Dup already exclude those directories.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in compiz (Ubuntu):
status: New → Confirmed
Changed in compiz:
importance: Undecided → Medium
milestone: none → 0.9.9.2
status: New → Confirmed
assignee: nobody → Sam Spilsbury (smspillaz)
Changed in compiz:
milestone: 0.9.9.2 → 0.9.10.0
MC Return (mc-return)
Changed in compiz:
milestone: 0.9.10.0 → 0.9.11.0
Stephen M. Webb (bregma)
Changed in compiz:
assignee: Sam Spilsbury (smspillaz) → nobody
milestone: 0.9.11.0 → 0.9.12.1
Changed in compiz (Ubuntu):
importance: Undecided → Medium
Changed in compiz:
status: Confirmed → Triaged
Changed in compiz (Ubuntu):
status: Confirmed → Triaged
Stephen M. Webb (bregma)
Changed in compiz:
milestone: 0.9.12.1 → 0.9.12.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.