2 edited tags
| link
source | link

Can I access X11's clipboard from tty1-6?

Sometimes, when I'm running on battery and don't need a window manager, I'll log into tty1, fire up fbterm and Vim and work. Later, if I need the window manager, I'll use the log in GUI but switch between them as required.

The only issue I have with this, is when copying and pasting. If I'm running Vim in a terminal emulator, I can copy from a browser and paste into vim using "*p. When I'm running it in tty0, I can't (for obvious reasons, I guess).

Is there a way I could share between them. For instance, automatically dumping the clipboard contents―when it changes―to a file and then using a macro to insert the contents into the current Vim buffer?