Page MenuHomePureOS Tracker

XDG dirs not visible on first boot after fresh OEM install
Closed, ResolvedPublic


After a fresh PureOS OEM install on my Librem 13 v2 the XDG dirs are not visible on first boot. Only the "Desktop" dir is present.
After a system upgrade and a reboot they are visible.
I think that all dirs should be visible straight away.

Event Timeline

francois created this task.Jun 27 2017, 05:43
francois triaged this task as High priority.Jun 27 2017, 07:22
francois added a project: Restricted Project.
francois added a comment.Aug 9 2017, 04:37

After trying on a new install on a Librem 13 v2, the dirs are not present even after a system upgrade.

mak added a comment.Aug 11 2017, 16:12

Weird... Could be a GNOME bug. So far, I haven't managed to reproduce this, but this bug is currently blocked on the OEM installer freeze issue.

When running the live usb key, the directories are not present neither. It is maybe related?
I think that they should be present in order to show the user who is testing the OS before installing that those essential directories exist in the distro.

mak added a comment.Aug 12 2017, 09:33

Hmm, xdg-user-dirs is present and therefore this should work.
I'll need to look at what the shell does here when I'm back home.

mak added a comment.Aug 16 2017, 18:53

This is this bug:
Should be fixed soonish in Debian and PureOS.

mak added a comment.Aug 16 2017, 19:18

I've sent a patch upstream, and will apply a fix in the Debian (and thereby PureOS package) after some brief discussion with the GNOME team, since the patch we mean we need to change the startup method away from Xsession.d startup entirely, and I am not sure if that breaks anything (I would say no, but there might be some weird corner case or DE I don't know).

mak closed this task as Resolved.Aug 18 2017, 11:23

This is resolved with xdg-user-dirs 0.15-3, which should be available in PureOS in a few hours as well.

Beautiful! Well done @mak ! :)