You are not logged in.

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

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

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?

Offline

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

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

Re: 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: 142

Re: 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 Yesterday 07:53:43

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

Re: 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 Yesterday 12:40:05

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

Re: Can't middle-click-paste into chromium

I'm using sway, no gnome.

Offline

#6 Yesterday 12:47:47

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

Re: 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 Yesterday 20:26:36

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

Re: 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 Yesterday 20:38:06

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

Re: 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 Yesterday 21:30:43

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

Re: 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

Board footer

Powered by FluxBB