Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
1

How to get text copied inside a browser emulator outside of the VM

Baconman321
Baconman321

I want to take text copied from a browser emulator and use it. How would I achieve this, since the browser is run on the VM. I thought of making a txt file and dropping the text there from the browser, but how exactly would I open the file and edit it from chromium?

2 years ago
You are viewing a single comment. View All
2
1
Baconman321
Baconman321

@19wintersp
Oh yeah I think I'll just log into repl and paste it. Yeah, thanks!

Only problem now is that it won't start the emulator!
Any way to drain the memory?

Edit: OH NVM LOL I somehow commented out the code that runs the browser lol.

Huh I can't access repl.it... :(

2 years ago
1
19wintersp
19wintersp

@Baconman321
What emulator are you using?

2 years ago
1
Baconman321
Baconman321

@19wintersp
Bash and chromium.

Edit: Eh, nvm I guess I'll do it when I have access to another computer.

2 years ago
1
19wintersp
19wintersp

@Baconman321
Oh, in a repl? Open up top and kill the process.

2 years ago
1
Baconman321
Baconman321

@19wintersp
Top?

I don't really know bash...

2 years ago
1
19wintersp
19wintersp

@Baconman321
It's a program (quite useful, actually) which you should be able to open with the literal command top (type into the shell). Then, once it's open, you will see the list of processes. Press "k" (the keyboard key), and enter the PID of the process to kill, press enter twice.

2 years ago
1
Baconman321
Baconman321

@19wintersp
Oh cool
Ima try that.

And yes IK I need to know bash, I'll learn it once I get a computer of my own (to run programs).

OoOOo top is a task manager program cool!

2 years ago
1
19wintersp
19wintersp

@programmeruser
You can run Bash on Windows, though Linux is best for it. If you have to use Windows, either get a VM or use Cygwin.

2 years ago
1
programmeruser
programmeruser

@19wintersp
I know that, I just think that Linux is better. And what is a "browser emulator"?

2 years ago
1
19wintersp
19wintersp

@programmeruser
Like this: lets devs test in different browsers; though I think Baconman is just running Chromium on Replit.

2 years ago
1
Baconman321
Baconman321

@programmeruser
why?

Does windows not support bash, or is it just not good for it?

2 years ago
1
Baconman321
Baconman321

@programmeruser
Yeah, I'm going to dual boot the computer with linux. The only problem is I'm worried about memory. If I dual boot it, can I change how much memory linux can use in the future?

Of course, I'm thinking of getting a gaming computer, so I want to game on it... but I also want to do dev on it (I heard it's overkill >:) ). The problem is though that I don't want linux or my dev stuff to interfere with the memory used. Of course, I can always pull files from the windows OS onto the linux OS, so I think I'll just store most of my files on one OS... It's not so much as the ram I'm worried about (if you don't run linux it won't use up much ram), it's the ssd or hard drive that I don't want to have so much taken up on because I would want to download games and all. Again though, I think I should be fine.

2 years ago
2
19wintersp
19wintersp

@Baconman321
Memory, or storage? And I think you can change it, just it's extremely fiddly, as you have to mess around with partitions. I'd suggest having partitions for each of your OS's, and a partition for your files. Just make sure that there's enough breathing room for each OS in their partitions.

2 years ago
1
Baconman321
Baconman321

@19wintersp
Yeah.

Storage. LOL I forgot that was a word :(

2 years ago
1
DaCuteRaccoon
DaCuteRaccoon

@Baconman321
but you have a computer... you can access replit

I don't have a phone or personal laptop, I won't have one until I can buy one for myself, but my school has an agreement with me that they unblocked replit for me to code on my school pc.

6 months ago
1
Baconman321
Baconman321

@DaCuteRaccoon
?

At the time of writing the question, I had only a school computer.

6 months ago