Re: Making application help work for xdg-apps
- From: Alexander Larsson <alexl redhat com>
- To: Matthias Clasen <matthias clasen gmail com>
- Cc: Shaun McCance <shaunm gnome org>, gnome-os-list gnome org
- Subject: Re: Making application help work for xdg-apps
- Date: Wed, 03 Feb 2016 14:18:47 +0100
On ons, 2016-02-03 at 10:46 +0100, Alexander Larsson wrote:
I've been thinking a bit about this recently. There is really no need
to do anything special, all the files of your installed app is
available to the host system. All you need to know is where your app
is installed (user vs system), and knowing that is really not any
kind
of security leak (it will be very guessable anyway). So, we should
just add that info to /run/user/$uid/xdg-app-info and then have the
app spawn the "open uri" portal (when we get one) with a file: uri
for
the help.
Just landed some code that lets you find the "app-path" in the xdg-app-
info file above.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alexander larsson gmail com
He's an otherworldly Catholic househusband with a secret. She's a
bloodthirsty tomboy mercenary with her own daytime radio talk show. They
fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]