Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Copy text from terminal doesn't work without using the context menu

Scheduled Pinned Locked Moved Solved Discuss
webterminal
9 Posts 5 Posters 71 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    warg
    wrote on last edited by girish
    #1

    Hello,

    when I try to copy text via CTRL + C in Cloudron's terminal, no text is copied. I need to do a right click to open the context menu and then I have to choose copy. This happens with latest Firefox. This would be nice to get improved, e. g. when you have to print out the DB environment credentials and want to copy + paste them.

    Best Regards,

    1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    wrote on last edited by
    #2

    So Ctrl+c already means to send the SIGINT signal to the current process, mostly to tell the active process to terminate (but can be used otherwise). This means we can't use that to copy and currently fallback to mouse interaction. Lets see, if I can get Ctrl+Shift+C to copy text, which is at least how the terminals I use on Linux work.

    robiR 1 Reply Last reply
    1
  • nebulonN nebulon marked this topic as a question on
  • W Offline
    W Offline
    warg
    wrote on last edited by warg
    #3

    E. g. when I do it in putty, it does cancel the command/causes a new line but also triggers a copy from the OS. So maybe it can be linked (CTRL + SHIFT + C would be fine as well). That you shouldn't trigger copy and cancel at same time, when you execute some command, should be obvious (same pitfall as with other clients).

    1 Reply Last reply
    0
  • robiR Offline
    robiR Offline
    robi
    replied to nebulon on last edited by
    #4

    @nebulon why not do it on selection?

    Life of sky tech

    1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by girish
    #5

    I think browsers don't have access to selection buffer (which is separate from clipboard). Also, this is a Linux only concept.

    1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #6

    Rereading, maybe you meant that we should put any selected text into clipboard. If so, that would be non conventional.

    necrevistonnezrN 1 Reply Last reply
    1
  • necrevistonnezrN Offline
    necrevistonnezrN Offline
    necrevistonnezr
    wrote on last edited by necrevistonnezr
    #7

    I don't really understand the issue - you have to use the mouse for selecting the text, in any event. Isn't it quicker to then right click and click copy with the input device you're currently using; instead of moving using a different input device to copy text?

    Development and error-fixing capacities are a scarce resource - maybe focus them on something important?

    1 Reply Last reply
    1
  • necrevistonnezrN Offline
    necrevistonnezrN Offline
    necrevistonnezr
    replied to girish on last edited by
    #8

    @girish said in Copy text from terminal doesn't work without using the context menu:

    Rereading, maybe you meant that we should put any selected text into clipboard. If so, that would be non conventional.

    And may not work on the macOS / Safari... (security settings)

    1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    wrote on last edited by
    #9

    I have added the ctrl+shift+c copy to clipboard for the terminal now. https://git.cloudron.io/cloudron/box/-/commit/67c0a4f5133a04e07032233cbba669732391921e

    1 Reply Last reply
    3
  • nebulonN nebulon has marked this topic as solved on

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks