Questions tagged [clipboard]

A clipboard is a temporary storage, mostly related to text, from where contents can be pasted to a new/other location. Use this tag for questions that specifically involve problems with putting material in, or getting material out of the clipboard

Filter by
Sorted by
Tagged with
1
vote
0answers
14 views

How to save tmux clipboard buffers permanently so they persist after exiting the shell

In tmux, when yanking some text, it is saved in a list of buffers that we can view/paste from, I have yet to find how to make these persist, once I leave the shell and return, they are now gone. How ...
0
votes
0answers
4 views

Linux clipboard: add image/bmp format to image/png format

I am using Ubuntu 20.04 and I can take a screenshot to clipboard. When I run xclip -selection clipboard -target TARGETS -out the result is image/png TARGETS TIMESTAMP I want to add image/bmp to the ...
0
votes
1answer
10 views

Kubuntu - Strange Copy-Paste behaviour after upgrade to 20.04

I recently upgraded from 18.04 to 20.04 with Kubuntu. I had to delete Python2 to do it, but it worked. However, since the update, something strange is occuring with the copy paste function. A piece of ...
0
votes
0answers
13 views

I want to copy complete drive having IRIX 5.3 installed

I am new to Linux and want to replicate a hard drive, having IRIX 5.3 installed. Please guide the easy and best way.
0
votes
1answer
19 views

Gnome-Terminal mark text > copy to clipboard (like in xfce4-terminal)

I switched a few days ago from xfce4 to cinnamon. Quite an improvement in usability. However, I miss the function of the xfce4-terminal that I can mark text and that it is automatically copied to the ...
2
votes
1answer
45 views

bash needs another newline to execute pasted lines

My usual shell is bash, my usual terminal is xterm, on Debian Sid. Following a recent release of bash, when I use button-2 to paste some text (selected by clicking and dragging button-1) into the bash ...
0
votes
2answers
27 views

How to copy into graphical clipboard on command line in KDE? [duplicate]

I would like to use the command line to put text in the GUI clipboard so that it can, for example, be pasted into a graphical web browser's text input field. I am using Kubuntu 20.04. I tried as an ...
0
votes
1answer
29 views

find & copy command is not copying same number of files

I'm trying to use find & copy on some files but the problem is if i only run find command and check wc it shows some result, after copying these files to some other directories it shows some other ...
0
votes
1answer
64 views

Copy & paste Python code into the command line

When I paste several lines at once in a Python3.9 session in the terminal in my Mac it does not understand that they are different lines, and it fails: Python 3.9.1 (default, Jan 8 2021, 17:17:17) [...
0
votes
1answer
38 views

Need cp -ax alternate for Solaris

On my Linux host; this cp command helps copy files and folders both while preserving the timestamp and permissions cp -ax <source file/folder> <destination> Need similar command for SunOS ...
2
votes
1answer
71 views

Fuse “primary” and “clipboard” clipboards

Unfortunately I'm finding it difficult to configure PRIMARY and CLIPBOARD like I want to. If there weren't two different clipboards, then it'd work exactly as I want. How this would work is: If ...
1
vote
1answer
23 views

How can I navigate and copy some text from the past terminal output?

Problem Very often when I work with git I need to copy some content from the output of the last command. And I hate switching from keyboard to trackpad/mouse. Case #1 ... ➜ extract_ttc git:(feature/...
0
votes
2answers
62 views

Copy from vim (putty-session) to Windows clipboard

I can copy from my Putty-Console to my Windows-Clipboard except from vim. So with the standard method I can copy/past from he console, from more, nano and others but impossible to do the same from ...
0
votes
0answers
21 views

iOS 14 clipboard in Linux for the security

The app accessing iOS 14 clipboard will be reported to the user, how to configure Linux to the same function?
0
votes
1answer
63 views

Arch linux: Screenshot software cannot save to clipboard

I am trying to use xfce-screenshooter to take screenshot and save it to clipboard. Like this: xfce4-screenshooter --region --clipboard but when I try to paste it, there is no image. Thought it was ...
0
votes
1answer
62 views

Passwords in clipboard manager

I use a clipmenu, https://github.com/cdown/clipmenu a clipboard manager and also use pass, https://passwordstore.org a password manager. Pass copies the password to my clipboard for 45 seconds by ...
0
votes
0answers
39 views

Pipe to the clipboard in command line, with no root privilege to install

Normally I use xclip to pipe results into the clipboard. However, on a cluster I am accessing I don't have the required root privileges to install it. (I tried copying over files but then got into ...
0
votes
0answers
26 views

Let shell/terminal paste by replacing newline with space

How do I paste into a shell or terminal and simultaneously replace every newline with a space?
1
vote
1answer
35 views

CentOS buffer/clipboard usage in console-only environment

I have a CentOS 8 minimal install. There is no GUI. If I am on the console, say I have typed out a command, such as nice-command-with-switches-that-does-stuff that I am happy with. Now, I want to ...
0
votes
2answers
53 views

Output command to clipboard? [duplicate]

Noob(ish) to Linux here, and trying to pick up new/useful tricks; I was wondering if there's some way to send the output of a command straight to the clipboard? Something similar to (pseudo-code): ...
0
votes
0answers
25 views

Ubuntu 16.04 - Virtualbox 5.1.22 - Cannot copy/paste or move/copy file

I have a Portable Version of Virtual Box v5.1.22 with several virtual machines. All windows virtual machines are operating just fine, but for my ubuntu 16.04 there is a problem with copy/paste or move/...
1
vote
0answers
54 views

can't copy screenshot in KDE/Debian 10

I have Debian 10 with KDE. Everything was working fine and suddenly today when I tried to copy a screenshot it didn't work. When I press the printscreen key, I get the popup showing the screenshot ...
2
votes
1answer
73 views

How do I restore Shift+MouseButton = select when mouse protocol is enabled in xterm 361?

In xterm, in vim or other applications that can use the mouse in xterm, I used to be able to hold the Shift key to bypass that mouse button handling and do normal X selection. With the latest update ...
3
votes
0answers
42 views

File conversion canary

Is there a way to tell if a flat ASCII log file, eg. the output of a command, was converted to an office document (typically: Word, Excel, Notepad) and back to a flat text file? I know at least one of ...
1
vote
1answer
154 views

Alias to copy current directory path to clipboard through ssh linux

I am working on macos and on the terminal app I am connecting to a server which run on linux, through ssh -X (and I actually I should not be allowed to install any software on it). In order to save ...
0
votes
0answers
24 views

Proper pasting from clipboard doesn't work in st (simple terminal)

If you are wondering you had seen the same question on r/suckless on reddit, I am the same person and upon getting no satisfactory answer I decided to post it here. I am trying to patch st to have ...
1
vote
0answers
285 views

Arch linux: set copy/paste/cut shortcuts

I would like to set custom keyboard shortcuts for using clipboard. I would like to change it from: Copy: ctrl + c in programs, ctrl + shift + c in terminal Paste: ctrl + v in programs, ctrl + shift + ...
2
votes
0answers
36 views

copyq paste works slow for terminal

I'm using Pop!_OS 20.04, gnome-terminal as terminal emulator, and CopyQ as clipboard manager. What I've noticed is, whenever I'm trying to paste in the terminal window (just a plain old local session, ...
0
votes
0answers
60 views

Thunderbird/X11 - pasting images from clipboard/primary selection fails unless I first paste to libreoffice

If I do a screenshot to clipboard like this: xsnap -png -stdout | xclip -selection primary -t image/png .....then a middle-mouse-button-paste to thunderbird yields a binary paste starting with '�PNG ...
0
votes
0answers
19 views

can I copy some portion of a file into vim buffer (using yank) and paste it in windows app? (like into powerpoint) across vnc?

Recently I'm doing an analysis on a big source files where frequently I copy a portion of the source file and paste it into windows PowerPoint. For this I use mouse to select part of the source file ...
0
votes
0answers
30 views

How to stop random pasting in Pop!_OS?

I recently installed and began using Pop!_OS 20.04 LTS on my Lenovo ThinkPad T460p. The desktop environment is GNOME 3.36.3 and windowing system is X11 (the defaults). I am experiencing random pastes ...
0
votes
0answers
40 views

How do you use the keyboard to highlight the text you want to copy in konsole?

When I want to copy and paste text from the konsole screen I have to use the mouse but I find that rather awkward. Is there a way to enter a mode where you can use the keys to highlight the text you ...
0
votes
0answers
29 views

Disable copy to local clipboard when copying from VNC

I have a TigerVNC session open. In that I have a text file open. The problem is whenever I copy a text from the text file it gets copied to my local MAC clipboard also (along with the remote machine's ...
0
votes
0answers
79 views

Control copy-paste text from TigerVNC (Fedora/CentOS) gedit to local machine

I have a TigerVNC GUI running. In the GUI I have a text file open in gedit. I want to copy some text from the text file open in the TigerVNC to my local mac, but the catch is that if the size of the ...
0
votes
0answers
21 views

Window owner- who requested the “paste” in X11 copy-paste process?

There are 2 machines: a Fedora remote server and a local MAC machine. I have used TigerVNC and gained GUI access to the remote machine. My requirement is simple, I want to manipulate the "...
0
votes
0answers
457 views

How do I copy a file to the clipboard in the terminal

I would like to copy a file to the clipboard with the terminal, like when right clicking a file and selecting "copy" in the gui. Someting like "cp test.txt" (without a destination) ...
1
vote
1answer
696 views

Vim Mode copy-paste not working on Tmux

I am new at using Tmux. I have seen that it is quite difficult to copy-paste inside Tmux. So I searched for an easier method. Some sites suggested that I should use vim mode as I am quite familiar ...
0
votes
0answers
57 views

Lubuntu copying file path instead of file

I have a newly installed lubuntu 20.04 using pcmanfm as file manager. When I copy a file(or images) using Ctrl+C and paste it in browser (gmail or facebook chat). But when I paste it in file manager, ...
3
votes
1answer
1k views

Mouse middle click does not paste selected text in terminal

I am experiencing a weird phenomenon recently. Usually, when we select any text anywhere (browser, files, terminal) it gets copied to the clipboard and can be pasted upon clicking the middle button (...
0
votes
0answers
57 views

How to copy full vim/vi remote file content to my local clipboard

I am having a file in the remote machine ( connected with customized ssh not Normal ssh ) .I do not have a way to copy/move the file to my local ( No scp allowed and no other connectivity ) .I am ...
0
votes
0answers
51 views

How can I copy a command to VMWare ESXi remote terminal?

I want to be able to copy a command to a newly installed VM running an only CLI debian OS. I have tried installing the VMware tools with: apt-get install open-vm-tools Then I have added the options: ...
0
votes
0answers
33 views

Vim :set mouse=a works in ubuntu but not fedora

I want to be able to highlight text without it selecting the numbers for the lines or spilling into another split I have open. The mouse=a option does that perfectly on Ubuntu, but when I switch over ...
1
vote
0answers
89 views

xclip to multiple targets

How do I copy different texts to multiple targets using xclip (or other tools)? I tried doing echo "TEST_STRING" | xclip -selection clipboard -t STRING echo "TEST_HTML" | xclip -selection clipboard ...
1
vote
2answers
178 views

Why ubuntu uses “move to trash” instead of delete?

Does anyone know why in the GUI of Ubuntu(and perhaps the other Linux distributions as well) use the term "move to trash" instead of delete? I want to know what was the historic event that leads to ...
1
vote
0answers
43 views

How can i subscribe to linux commands or processes

I want to build a minimal clipboard manager script using xclip or xsel. So I want to be able to know when xclip is going to store the new clip, an then I can update a clipboard_history file for ...
0
votes
1answer
53 views

Can a Bash alias command be inserted into my macOS terminal text input so I can tweak and run it?

I have some Bash aliases which I use to perform standard day-to-day tasks in my macOS terminal using the Bash shell. Sometimes I find myself wanting to run a one-off command very similar to an alias ...
0
votes
1answer
400 views

How can I synchronize the clipboard of terminal applications on a server without X?

On machines with X server, I've used the selection clipboard to synchronize copy/paste across GUI and terminal programs. Now I have a server without X where I'd like to synchronize copy/paste across ...
1
vote
1answer
25 views

How do I get cut-n-paste to work for remote X clients

I've ssh-ed into a Debian computer from a Ubuntu computer (via an intermediate computer) and have problems getting cut-n-paste to work. Neither can I select text and insert that using middle-click. ...
4
votes
2answers
355 views

Shared clipboard between multiple X11 servers (Xephyr, Xpra etc.)

I plan to run potentially dangerous applications (browser, etc.) on a separate X-server, but since each server has its own clipboard, it is impossible to copy the link / text from one window to ...
1
vote
1answer
53 views

Remove newlines using shell command (must work in a KDE global shortcut)

I need a shortcut to strip newlines from the text in the current selection. I want to put my command into a KDE global shortcut, which I already know how to do. The command I came up with is: sh -c '...

1
2 3 4 5
9