public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Plasma Integration add-on in Firefox doesn't work properly
@ 2025-09-02 12:11 Haoran DU
  2025-09-02 14:57 ` Michael
  0 siblings, 1 reply; 5+ messages in thread
From: Haoran DU @ 2025-09-02 12:11 UTC (permalink / raw
  To: gentoo-user

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."


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. I use Arch on the same computer before, but 
the problem doesn't exist when I using it.


Thanks for reading.


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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Plasma Integration add-on in Firefox doesn't work properly
  2025-09-02 12:11 [gentoo-user] Plasma Integration add-on in Firefox doesn't work properly Haoran DU
@ 2025-09-02 14:57 ` Michael
  2025-09-02 15:02   ` Michael
  0 siblings, 1 reply; 5+ messages in thread
From: Michael @ 2025-09-02 14:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 3072 bytes --]

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


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Plasma Integration add-on in Firefox doesn't work properly
  2025-09-02 14:57 ` Michael
@ 2025-09-02 15:02   ` Michael
  2025-09-02 15:26     ` Haoran DU
  2025-09-04  3:51     ` Haoran DU
  0 siblings, 2 replies; 5+ messages in thread
From: Michael @ 2025-09-02 15:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 615 bytes --]

On Tuesday, 2 September 2025 15:57:32 British Summer Time Michael wrote:
> 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.

I should have checked earlier, there is an old bug report about this problem 
affecting the firefox-bin package:

https://bugs.gentoo.org/687736

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Plasma Integration add-on in Firefox doesn't work properly
  2025-09-02 15:02   ` Michael
@ 2025-09-02 15:26     ` Haoran DU
  2025-09-04  3:51     ` Haoran DU
  1 sibling, 0 replies; 5+ messages in thread
From: Haoran DU @ 2025-09-02 15:26 UTC (permalink / raw
  To: gentoo-user, Michael

Hi Michael,

On 9/2/25 23:02, Michael wrote:
> On Tuesday, 2 September 2025 15:57:32 British Summer Time Michael wrote:
>> 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.
> I should have checked earlier, there is an old bug report about this problem
> affecting the firefox-bin package:
>
> https://bugs.gentoo.org/687736

I will try the firefox package later, thanks for your reply.

Yours,

Haoran



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Plasma Integration add-on in Firefox doesn't work properly
  2025-09-02 15:02   ` Michael
  2025-09-02 15:26     ` Haoran DU
@ 2025-09-04  3:51     ` Haoran DU
  1 sibling, 0 replies; 5+ messages in thread
From: Haoran DU @ 2025-09-04  3:51 UTC (permalink / raw
  To: gentoo-user, Michael

Hi Michael,

On 9/2/25 23:02, Michael wrote:
> On Tuesday, 2 September 2025 15:57:32 British Summer Time Michael wrote:
>> 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.
> I should have checked earlier, there is an old bug report about this problem
> affecting the firefox-bin package:
>
> https://bugs.gentoo.org/687736

I installed the pack "firefox", and everything works well now. Thanks a lot!

Yours,

Haoran



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-09-04  3:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-02 12:11 [gentoo-user] Plasma Integration add-on in Firefox doesn't work properly Haoran DU
2025-09-02 14:57 ` Michael
2025-09-02 15:02   ` Michael
2025-09-02 15:26     ` Haoran DU
2025-09-04  3:51     ` Haoran DU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox