Questions tagged [clipboard]

The clipboard is a temporary storage area found on many computing devices

Filter by
Sorted by
Tagged with
1 vote
2 answers
2k views

Does clipboard change character encoding?

I am having a UTF8-related issue in a piece of software - it complains some text containing special characters isn't valid UTF8. But whenever I copy-paste it into an online validation tool or into an ...
Mr. Boy's user avatar
  • 5,236
2 votes
4 answers
7k views

Paste as plain text, but also remove any new-line and carriage return characters

I want to copy some text from a webpage or a document and paste it somewhere else after stripping all formatting and whitespace.*** Currently, I do this by: Copy the required text Paste the text in ...
WorldGov's user avatar
  • 1,392
3 votes
3 answers
3k views

i3 in vmware doesn't share clipboard with host windows-machine

My main os is Windows, I then run ubuntu in VmWare. Before switching to i3 on gnome, I used Ubuntu gnome. In Ubuntu, I could share the clipboard between the windows-host and the ubuntu-virtual machine ...
Sebastian Nielsen's user avatar
0 votes
1 answer
91 views

Unable to share clipboard between host and guest os

I am using windows 10 as a host os. and windows 10 on virtual box as guest os. I enabled the bidirectional sharing of clipboard on virtual box. But still I am unable to copy text from host to guest
pensee's user avatar
  • 173
2 votes
2 answers
1k views

copy an & to the clipboard using a batch file

I have the following batch file script that I trying to run that will fetch my password to my clipboard. I have tried multiple different methods but I can't seem to get it to work. set "passwd=...
Daniel L. VanDenBosch's user avatar
0 votes
2 answers
403 views

How would I make a script that takes my clipboard and uses it as a variable in a web link [closed]

I have a task at work where I have to go to an Excel sheet and copy the a bunch of asset IDs from a column 1 by 1 and input that in to an intranet site to get the details of the asset. The web link ...
Thomas's user avatar
  • 3
1 vote
1 answer
63 views

Add Additional Content to Paste

(I'm using iTerm2 on MacOS, also have a Debian Linux machine) Does anyone know of a way to paste content that would include some boilerplate text around whatever the actual contents of clipboard is? ...
Steven's user avatar
  • 111
0 votes
0 answers
55 views

Git command line: utility to copy long paths

I'm using git command line client to do all my work. It works fine but I'm tired with copying long file paths e.g. with git add long_path or git checkout long_branch_name commands. Is there any helper ...
Trismegistos's user avatar
1 vote
0 answers
67 views

What is the version of Guest Addtions for Ubuntu 16.04 LTS inside VirtualBox 6.16 with Windows 10 Host?

I accepted the offered update to VirtualBox-6.1.16-140961-Win.exe on the host (Windows 10 /64) I quickly noticed the the clipboard no longer worked between the host and guest. I followed the steps in ...
tim11g's user avatar
  • 1,588
0 votes
1 answer
5k views

Pasting into a Hyper-V VM in enhanced mode

I presume I'm missing something really obvious here - I have a Hyper-V VM. In basic mode, I can copy, and then select "Type Clipboard Text", and in Enhanced Mode I can just copy and paste ...
Paul Michaels's user avatar
0 votes
0 answers
280 views

Windows 10 clipboard sync not working

I have two windows 10 laptops both on the latest version of Widows 10 Pro (20H2). I've logged in using the same Microsoft account on both. Have another account on one pc but I added the common ...
HoverCraft's user avatar
0 votes
1 answer
2k views

Copy/paste stops working in gnome-terminal over VNC session

I have been clumsily working around a strange clipboard issue on a Linux system over VNC. I recently noted a fix and want to document it here. An alternate title for this post might be: VNC client/...
sivs422's user avatar
  • 53
11 votes
1 answer
7k views

Use clipboard through WSL?

I'm trying to get WSL to utilize my clipboard so I can update files from the output via xsel -b > my-umatrix-rules.txt. However, I'm getting the following error: xsel: Can't open display: (null) : ...
Guitarmony's user avatar
4 votes
2 answers
535 views

On wsl1, getting clipboard contents using powerhshell changes terminal appearance…?

I posted this on stack (now deleted), but was told that this might be a more appropriate forum. I'm on windows-subsystem-linux 1 with Ubuntu with the Windows Ubuntu terminal. Using advice from this ...
cmuyehara's user avatar
12 votes
7 answers
27k views

How to make Windows Snipping Tool always save image instead of putting it in clipboard

I take many screenshots on my Windows 10 laptop. I sometimes use Windows Snipping Tool (WinShiftS which opens the little bar at the top and you can take a snip of the window, whole screen or custom ...
James's user avatar
  • 123
1 vote
0 answers
1k views

Recovering lost text which was copy pasted from a website to MS Word

I have been working on a blog post (non- English - Tamil) for a more than a week now. Because of how https://www.blogger.com/ autosave function works, my latest draft accidentally got deleted and ...
rm167's user avatar
  • 111
2 votes
3 answers
2k views

Any tricks so clipboard history won't be erased with Windows reboot?

I am looking for a way like modifying registry so the clipboard history won't be deleted with reboot. I know pinning is a solution, but I want it to be automatic. Also I am aware of 3rd party apps ...
payman z's user avatar
2 votes
0 answers
947 views

Where does Notepad++ store the clipboard history items?

In Notepad++ for a windows machine, at what file path does the clipboard history get saved? I would like to be able to save all clipboard history items in a separate txt file without using any plugins....
GuyRandom's user avatar
0 votes
1 answer
341 views

GIMP: Setting default DPI when creating an image from clipboard

Is there a way to change the default DPI when creating an image from clipboard? On my old version of GIMP, it used to be 300 DPI, which I quite liked. After updating GIMP, it creates images from the ...
S. Olafsson's user avatar
1 vote
2 answers
4k views

Where is all the clipboard data stored in Windows?

Is the data I copy to clipboard stored temporarily (maybe in the RAM) or is a permanent log of all the clipboard data stored in the hard drive? If its stored anywhere, how can we clear it (by ...
batchcoding____s's user avatar
2 votes
1 answer
1k views

Clipping special characters to clipboard using command prompt

I want to place a certain useful special character to the clipboard to use it. So I did this using a simple batch script, something like this: @echo off set /p char=<character.txt echo %char%| ...
batchcoding____s's user avatar
6 votes
1 answer
8k views

Don't let websites overwrite clipboard in Firefox without explicitly giving permission

Apparently websites can overwrite the clipboard using the JavaScript Clipboard API without any notification to the user — as discussed in this Reddit thread — which is a little scary. Is there a way ...
mic's user avatar
  • 492
0 votes
0 answers
58 views

Why does Windows 10 replaces what's in the clipboard with a vandalised one?

Windows Explorer clearly says it cannot accept special characters (which is reasonable in a File Explorer), but If I copy the string "https://www.example.com" and paste it in the name field ...
CSD's user avatar
  • 101
0 votes
1 answer
423 views

Selecting text from terminal doesn't copy it to another terminal

I use arch linux and rxvt-unicode, my window manager is bspwm. If i select text in terminal i can go to a gui program and paste it with middle mouse button. Likewise if i select text in a gui program ...
Carla Cvekla's user avatar
0 votes
1 answer
3k views

When I copy and paste a link, it replaces it with random characters

Copied link: https://en.wikipedia.org/wiki/List_of_mergers_and_acquisitions_by_microsoft Pasted link: https://en.wikipedia.org/wiki/LdcxhrrmCTdLqs67V5Ps5omaHbbapv5as2y_microsoft My win 10 replace an ...
KleinSAO's user avatar
0 votes
1 answer
321 views

How to make screen capture default to be available via clipboard in Windows 10

⊞ Win + Shift + S turns on the screen capture interface in Win 10 where user can select an area on their screen to be captured and stored to an image. Up until the most recent Win 10 update, the image ...
Argyll's user avatar
  • 616
1 vote
2 answers
1k views

Why's that Windows 10 clipboard prefer plain text over HTML?

I built a Windows Forms tool using to highlight a piece of code and then copy the highlighted code onto clipboard with both HTML, RTF and plain text format. When I paste the copied code in Word or ...
imgen's user avatar
  • 467
6 votes
1 answer
19k views

Why can't I copy from nano to clipboard?

Why does nano not support simple Ctrl + C into clipboard? I'm using it with gnome-terminator on Linux Mint and just want to copy a few lines from my .bashrc into a text editor. When I mark a text ...
sarah.clarke's user avatar
0 votes
2 answers
916 views

Windows 10 / Screen capture fails frequently

Up to date Windows 10 O/S... screen capture fails sporadically. Failure rate is between 10% and 90%. The failure mode is that the clipboard will not show anything was captured with the copy operation....
user3533030's user avatar
1 vote
0 answers
430 views

Can applications read Win + V clipboard history?

Are Windows applications generally able to read everything copied into Win + V clipboard (with "save multiple items" enabled in settings) without any user interaction or escalated permission,...
mic's user avatar
  • 492
5 votes
0 answers
3k views

What is actually copied to the clipboard when I copy an image?

Please forgive me if this is answered somewhere. When I right click and copy an image from the browser, what actually gets stored in the clipboard? Is that an image? or some base64 URL? or an actual ...
Vishal's user avatar
  • 161
3 votes
1 answer
2k views

Gimp: opening clipboard as new image, with correct pixel size / dimensions?

I often find myself having a picture in my clipboard, and then I want to quickly edit that in Gimp. So I ⌘+Tab to Gimp (using the latest Gimp on macOS Catalina) and do ⌘+N for New Image. Problem: it ...
RocketNuts's user avatar
  • 1,092
3 votes
2 answers
6k views

How can I copy to the clipboard the content of an alert message in Google Chrome?

How can I copy to the clipboard the content of an alert message in Google Chrome? https://code2care.org/2015/how-to-copy-chrome-alert-popup-text-to-clipboard/ (mirror) says one could select the text ...
Franck Dernoncourt's user avatar
1 vote
0 answers
287 views

How do I copy a file to the clipboard in the terminal and paste it with the gui (linux)

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) ...
lordcommander's user avatar
0 votes
0 answers
225 views

How do you copy and paste large pdfs?

Copy and paste doesn't work on pdf files. I have a windows 10 machine. When I try ctrl+a'ing, copying, and pasting an entire 400 page document, it HIGHLIGHTS everything, but when I copy , I notice ...
billy krakowski's user avatar
1 vote
0 answers
52 views

How to create a task scheduler with the following powershell command (restart the clipboard service) [duplicate]

So basically this command needs administrator rights in order to work in powershell Restart-Service -Name "cbdhsvc*" -force But the question is how can I create this PowerShell file with ...
JohnB's user avatar
  • 41
3 votes
1 answer
2k views

Command to clear all Clipboard history in windows 10

I've scavenged the Google for a command to clear all the clipboard history but can't find any command for it, the only command is to clear the top to have it nulled/clean (not the entire clipboard ...
JohnB's user avatar
  • 41
2 votes
1 answer
428 views

How to paste an image on clipboard to the file selection dialog?

I have an image in my clipboard, and I am faced with a file selection dialog. Is there a way to paste that image directly to select it, so I don't have to manually open paint, save, open the dialog ...
steps's user avatar
  • 130
1 vote
1 answer
439 views

ssh command doesn't terminate

I wrote a script to set my desktop clipboard from my Android phone. #!/bin/sh ssh -Y user@host "export DISPLAY=:0; echo -n $(termux-clipboard-get) | xclip -selection clipboard" The script ...
SATHWIK MATSA's user avatar
1 vote
1 answer
914 views

Ctrl + V paste UTF-8 string from Clipboard to MS WORD result in ??? characters

I've develop application on Windows form [C#], then copy text using System.Windows.Form.Clipboard.SetText("โปรแกรม Microsoft Word ใช้งานได้"); After sending keybd_event "Ctrl+V" [...
Shinoyakame's user avatar
1 vote
2 answers
447 views

My multi-clipboard isn't working

I'm interested in having multiple clipboards that are accessable using 3 different hotkeys. (Ideally, (control+1), control+2, control+3 for copying, and alt+1, alt+2, and alt+3 for pasting. First ...
Steven Sagona's user avatar
0 votes
1 answer
2k views

Gimp: paste image (from clipboard) as new layer, and crop document to that layer's size?

Using Gimp latest version (2.10) on macOS Catalina. I have an image in my clipboard. I switch to Gimp where I have a working document (image) open. How do I: paste the image from my clipboard as a ...
RocketNuts's user avatar
  • 1,092
0 votes
4 answers
1k views

Is it possible to add an option to open the Windows Clipboard History to the right click context menu?

I would like to be able to access the Windows 10 clipboard-history function (currently opened by pressing the Windows key + v) by right-clicking and picking it from the context menu. Is this possible? ...
Liam's user avatar
  • 103
2 votes
1 answer
839 views

Paste text in clipboard into a running exe

Assume I have text in the file textFile.txt. Also assume I have a program running called aProgram.exe, which accepts pasted text. What is the simplest way to create a script or batch that will ...
Gustavo Louis G. Montańo's user avatar
0 votes
1 answer
588 views

How to copy image of unknown type to xclip?

I'm trying to use sxiv to pick an image and pipe that image to the clipboard. I'm currently using this command: cat "$(sxiv -foqrt ~/Pictures 2>/dev/null | sed 1q)" | xclip -selection clipboard -...
ChocolateOverflow's user avatar
1 vote
1 answer
2k views

How to copy selected image/screenshot to clipboard?

I'm currently using Manjaro but I'd like something that'd work on Arch too for future migration. I'm using i3 at the moment but plan to switch to dwm. To put a screenshot into the clipboard, I'm ...
ChocolateOverflow's user avatar
0 votes
1 answer
252 views

How I create a separate command to copy from my tmux clipboard to my Linux clipboard?

I am trying to emulate the following bindings that work in OSX in Linux: # Copy and paste from system clipboard bind C-c run "tmux save-buffer - | reattach-to-user-namespace pbcopy" bind C-v run "...
merlin2011's user avatar
  • 1,985
0 votes
0 answers
239 views

How to make the Windows 10 clipping tool save the screenshots locally?

The clipping tool was overhauled in the Windows 10 1809 update (October 2018), the screenshots are saved to clipboard only. Being able to capture with various methods by using the Print Screen key ...
user198350's user avatar
  • 4,019
2 votes
0 answers
188 views

Windows 10 clipboard history stopped working

I used to enjoy the clipboard history that Windows 10 provides until my work PC has been put on the office domain, after that, I get the following when I press Win-key + V The things I tried many ...
Cliff Burton's user avatar
16 votes
4 answers
97k views

Where did Windows 10 save clipped images using Windows Key + Shift + S?

When using + Shift + S, the selected area of the screen is copied to the clipboard. Is it saved somewhere also as an image? If so, where can I find it?
reflectionalist's user avatar

1 2
3
4 5
14