You are not logged in.

#1 2026-05-05 01:25:40

loserMcloser
Member
From: Canada
Registered: 2004-12-15
Posts: 143

[SOLVED] Can't middle-click-paste into chromium

Basically the subject line: using Chromium, in any text entry box in any website, or even in the address bar, can't middle-click to paste. Middle-click-paste works fine in all other apps I've tested, including other browsers (firefox, min) and other electron apps (code).

This occurs both on my laptop and on my desktop machine.

Anyone else seeing the same thing?

Last edited by loserMcloser (Yesterday 03:40:25)

Offline

#2 2026-05-05 05:29:55

StarWolf3000
Member
Registered: 2025-06-23
Posts: 72

Re: [SOLVED] Can't middle-click-paste into chromium

Is that Chromium running on Wayland and all other programs, where it works, running on XWayland/X11?


Mainboard: GIGABYTE B550 AORUS ELITE V2 | CPU: Ryzen 7 5800X | RAM: 32 GB
GPU: GeForce RTX 4060 8 GB (580.119.02 proprietary) | Display: BenQ BL2405 1920x1080
Kernel: 6.18.8 stable | Boot Manager: GRUB2 | DE: KDE Plasma | Login Manager: SDDM | Compositor: KWin

Offline

#3 2026-05-05 22:12:44

loserMcloser
Member
From: Canada
Registered: 2004-12-15
Posts: 143

Re: [SOLVED] Can't middle-click-paste into chromium

No, all tested programs are running native wayland (sway), no Xwayland. (I mean, Xwayland is running, but both `xeyes` and `swaymsg -t get_tree` say that none of them are running under Xwayland.)

Offline

#4 2026-05-06 07:53:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,153

Re: [SOLVED] Can't middle-click-paste into chromium

What "wayland" specifically? Gnome recently disabled that by default, https://bbs.archlinux.org/viewtopic.php?id=313089 (though that would affect everything) and generally there might be pending compatibility issues w/ random compositors.

Offline

#5 2026-05-06 12:40:05

loserMcloser
Member
From: Canada
Registered: 2004-12-15
Posts: 143

Re: [SOLVED] Can't middle-click-paste into chromium

I'm using sway, no gnome.

Offline

#6 2026-05-06 12:47:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,153

Re: [SOLVED] Can't middle-click-paste into chromium

Anything like https://wiki.archlinux.org/title/Sway#Clipboard ?
Does it work under weston?
Does the middle-click otherwise operate as expected in chromium (open links in a new tab)?
Do you use any IME parameters? Gtk4? https://wiki.archlinux.org/title/Chromi … nd_support

Offline

#7 2026-05-06 20:26:36

tekstryder
Member
Registered: 2013-02-14
Posts: 514

Re: [SOLVED] Can't middle-click-paste into chromium

loserMcloser wrote:

I'm using sway, no gnome.

Yeah, well...

https://gitlab.gnome.org/GNOME/gsetting … quests/119

...landed recently.

Check:

gsettings get org.gnome.desktop.interface gtk-enable-primary-paste

If false, do:

gsettings set org.gnome.desktop.interface gtk-enable-primary-paste true

No need to restart anything. Change takes place on the fly.

I just middle-click pasted those commands for ya in brave 1.89.145 (chromium 147.0.7727.137) under Sway 1.12-rc3.

Offline

#8 2026-05-06 20:38:06

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,153

Re: [SOLVED] Can't middle-click-paste into chromium

Are you getting gsettings-desktop-schemas via gtk4's dependency on xdg-desktop-portal-gtk ?
I thought this [redacted] was limited to gnome…

Offline

#9 2026-05-06 21:30:43

tekstryder
Member
Registered: 2013-02-14
Posts: 514

Re: [SOLVED] Can't middle-click-paste into chromium

There I was, living a peaceful, xdg-desktop-portal-less life for the past year on sway and hyprland.

Then this came along...

https://gitlab.archlinux.org/archlinux/ … c060f18844

... catering to someone wanting to run their browser with the experimental gtk4 flag.

Alas I've lost my the fight in me. The center cannot hold. I've meagerly surrendered to portals foisted upon us peons.

Sure, I could easily compile my way out of this cage, but is it worth the time? Gotta know when to fold 'em.

Think a run through Portal 2™ is in order to regain my love of portals.

Offline

#10 Yesterday 03:40:03

loserMcloser
Member
From: Canada
Registered: 2004-12-15
Posts: 143

Re: [SOLVED] Can't middle-click-paste into chromium

tekstryder wrote:
loserMcloser wrote:

I'm using sway, no gnome.

Check:

gsettings get org.gnome.desktop.interface gtk-enable-primary-paste

If false, do:

gsettings set org.gnome.desktop.interface gtk-enable-primary-paste true

No need to restart anything. Change takes place on the fly.

It worked!!! Thanks!!!

Will mark as solved.

Offline

#11 Yesterday 07:32:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,153

Offline

#12 Yesterday 12:12:19

tekstryder
Member
Registered: 2013-02-14
Posts: 514

Re: [SOLVED] Can't middle-click-paste into chromium

seth wrote:

@tekstryder,

I'm aware. Dummy packages, while a valid Arch thing, have always rubbed me the wrong way. Never have employed.

If a package has unneeded deps / deps I disagree with, I'll file an issue arguing my case or build the package myself sans said dep(s).

In this case I know enough that there's no use arguing at this point in time. So I chose to live with it as GTK4 is a ~25min build.

loserMcloser wrote:

It worked

Glad to hear.

Last edited by tekstryder (Yesterday 12:16:51)

Offline

Board footer

Powered by FluxBB