cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Copy text from the integrated Web terminal

tushar_bansal
New Contributor III

How do I copy text from the integrated web terminal? The selection goes away as soon as I lift my finger from the mouse.

Screenshot 2025-09-09 at 11.35.37โ€ฏAM.png

1 ACCEPTED SOLUTION

Accepted Solutions

tushar_bansal
New Contributor III

An update here. I raised a ticket and found out this is because tmux mode is enabled by default in the web terminal. You can disable the tmux mode by adding `export DISABLE_TMUX=true` to the ~/.bashrc of the compute.
When I asked them about the default tmux prefix (generally Ctrl + b), the response was that the prefix is yet to be implemented.

View solution in original post

21 REPLIES 21

szymon_dybczak
Esteemed Contributor III

Hi @tushar_bansal ,

Maybe this is something related to your browser/mouse setup? I've tested it on my environment and it works as expected. Selection does not goes way and I can copy text without issue:

szymon_dybczak_0-1757399036997.png

 

 

Thanks @szymon_dybczak, but I don't think I am doing anything special with my browser/mouse setup. I tried using my MacBook's trackpad and the same behaviour there.
Are you using Azure? We are on AWS, could it be related to that?

szymon_dybczak
Esteemed Contributor III

Yes @tushar_bansal , you're correct. I'm on Azure. Maybe you're right and this is issue specific to AWS? Maybe someone else will join to discussion with access to AWS instance and check this

I am on GCP and confirm this broken behavior.   chrome / macos 15.7

This does not work for me.  MacOS 15.7 on chrome .

ManojkMohan
Honored Contributor

@tushar_bansal you can try running a command run a command  echo "your-text" > file.txt and then open/copy from the editor . it worked for me 

ManojkMohan_0-1757399365392.png

 

@ManojkMohan, yes, that will work, but it is not ideal. I would like it to work directly from there.

szymon_dybczak
Esteemed Contributor III

You were right @tushar_bansal . I've logged in to Free Edition which is on AWS and I encountered the same issue as you. Whenever I select a text it disappear. Also there is an option to copy line (when you click right button of the mouse) but it also doesn't work:

szymon_dybczak_0-1757401861004.png

@Advika , could you somehow notify product team about this bug? 

Thanks a lot @szymon_dybczak !!

That is a pretty awkward/difficult solution when copy/paste is such a frequently used tool.   e.g there is a warning/error message.  I'd have to re-run the entire command (piping to output file) to get the text again.  Also that does not necessarily reproduce the results in the same way.

TheOC
Contributor III

Hi  @tushar_bansal 
Are you running on MacOS or Windows?
If you're on Windows (I'm sure Mac will have an equivalent), I appreciate its not an ideal workaround, but one option may be to use the snipping tool. This allows you to take a screenshot and grab the text from it:

TheOC_0-1757407101148.pngTheOC_1-1757407122655.png

I think in the meantime this is likely best reported as a bug and fixed, but hopefully this helps you get the info you need while that is being fixed.

Cheers,
TheOC

tushar_bansal
New Contributor III

Yes @TheOC, this is what I do as a workaround. In macOS I can directly copy from the screenshot.

szymon_dybczak
Esteemed Contributor III

Don't worry, we will submit ticket - we shouldn't use any workarounds here. It should work in the same way as in Azure terminal

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now