Please support the XDG base directory specification

Reported by Jeremy Bicha on 2013-01-26
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Compiz
Medium
Sam Spilsbury
compiz (Ubuntu)
Undecided
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 Bicha (jbicha) on 2013-01-26
description: updated
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 Bicha (jbicha) on 2013-01-26
description: updated
tags: added: compiz-0.9
Jeremy Bicha (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.

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) on 2013-07-24
Changed in compiz:
milestone: 0.9.10.0 → 0.9.11.0
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers