You are not logged in.

#1 2013-05-15 22:57:11

enduser
Member
Registered: 2012-10-04
Posts: 25

[SOLVED] Copy-on-select across OS

Is there a way to copy what I select to the clipboard by default in Xmonad?  I know some terminals do this for me, but there seems to be a mismatch between the two clipboards, and, thinking more about it, I'd like to have this on all applications.  It looks like I can add this programatically with http://xmonad.org/xmonad-docs/xmonad-co … ction.html , but I'd prefer not to if there's already an established way of doing this in either X or Xmonad.  Thanks!

end

Last edited by enduser (2013-05-15 23:07:11)

Offline

#2 2013-05-15 23:02:32

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: [SOLVED] Copy-on-select across OS

Offline

#3 2013-05-15 23:06:23

enduser
Member
Registered: 2012-10-04
Posts: 25

Re: [SOLVED] Copy-on-select across OS

Ohh, so when I select text, I can _always_ paste it with the middle mouse button, which is the 'PRIMARY' "clipboard", and the thing I think of as the _actual_ clipboard is 'CLIPBOARD' to X, and is separate to 'PRIMARY'.  Do I have that right?  Thanks for the link!

Offline

#4 2013-05-15 23:22:51

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: [SOLVED] Copy-on-select across OS

You paste what you select (that goes into PRIMARY) with the middle button or shift+insert. Clipboard managers usually let you access text previously put into PRIMARY and CLIPBOARD and synchronize the contents of PRIMARY and CLIPBOARD, they also solve the problem of losing clipboards' contents when closing applications.

Offline

Board footer

Powered by FluxBB