As shown in the manpages tmux supports the set-clipboard option to control the system clipboard using the terminal escape codes \e]52;...\007. I would like to use this functionality in gnome-terminal, but I cannot figure out how to enable it. The manpage says the following needs to be configured for XTerm:

disallowedWindowOps: 20,21,SetXprop

But this does not seem to work for gnome-terminal. Is there a way to do this?


1 Answer 1


Sorry, gnome-terminal doesn't support this.

The actual emulation is handled by the vte widget. In its source code, src/caps.c contains the table where matching/parsing the incoming escape sequences begins. \e] is called OSC here, and OSC "52..." is not defined here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.