Startup Programs/Flatpak portal

What Is Flatpak portal? Is It Safe to Disable at Startup?

Flatpak portal (xdg-desktop-portal) is a safe Linux desktop service that lets sandboxed apps access files and system features.

Verdict
Keep runningIt is a normal desktop service used by Flatpak and other sandboxed apps, and disabling it can break file pickers, screenshots, and app permissions.
File name
xdg-desktop-portal
Publisher
freedesktop.org
Platforms
Linux
Reviewed

What Is Flatpak portal?

Flatpak portal usually refers to xdg-desktop-portal, a background service used on Linux desktops. It provides a safe bridge between sandboxed apps and the rest of the system.

Apps use it for things like opening the file picker, saving files, taking screenshots, screen sharing, printing, opening links, and requesting access to devices or folders. Even if you do not use Flatpak much, some desktop apps may still rely on the portal system.

xdg-desktop-portal is part of the normal Linux desktop stack and is commonly provided by freedesktop.org projects and your distribution's packages.

Is It Safe?

Yes, normally. xdg-desktop-portal is a legitimate Linux component and is generally safe to keep installed and running.

A real copy is usually installed by your Linux distribution and lives in a standard system path such as /usr/libexec/, /usr/lib/, or another distro-managed location. The exact path varies by distribution. If you see a process with the same name running from a home folder, /tmp, or another unusual location, that is worth investigating.

On Linux, the best check is usually to confirm which package owns the file using your distribution's package manager, rather than relying on a publisher signature.

Should I Disable It at Startup?

No, in most cases you should leave it alone.

This is not the kind of startup item that exists only for convenience. It supports desktop integration for sandboxed apps and related permission prompts. If you disable it, Flatpak apps and some other apps may stop opening file dialogs correctly, fail to share screens, or lose access to portal-based features until the service is restored.

If you are troubleshooting, it is better to identify the app repeatedly calling the portal than to disable the portal itself.

Why Is It Using High CPU or Memory?

Usually, xdg-desktop-portal uses little memory and almost no CPU when idle. Higher usage often means another app is repeatedly requesting portal actions.

Common causes include:

  • a Flatpak app stuck opening or saving files
  • screen sharing or screenshot tools
  • browser or chat apps using desktop capture
  • a mismatched portal backend for your desktop environment
  • a buggy app repeatedly requesting permissions

If usage stays high, restart the app that triggered it first. If that does not help, log out and back in, or restart the user service if your distribution supports that. Updating xdg-desktop-portal, its desktop-specific backend, and the affected app can also help.

How to Disable or Remove It

Usually, you should not remove it unless you know you do not use software that depends on it.

If you remove or mask the service, expect some apps to lose file chooser access, screenshot support, printing, or screen sharing. On many systems it is started on demand as part of the desktop session rather than as a simple user startup entry.

If you want to investigate it:

  • check the full process path
  • confirm the file belongs to a package from your distribution
  • see which app was active when CPU usage increased
  • check whether you have the correct portal backend for your desktop, such as GNOME or KDE

Where Kudu Helps

Kudu's Performance Monitor can show whether xdg-desktop-portal is actually the process using CPU or whether another app is triggering it. If a desktop app is misbehaving, you can inspect the top CPU and memory users and end the offending process by PID.

On Linux, Kudu's Startup Manager can help you review normal autostart entries, but xdg-desktop-portal may not appear there if it is managed by the desktop session or systemd user services instead of XDG autostart.

If you are cleaning up disk usage, do not remove system components like this just to save space. Use package tools for package changes, and use Kudu's cleaner for supported app and browser caches instead.

Download Kudu Free →

Frequently asked questions

Is xdg-desktop-portal only for Flatpak apps?
No. It is best known for Flatpak, but other Linux apps can use portal features too, especially for file dialogs, screenshots, and screen sharing.
Why does a file picker stop working when the portal is broken?
Many sandboxed apps rely on the portal to request file access safely. If the portal service is missing or failing, the app may not be able to open the system file chooser.
Should I kill xdg-desktop-portal if it is busy?
Usually, restart or close the app triggering it first. Killing the portal may temporarily break file access, sharing, or permission prompts for running apps.
Kudu Startup Manager

See every app that starts with your computer

Kudu’s Startup Manager lists Run keys, Startup folder entries, scheduled tasks, Launch Agents, and XDG autostart items in one place. On Windows it also shows each item’s boot time impact.

Download Kudu Free →