Coder Social home page Coder Social logo

Comments (44)

marcosnils avatar marcosnils commented on June 4, 2024 85

Fixed.

Added new shortcut to copy with ctrl + alt + c. Couldn't change default pasting due to browser permissions.

Also, just found that ctrl + insert (copy) and shitft + insert(paste) should also work.

from play-with-docker.

ragamuffin-coder avatar ragamuffin-coder commented on June 4, 2024 75

Ctrl + Insert to copy
Shift + Insert to paste

from play-with-docker.

marcosnils avatar marcosnils commented on June 4, 2024 57

from play-with-docker.

Oliboy50 avatar Oliboy50 commented on June 4, 2024 53

@marcosnils after trying harder, it seems that CTRL+SHIFT+V work on Chrome, but CTRL+SHIFT+C opens the Chrome console panel instead of copy stuff

from play-with-docker.

guma256 avatar guma256 commented on June 4, 2024 10

The following worked for me using Microsoft Edge browser
CTRL + FN + E to copy
CTRL + SHIFT + v to paste

For Google chrome

CTRL + insert to copy
SHIFT + insert to paste

from play-with-docker.

amakumar-beep avatar amakumar-beep commented on June 4, 2024 5

to copy (CTRL+INSERT)
to paste (SHIFT+INSERT)

from play-with-docker.

anshumaanbakshi avatar anshumaanbakshi commented on June 4, 2024 4

in 2021 following 2 works well while using play-with-docker.com

Ctrl + Insert to copy
Shift + Insert to paste

from play-with-docker.

Jasveer-Shah avatar Jasveer-Shah commented on June 4, 2024 3

I am on window 10, browser chrome
labs.play-with-docker.com provides linux
the commands worked for me are -
for copy ct+fn+insert
for paste ct+shift+v

from play-with-docker.

marcosnils avatar marcosnils commented on June 4, 2024 2

@Oliboy50 interesting. I'll check it out and come back to you here.

from play-with-docker.

marcosnils avatar marcosnils commented on June 4, 2024 2

@alaagalal yes. Use ctrl + insert to copy and shift + insert to paste.

from play-with-docker.

Oliboy50 avatar Oliboy50 commented on June 4, 2024 1

