xdg-app and gtkmm
Alexander Larsson
alexl at redhat.com
Wed Dec 9 13:31:28 UTC 2015
On ons, 2015-12-09 at 13:55 +0100, Murray Cumming wrote:
> On Tue, 2015-12-08 at 14:53 +0100, Alexander Larsson wrote:
> > On tis, 2015-12-08 at 12:47 +0100, Murray Cumming wrote:
> > > $ xdg-app run io.github.murraycu.PrefixSuffix
> > >
> > > ** (prefixsuffix:2): WARNING **: Couldn't connect to
> > > accessibility
> > > bus:
> > > Failed to connect to socket /tmp/dbus-PEhoQVzw0X: Connection
> > > refused
> > > Gtk-Message: Failed to load module "canberra-gtk-module"
> > > Gtk-Message: Failed to load module "canberra-gtk-module"
> > >
> > > (prefixsuffix:2): dconf-WARNING **: unable to open named profile
> > > (child): using the null configuration.
> >
> > This is weird, I've not seen it myself. I build prefixsuffix, but I
> > could not reproduce it here. I do get the accessibility bus
> > warnings
> > (have not ever researched those in detail), but dconf works.
> >
> > What distro are you on? Maybe its some dconf setup difference?
>
> Ubuntu Wily.
>
> > After a build, you can debug the app with:
> > xdg-app build app bash
> >
> > then you can from inside the "sandbox" e.g. run prefixsuffix in
> > gdb,
> > or
> > strace it to see what dconf is trying to do.
>
> Thanks. But I don't have the problem when running it like that. Only
> when running it via xdg-app run.
>
> Is there any other way to find out what files it might be trying to
> access while running under xdg-app run?
Yes, you can run:
xdg-app run --command=bash -d io.github.murraycu.PrefixSuffix
That will give you a shell in the same kind of sandbox as the app, but
with (from -d) a sdk runtime instead of the regular one.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl at redhat.com alexander.larsson at gmail.com
He's a lonely devious romance novelist on the run. She's a hard-bitten
communist socialite who hides her beauty behind a pair of thick-framed
spectacles. They fight crime!
More information about the xdg-app
mailing list