From 709d8feed642b94466bfd28efcee47574d3f9265 Mon Sep 17 00:00:00 2001 From: Drovolon Date: Tue, 21 Jul 2026 14:32:11 -0700 Subject: [PATCH] Add gtk-enable-primary-paste note to copy-on-select doc ghostty 1.3.0 added support for this setting. I started using ghostty and was confused by this - especially when I found these docs which said it was always enabled. It feels weird to suggest the `gsettings` CLI in docs like this, but on the flip side, it could save users like me a bit of time. Ref: https://github.com/ghostty-org/ghostty/issues/10328 --- docs/config/reference.mdx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/config/reference.mdx b/docs/config/reference.mdx index e7745317..74b96aaa 100644 --- a/docs/config/reference.mdx +++ b/docs/config/reference.mdx @@ -2461,11 +2461,16 @@ the system clipboard. The value `clipboard` will always copy text to the selection clipboard as well as the system clipboard. -Middle-click paste will always use the selection clipboard. Middle-click -paste is always enabled even if this is `false`. - The default value is true on Linux and macOS. +Middle-click paste always uses the selection clipboard, even if `copy-on-select` +is false. On GTK, middle-click paste also requires `gtk-enable-primary-paste` +be set to true. Check its effective value with: + +``` +gsettings get org.gnome.desktop.interface gtk-enable-primary-paste +``` + ## `right-click-action` The action to take when the user right-clicks on the terminal surface.