Need help with ubuntu yakkety packages

Alexander Larsson alexl at redhat.com
Thu Oct 27 07:57:15 UTC 2016


On tor, 2016-10-27 at 07:54 +0200, Tobias Mueller wrote:
> Hi.
> 
> On Wed, Oct 26, 2016 at 07:49:22PM +0200, Alexander Larsson wrote:
> > 
> > I just built the xenial pacakges in the Ubuntu PPA for yakkety, and
> FWIW: I have 0.6.13-0alexlarsson1~xenial1 installed, so I don't
> whehter it's relevant that it seems to be working me...
> 
> > 
> > mostly they seem to work. However, the desktop integration is not
> > working for some reason. The /var/lib/flatpak/exports/share
> > directory
> > does appear in XDG_DATA_DIRS, but the desktop files there just
> > doesn't
> > show up in unity.
> Why do you expect XDG_DATA_DIRS to be set in first place?
> 
> My quick guess, without debugging it, is that the flatpak package
> does
> not install the relevant configuration to modify that environment
> variable.

Yeah, the once we do are not early enough to get picked up by unity.
However, what configuration would work for us here?

> /usr/share/gdm/env.d/flatpak.env
> but that may not help for lightdm which, I think, is the default
> display manager
> under Ubuntu.

There is also:

/usr/share/dbus-1/system-
services/org.freedesktop.Flatpak.SystemHelper.service

Which was added as its needed for systemd --user activated dbus
service.

The need for all these weird distro-specific hacks is kinda
unfortunate, and we've been talking about solving this at the PAM level
instead, but for now we kinda have to hack it until it works.

> With what display manager have you tried it?

I just tried it with the default install, which is LightDM i guess.

> The Internet suggests, that LightDM uses the XSession mechanism.
> <https://wiki.ubuntu.com/LightDM>
> I suppose that putting something into /etc/X11/Xsession.d/,
> which currenty doesn't seem to be the case, might help.


This seems to be what snappy does with the /etc/X11/Xsession.d/65snappy
file. Anyone want to work on something similar for flatpak?

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl at redhat.com            alexander.larsson at gmail.com 
He's a gun-slinging shark-wrestling assassin looking for 'the Big One.' 
She's a green-fingered bisexual Valkyrie with an evil twin sister. They 
fight crime! 



More information about the xdg-app mailing list