Sign in to follow this  
Followers 0
SigFLUP

Helpful patch to screen

5 posts in this topic

Here's a helpful patch to screen that I just finished. Basically it changes it so it uses the x11 clipboard instead of it's own internal clipboard. Personally I find this WAY more useful. Not only for copying text to and from things like web-browsers but also for sharing a clipboard between screen sessions. You can download the release here screen-4.0.3-ulhf.1.tar.gz or if you wish to apply the patch yourself you can download just that here ulhf_patch1.tgz

REMEMBER, install with

./configure --enable-xclipboard

make

make install

now if you want to make use of it use these arguments:

-y Use alternate X display besides :0

-Y turn on X clipboard usage

Edited by SigFLUP
0

Share this post


Link to post
Share on other sites

Very handy! It might be a good idea to add a handler for a command line switch to revert back to the internal clipboard, though, as I know I use screen without X11 fairly often. Or, revert to internal if it fails to connect to the X11 clipboard.

0

Share this post


Link to post
Share on other sites

Very handy! It might be a good idea to add a handler for a command line switch to revert back to the internal clipboard, though, as I know I use screen without X11 fairly often. Or, revert to internal if it fails to connect to the X11 clipboard.

Yeah, that's a good idea. So I updated it and added these arguments:

-y Use alternate X display besides :0

-Y turn on X clipboard usage

... so by default it doesn't use it unless you run:

screen -Y

Hope that works for you

0

Share this post


Link to post
Share on other sites

That'll do it -- would you mind if I make an Arch package out of this?

0

Share this post


Link to post
Share on other sites

That'll do it -- would you mind if I make an Arch package out of this?

No, do whatever you want mate

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0