@marcosnils

  • ctrl + shift + v is the Adblock Plus default shortcut for opening the filtered elements list of the current page... so it does something else for me
  • shift + insert does not work... However, it prints ^[[2~ when I use it twice

from play-with-docker.

risacher avatar risacher commented on June 4, 2024 1

There is a paste button in the Firefox all-purpose dropdown menu, just above the "zoom-in +", which works with xterm.js, when using Firefox-on-windows.

from play-with-docker.

alaagalal avatar alaagalal commented on June 4, 2024 1

ctrl+shift+c ....this is command open inspector of the page
using Ubuntu+Firefox
is there another command or solution for that?

from play-with-docker.

akki-15 avatar akki-15 commented on June 4, 2024 1

Ctrl + Insert to copy
Shift + Insert to paste

this worked perfectly fine for me

from play-with-docker.

Oliboy50 avatar Oliboy50 commented on June 4, 2024

@medined agreed, it's a real issue on Firefox using Windows, because I'm able to copy using right click, but I'm not able to paste after this... but at least, I can copy/paste using right click on Chrome using Windows

@marcosnils this trick doesn't work on Windows (either using Chrome or Firefox)

from play-with-docker.

marcosnils avatar marcosnils commented on June 4, 2024

@Oliboy50 haven't tested on windows. I'll give it a try

from play-with-docker.

marcosnils avatar marcosnils commented on June 4, 2024

@Oliboy50 @akalipetis I believe this could be configured in xterm.js but we haven't looked in detail. Woudl you like to investigate and send a PR maybe?

from play-with-docker.

Oliboy50 avatar Oliboy50 commented on June 4, 2024

I tried what you suggested, but none of these worked in Firefox on Windows :/

EDIT: ok, you made a small mistake:

ctrl + alt + v

is actually: "ctrl + alt + c" and it works fine for copying stuff, thanks

but the biggest issue is pasting :'(

from play-with-docker.

marcosnils avatar marcosnils commented on June 4, 2024

@Oliboy50 ctrl + shift +v should work for pasting as well as shift + insert. Can you please verify?

from play-with-docker.

marcosnils avatar marcosnils commented on June 4, 2024

ctrl + shift + v is the Adblock Plus default shortcut for opening the filtered elements list of the current page... so it does something else for me

I don't see that there's much we can do if a non-default browser plugin is interfering with xterm.js shortcuts =(. Maybe you can change Adblock plus default shortcut?

from play-with-docker.

Oliboy50 avatar Oliboy50 commented on June 4, 2024

@marcosnils I deactivated the Adblock Plus shortcut, but ctrl + shift + v does not work, it does nothing at all :(

from play-with-docker.

Oliboy50 avatar Oliboy50 commented on June 4, 2024

seems like there is an issue opened on xterm.js side xtermjs/xterm.js#418

but it's only related to "context menu", whereas I just cannot paste in xterm.js using Firefox on Windows

from play-with-docker.

marcosnils avatar marcosnils commented on June 4, 2024

@Oliboy50 just downloaded latest firefox 51.0.1 in Windows 10 and shift + insert works perfectly. ctrl + shift + v doesn't work though.

from play-with-docker.

marcosnils avatar marcosnils commented on June 4, 2024

👍

from play-with-docker.

alaagalal avatar alaagalal commented on June 4, 2024

It is working Thanks a lot .

from play-with-docker.

filips123 avatar filips123 commented on June 4, 2024

Is it possible to just use Ctrl+C and Ctrl+V for copying and pasting?

from play-with-docker.

marcosnils avatar marcosnils commented on June 4, 2024

Nope because the browser overrides it. You need to use ctrl + insert and shift + insert

from play-with-docker.

 avatar commented on June 4, 2024

It's quite strange. ctrl+insert doesn't work for copying and shift+insert works for pasting. What can I check for getting more data? Thanks

from play-with-docker.

bruecp avatar bruecp commented on June 4, 2024

Hi,
I am facing the same problem on Win10. I tried all mentioned tricks in the browsers Chrome, Firefox and Edge.
The editor (e.g. Nano, Vim) inside a PWD master is blocking as far as the Shift+Insert or context menu function for paste is used.
Furthermore, I tried this also on another laptop (Win 7) with the same negative result.

I tried some other solutions like, using the PWD Editor, but there I can just drag the file, which I would like to upload and see it's content. Further functions like import, save, etc. is not available.

Lastly I tried to use Putty / WinScp to upload the config file (docker-compose.yaml) but this attempt, fails during establishing the ssh connection, with the error " server send pubic-key".

Some other ideas, to upload or paste file contents to PWD?
Thanks and BR,
Peter

from play-with-docker.

marcosnils avatar marcosnils commented on June 4, 2024

I tried some other solutions like, using the PWD Editor, but there I can just drag the file, which I would like to upload and see it's content. Further functions like import, save, etc. is not available.

You can just drag & drop a file into the terminal and it'll get uploaded to the current working directory you're standing in.

I am facing the same problem on Win10. I tried all mentioned tricks in the browsers Chrome, Firefox and Edge.

Strange.. I've tested window setups in the past and never seen issues with copy / paste. I don't have a windows machine, but once I get one I'll try to repro

from play-with-docker.

bruecp avatar bruecp commented on June 4, 2024

Thanks a lot. Drag & Drop into the terminal window did the job. Great.

from play-with-docker.

DavidMiguel597 avatar DavidMiguel597 commented on June 4, 2024

thanks marcos

from play-with-docker.

nikhil1391 avatar nikhil1391 commented on June 4, 2024

The following worked for me using Microsoft Edge browser CTRL + FN + E to copy CTRL + SHIFT + v to paste

Thanks This works

from play-with-docker.

nelimawawire avatar nelimawawire commented on June 4, 2024

The following worked for me using Microsoft Edge browser CTRL + FN + E to copy CTRL + SHIFT + v to paste

Thank you! This works.

from play-with-docker.

prasad1987 avatar prasad1987 commented on June 4, 2024

on windows with MS-Edge browser following cmd will work

COPY with ctrl+Insert+ c Paste with ctrl+SHift+v

from play-with-docker.

santiagortiiz avatar santiagortiiz commented on June 4, 2024

I have a hp elitebook 840 g8 and it's keyboard does not have the INS key, what else should I do to perform the copy command?

from play-with-docker.

niks2121 avatar niks2121 commented on June 4, 2024

to copy (CTRL+INSERT) to paste (SHIFT+INSERT)

Not working in chrome.
Only ctrl+shift+v working for paste but unable to find copy shortcut.

from play-with-docker.

GitHub30 avatar GitHub30 commented on June 4, 2024

to copy (CTRL+INSERT) to paste (SHIFT+INSERT)

Working in Chrome on Windows 11👍

from play-with-docker.

alanmarque avatar alanmarque commented on June 4, 2024

@marcosnils after trying harder, it seems that CTRL+SHIFT+V work on Chrome, but CTRL+SHIFT+C opens the Chrome console panel instead of copy stuff

Thanksssss

from play-with-docker.

g-u-r-k-a-n avatar g-u-r-k-a-n commented on June 4, 2024

Ctrl+shift+c/v sent from mobile

@marcosnils If you are using a browser like Opera, this shortcut is like a bit torture :) Because they are shortcut for developer tools.
I suppose that ctrl & shift + insert is useful in all browser.

from play-with-docker.

IndunilPrasha avatar IndunilPrasha commented on June 4, 2024

Ctrl + Insert to copy
Shift + Insert to paste

this worked perfectly fine for me

Thanks. this is working windows 10 in crome

from play-with-docker.

stephenjohnson9 avatar stephenjohnson9 commented on June 4, 2024

Microsft Edge
CTRL + FN + E to copy (couldn't get to work)

CTRL + SHIFT + v to paste (worked)

Chrome (Both commands worked)

Ctrl + Insert to copy
Shift + Insert to paste

from play-with-docker.

neon-symeon avatar neon-symeon commented on June 4, 2024

to copy (CTRL+INSERT) to paste (SHIFT+INSERT)
simple, great and useful. may thanks

from play-with-docker.

bmondal98 avatar bmondal98 commented on June 4, 2024

I am on window 10, browser chrome labs.play-with-docker.com provides linux the commands worked for me are - for copy ct+fn+insert for paste ct+shift+v

@Jasveer-Shah yes its working for me on windows machine

from play-with-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.