TRACKER-XDG-PORTAL(1)
π tracker-xdg-portal-3 β the Tracker manual, bestie edition β¨
okay so real talk: this page is from the Tracker manual, and it's about tracker-xdg-portal-3, aka the portal to Tracker endpoints π
β¨ NAME β¨
tracker-xdg-portal-3 β portal to Tracker endpoints, no cap π«Ά
πΈ SYNOPSIS πΈ
tracker-xdg-portal-3 [--version | -v]
that's it. that's the whole synopsis. lowkey iconic of it π
π¦ DESCRIPTION π¦
so this daemon is literally the bouncer at the club π§ β it lets people access Tracker endpoints, but in a controlled manner. main character energy, honestly.
by default, access to every single service is disallowed. like, all of them. closed. gone. not invited π
services can get whitelisted though, through extra policy in the .flatpak-info file β¨
and when you do whitelist services, the policy can be specific about it β it may define:
- specific graph names to allow access to
- the
defaultkeyword, which allows access to the default unnamed graph - the
*keyword, which allows access to all graphs π
π CONFIGURATION π
when it's interacting with sandboxed clients, the service expects this exact format in the .flatpak-info file, bestie:
[Policy Tracker3]
dbus:org.example.SparqlEndpoint1=graphA;graphB;default
dbus:org.example.SparqlEndpoint2=*
ok so what does that mean? it means access is allowed to the endpoints behind the org.example.SparqlEndpoint1 and org.example.SparqlEndpoint2 bus names π
but not just "all access, do whatever" β nope. on the first endpoint it's only the graphA and graphB graph IRIs plus the default unnamed graph. and on the second endpoint it's all graphs. slay π¦
you can set this policy when building or running the sandboxed application, through the --add-policy option β¨ and you've got options, queen:
- via
finish-argsin the flatpak manifest - specified along the build chain in
flatpak-build-finish(1) - modified at start time with
flatpak-run(1)
for example, check it:
$ flatpak run \
--add-policy=Tracker3.dbus:org.example.SparqlEndpoint1=graphA \
--add-policy=Tracker3.dbus:org.example.SparqlEndpoint1=graphB \
--add-policy=Tracker3.dbus:org.example.SparqlEndpoint1=default \
--add-policy=Tracker3.dbus:org.example.SparqlEndpoint2=* \
org.freedesktop.TrackerSandbox
fruit snacks for everyone who reads that without squinting π
π SEE ALSO π
go read these too, iykyk π
okay that's the whole page!! mwah π
this masterpiece is version 3.7.3, dated 10/29/2024, from the Tracker manual β go forth and portal responsibly, bestie ππ
π¦ where this page comes from
- centos-stream 10: tracker 3.7.3-4.el10 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms