Hi Haoran, On Tuesday, 2 September 2025 13:11:27 British Summer Time Haoran DU wrote: > Hello everyone, > > > I installed Gentoo Linux on my computer days ago. Everything goes well, > but now something is wrong with it. I found that the Plasma Integration > add-on in Firefox doesn't work properly. > > > It said: > > > "Failed to connect to the native host. > > > Make sure the 'plasma-browser-integration' package is installed > correctly and that you are running Plasma 5.13 or later."
Have you installed the latest version of the Plasma Integration Firefox Addon? I can see this Addon was last updated more than a year ago and Firefox may have changed since then. > I tried to install the package "kde-plasma/plasma-browser-integration" > and restarted my computer, and the problem still exists. Switching to > Wayland doesn't help too. The package 'kde-plasma/plasma-browser-integration' is usually installed by 'kde-plasma/plasma-meta' with USE="browser-integration" enabled. It seems Firefox, or more likely the Addon is not finding this file. > I use Arch on the same computer before, but > the problem doesn't exist when I using it. Do you have the Arch installation to check the path(s) where the file org.kde.plasma.browser_integration.json is installed? This is what I have on a Gentoo plasma installation here: ~ $ locate org.kde.plasma.browser_integration.json /etc/chromium/native-messaging-hosts/org.kde.plasma.browser_integration.json /etc/opt/chrome/native-messaging-hosts/org.kde.plasma.browser_integration.json /etc/opt/edge/native-messaging-hosts/org.kde.plasma.browser_integration.json ~/.var/app/org.mozilla.firefox/.mozilla/native-messaging-hosts/ org.kde.plasma.browser_integration.json /usr/lib64/mozilla/native-messaging-hosts/ org.kde.plasma.browser_integration.json Perhaps you can check what file the Firefox Addon is trying to access, by running 'about:debugging' and connecting locally to it: https://firefox-source-docs.mozilla.org/devtools-user/about_colon_debugging/ index.html > Thanks for reading. Perhaps someone who uses this Addon and is familiar with it will be able to offer help. > Here is the output of my fastfetch: > > xiaopangju@gentoo > ----------------- > OS: Gentoo Linux x86_64 > Host: Vivobook_ASUSLaptop X1502ZA_X1502ZA (1.0) > Kernel: Linux 6.12.41-gentoo-dist > Uptime: 53 mins > Packages: 1077 (emerge) > Shell: bash 5.2.37 > Display (AUO21ED): 1920x1080 @ 60 Hz in 16" [Built-in] > DE: KDE Plasma 6.3.6 > WM: KWin (X11) > WM Theme: Breeze > Theme: Breeze (Light) [Qt], Breeze [GTK2/3] > Icons: breeze [Qt], breeze [GTK2/3/4] > Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK2/3/4] > Cursor: breeze (24px) > Terminal: konsole 25.4.3 > CPU: 12th Gen Intel(R) Core(TM) i5-12500H (16) @ 4.50 GHz > GPU: Intel Iris Xe Graphics @ 1.30 GHz [Integrated] > Memory: 3.60 GiB / 15.30 GiB (24%) > Swap: Disabled > Disk (/): 25.53 GiB / 199.90 GiB (13%) - xfs > Local IP (wlo1): 192.168.0.102/24 > Battery (ASUS Battery): 100% [AC Connected] > Locale: zh_CN.UTF-8 > > Yours, > > Haoran
signature.asc
Description: This is a digitally signed message part.

