I can't get plasma-browser-integration working (Firefox)

I’m Running Kubuntu 24.04 with KDE 5.27.11 with Firefox 126.0.1
I Installed the Plugin to be able to pause/play youtube videos using my keyboard’s media control keys.

it gave me a message/dialog box asking me to give permission i think? i remember pressing yes anyhow a few times.

i have this error:


The plugin version is 1.8.1

And yes, i have plasma-browser-integration installed and tried reinstalling it.
and even tried reinstalling firefox (snap). i don’t know if this is a permission problem somewhere? i tried everything. please help me :<

i tried a fresh install on another computer and i believe this might be the problem:


i may of pressed cancel on my system instead of Ok.

I cannot find any “privacy settings”
where is this done? i cannot find a cli command for this either.

1 Like

You can retry by cleaning the browser data or the extension data. There is a command for that too, but I never tried it

dbus-send --print-reply \
    --dest=org.freedesktop.impl.portal.PermissionStore \
    /org/freedesktop/impl/portal/PermissionStore \
    org.freedesktop.impl.portal.PermissionStore.SetPermission \
    string:'webextensions' \
    boolean:'true' \
    string:'<your-extension>' \
    string:'snap.firefox' \
    array:string:'yes'

I have no idea, what should replace the your-extension part.

EDIT: may be the extension id is plasma-browser-integration or plasmabrowserintegration.

1 Like

Snapped Firefox is the problem, try installing Firefox in a different method (I’ve seen some hints regarding avoiding Flatpak), it should work outside snap.

1 Like

Nope snapped firefox is not the problem. Even on KDE firefox, the deb firefox needed some special apparmor rules.

This is from my snapped firefox

1 Like

Distro/Version?

I see most people solving it by

sudo ln -s /etc/apparmor.d/usr.bin.firefox /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/usr.bin.firefox

Followed by a ff restart.

Dunno. Don’t have a deb, snap, flatpak. Just straight from their site and the addon works just fine.

1 Like

It’s deb. The binary path is /usr/bin/firefox

KDE Neon, Snap, latest stable version of snap

Mozilla Firefox 130.0.1

Give the tar file a shot maybe?

I can’t find this file on Kubuntu, I switched Apparmor off completely due to another issue so I’m not sure it matters.

Grab the file from https://www.mozilla.org/nl/firefox/new/

Snap seems to be fine for me!

So you disable Apparmor for Firefox?? And this is the solution??

1 Like

Very interesting that they also have a portal to make the webextension run. This is really great and completely missing for the Flatpak afaik.

1 Like

Yup, webextensions perfectly runs, but sadly only for firefox.

Dunno if it’s a solution but I always install FF straight from the site ( since Debian, ubuntu), don’t have to touch apparmor and it works just fine. I never do stuff like snap. Even on ubuntu based systems I ditch snap altogether, everything.

1 Like

I gave up and install Firefox from PPA, now I’m only experiencing this with Chromium.

I also managed to make the FirefoxWPA plugin (requires host side installation as well).

Nope. I don’t do ppa. I don’t install an extra addon on FF to create ssb’s.
I use the web app maker. That one does ssb’s for every browser you have installed.

To check, I installed Chromium and the plasma extension. No probs.


Brave-browser: