Image doesn't support XDG User DIrs spec

Bug #1219348 reported by James Henstridge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-touch-session (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Applications that use the XDG User Dirs spec to locate e.g. the music folder malfunction on the touch image due to a missing ~/.config/user-dirs.dirs file.

On the desktop, this is created by the xdg-user-dirs-gtk-update program that runs on login. There is also a version without the GTK specific features that can be run with:

    sudo apt-get install xdg-user-dirs
    xdg-user-dirs-update

That package doesn't contain anything to run it on login, so perhaps a simple upstart session job would be appropriate? This seems like a pretty simple change that would improve compatibility with existing code.

affects: touch-preview-images → ubuntu-touch-session (Ubuntu)
Revision history for this message
James Henstridge (jamesh) wrote :

From IRC:

17:58 <seb128> ogra_, jamesh: in the latest discussions it was not clear they wanted to support customisable/translatables dirs in touch
17:58 <seb128> that adds complexity and overhead
17:58 <seb128> especially for the app isolation/apparmor
17:58 <ogra_> who does that discussion ?
17:59 <jamesh> seb128: if we don't support customisable user dirs, we could still provide the config file pointing at the non-translated dirs
17:59 <seb128> jamesh, that would work for me

So if we don't do the full translatable special folders thing, it would still be nice to provide the ~/.config/user-dirs.dirs configuration file so that code that relies on the spec to locate the folders can see the untranslated folders.

Revision history for this message
David Planella (dpm) wrote : Re: [Bug 1219348] Re: Image doesn't support XDG User DIrs spec

I agree, and I don't think there is the need to translate the folder names
on the phone, as they will not be visible.

On Mon, Sep 2, 2013 at 12:03 PM, James Henstridge <
<email address hidden>> wrote:

> >From IRC:
>
> 17:58 <seb128> ogra_, jamesh: in the latest discussions it was not clear
> they wanted to support customisable/translatables dirs in touch
> 17:58 <seb128> that adds complexity and overhead
> 17:58 <seb128> especially for the app isolation/apparmor
> 17:58 <ogra_> who does that discussion ?
> 17:59 <jamesh> seb128: if we don't support customisable user dirs, we
> could still provide the config file pointing at the non-translated dirs
> 17:59 <seb128> jamesh, that would work for me
>
> So if we don't do the full translatable special folders thing, it would
> still be nice to provide the ~/.config/user-dirs.dirs configuration file
> so that code that relies on the spec to locate the folders can see the
> untranslated folders.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1219348
>
> Title:
> Image doesn't support XDG User DIrs spec
>
> Status in “ubuntu-touch-session” package in Ubuntu:
> New
>
> Bug description:
> Applications that use the XDG User Dirs spec to locate e.g. the music
> folder malfunction on the touch image due to a missing ~/.config/user-
> dirs.dirs file.
>
> On the desktop, this is created by the xdg-user-dirs-gtk-update
> program that runs on login. There is also a version without the GTK
> specific features that can be run with:
>
> sudo apt-get install xdg-user-dirs
> xdg-user-dirs-update
>
> That package doesn't contain anything to run it on login, so perhaps a
> simple upstart session job would be appropriate? This seems like a
> pretty simple change that would improve compatibility with existing
> code.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/ubuntu-touch-session/+bug/1219348/+subscriptions
>

Changed in ubuntu-touch-session (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-touch-session - 0.66

---------------
ubuntu-touch-session (0.66) saucy; urgency=low

  * make sure ~/.config/user-dirs.dirs is created on login if it does not
    exist yet (LP: #1219348)
 -- Oliver Grawert <email address hidden> Wed, 04 Sep 2013 16:01:03 +0200

Changed in ubuntu-touch-session (Ubuntu):
status: Confirmed → Fix Released
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.