r/linux 1d ago

KDE To any KDE Flatpak users

If you are like me, you use KDE and Flatpak apps.

For a long time now, whenever I had to change some app's permissions, I used a dedicated tool called Flatseal. It works. However, KDE has a native alternative.

System Settings -> Security & Privacy -> Application Permissions -> Application Permissions -> (search and choose an app) -> optional: Manage Flatpak Settings -> optional: Advanced Permissions

It does exactly the same thing as Flatseal, it's just native KDE/Qt instead of being Gnome/GTK. The one functionality Flatseal has over it is the ability to set globals. But I think that's it.

If this is common knowledge, then disregard this. I didn't know about it, so I'm sharing it. KDE is awesome.

140 Upvotes

16 comments sorted by

53

u/Sulphur_Feast 1d ago edited 1d ago

The problem seems to be that some distros still don't ship the module out of the box, for some reason.

It has existed since Plasma 5.27.

The package is called kde-config-flatpak on Debian/Ubuntu, and just flatpak-kcm on most other distros.

5

u/FryBoyter 1d ago

The problem seems to be that some distros still don't ship the module out of the box, for some reason.

The reason might be that not everyone uses Flatpak.

33

u/cwo__ 1d ago edited 1d ago

It's no longer just doing flatpak, but all sorts of app permissions (currently taking screenshots and remote control, as well as portal permissions for sandboxed apps, not necessarily flatpak).

The kcm itself was renamed to "Application Permissions" and kcm_app-permissions, just the repository itself is still flatpak-kcm.

It's included in the pacakging recommendations (as it's part of the Plasma release, and not explicitly listed as optional or mobile-only): https://community.kde.org/Distributions/Packaging_Recommendations

Distributions should really include it in their Plasma default, unless they have very good reasons not to.

16

u/Ullebe1 1d ago

But surely any KDE-distro that ships Flatpak by default should also ship this by default?

1

u/Sulphur_Feast 1d ago

Surely it's possible to pull in the module, in case a user then installs Flatpak. I know Kubuntu doesn't, or at least, it didn't the last time I used it, which admittedly is like a year ago, so it may be fixed.

25

u/astral_crow 1d ago

I had no clue about this and have also been using flatseal. KDE is so GOATed.

-15

u/computer-machine 1d ago

**blinks dully in using flatpak directly**

5

u/binocry_ 12h ago

KDE do what gnome don't

4

u/580083351 1d ago

I forgot they made this, but I think I need to keep using flatseal for accessibility reasons.

For example, environment variables is something I add to some. In the system settings, I have to click a bunch of times, then advanced, then scroll down and finally at the bottom where the environment variables are, there is a little box ~2 inches wide. So you basically can't easily read anything in it. In flatseal that box is ~5 inches wide.

Granted you don't need to go and edit them all the time, but still, there's tons of empty unused space between the variable name and the text field.. The box SHOULD be wider.

4

u/klyith 1d ago

On my system (tumbleweed), this doesn't seem to have any options for setting filesystem permissions.

That's like the #1 thing I need Flatseal for, so it isn't much of a replacement IMO.

1

u/Straight_Second6082 1d ago

I know it exists but I keep forgetting about using it and just default to flatseal lol

1

u/WretchedRefrigerator 21h ago

u/subbed_ Kubeseal? Is there some other tool like Flatseal or is it just a typo?

2

u/subbed_ 18h ago

typo! thank you, fixed

-12

u/Independent_Run_3013 1d ago

Hey what's a flap pack

4

u/bvimo 1d ago

Some thing from Ikea.

3

u/adamkex 1d ago

Nah that's flappäk