Transcript
My Linux & Geany Setup 2025 | stream from 27.06.2025
From Errichto Hard Algorithms · Episode page · Watch on YouTube
· 2 h 22 min · 9,586 words · 116 timestamped sections
This is the full, timestamped transcript of "My Linux & Geany Setup 2025 | stream from 27.06.2025", an episode of Errichto Hard Algorithms published July 14, 2025 (2 h 22 min, about 9,586 words). It mentions 5 people, works and ideas, including Ubuntu, Linux, GitHub, Google LLC, Streamlabs.
What is discussed, and when
- – 15:00: Google LLC, Streamlabs
- – 30:00: Ubuntu
- – 45:00: Ubuntu
- – 1:00:00: Ubuntu
- – 1:30:00: Ubuntu
- – 1:45:00: GitHub
- – 2:00:00: GitHub
- – 2:15:00: Ubuntu
- – 2:22:21: Google LLC
Notable quotes from "My Linux & Geany Setup 2025 | stream from 27.06.2025"
Thanks to your streams, I landed a job at Google. I'm very impressed. Congrats.
about Google LLC · atThe beginning, this is a quite fresh install of, Linux YUbuntu on virtual machine. This is Ubuntu 24. The only thing I did is several hours of work to make something called…
about Ubuntu · atTo show that it's not a mistake. I'm doing something on purpose. I want to log to my GitHub.
about GitHub · at
Who and what is mentioned in this episode?
Companies & orgs
- GitHub — Company · 3 mentions · first at
- Google LLC — Company · 2 mentions · first at
- Streamlabs — Company · 1 mention · first at
Products & tech
- Ubuntu — Product · 9 mentions · first at
Concepts & topics
- Linux — Concept · 4 mentions
Full transcript with timestamps
So, okay. Recording happening and locally. I'll see if I upload it. Depends on how big streamer is. Yeah, across. I think I agree. Um, okay. Uh, what next? Let's figure this thing out first because this will be a stream of maybe one hour. Uh, I mainly want to do this. Maybe I will uh go back to this setup. Oh, one more thing here is Windows Genie/Vscode setup. That's too okay. Uh a year ago or maybe like three years ago, I used some tool to highlight Twitch messages. Maybe first OBS show Twitch chat. So there is a way to just display the full chat
and open the browser capture any chance chat. So there is this there was an option here pop out chat. Okay. So, first thing is I can display that if I zoom in then that's already already reasonable. You can read that. Uh it also zooms in Twitch. Uh restream. I'm not using restream today. Today I wanted it to be as simple as possible. No YouTube today. Maybe starting from tomorrow I will be back using restream so that on YouTube you it would be saved automatically. If I decide to do it then I guess still only Twitch chat will be available. At least here historically I didn't like YouTube chat too too much spam and maybe too many people that I do not recognize from handles.
Uh how am I? I'm fine. I can talk about it more today. um problem solving skill. I mean, you know, you can practice. I wonder if the command still works. Practice. Ah, not practice. Practice. Yep. So, we have the command still working. Can read here. Oh, you need to learn algorithms, practice problem solving. Uh, all right. No, I want this. I don't know if question mark is necessary. Ericto. Okay, it redirects to this thing. Now in OBS, what do I want? browser Twitch chat and the URL will be this.
How do I interact with that? Does it help if I use this instead? Okay. And not OBS browser. Close cookies or accept cookies. Right click on the source and interact. Okay, great. There is an option for that. I want to accept and I want to close this. Great. One more thing is I can increase the font. No, it doesn't let me zoom in. I mean I can physically increase this. Okay, that that's that's let's let's say the the first thing we have. Uh but I want to make it uh I want to make it transparent and there was an option for that.
Obvious import Twitch chat maybe chat overlay is better name. OBS Twitch chat overlay. I do I use Streamlabs? What is this stream elements? Let me login. One more thing for today is that I finally have a free monitor setup. So, and you will not see it for you. It won't be a difference, but I need to use it properly. The what you're seeing is my middle monitor. Okay. stream elements
overlays. I want the chat Okay. Show messages permanently. Let's say no. Uh fade after 30 seconds. Sure. Messages delayed by two seconds. Why? Not sure. Enter username to what? To what? to IG Instagram.
Okay, now I'm let's say happy with this. Uh, copy the link. safe. Not exactly what I wanted. testing. Well, it works. I don't want the uh this to be forever. I I mean I want it to be transparent. Here we are lucky because the color seems to be very close to the one note color. So these two here, you see this background is almost the same, right? Surprising. It's just a shade off. Uh, thanks to your streams, I landed a job at Google. I'm very impressed. Congrats. I'm guessing that my streams weren't that important in your path to that. I think it's still mostly your work. But if it's at least 1% thanks to me, great.
You're welcome. Is it okay to check the solution of a problem? Yes, only after some time. When you're stuck, if you don't have new ideas, you are stuck, then it's okay to check the solution perfectly. You should read the beginning of a solution. So just few sentences from the editorial. And when you see a new idea that you have not investigated yet, then think without the editorial from now on until you're stuck again. Do not read the whole thing. Um, all right. Also, we I want the highlight of highlight or display single Twitch message.
Some people just make their actual screen disjointed from your cam chat section. Oh, yeah. I understand that I during my streams actually what is on the screen is the most important thing. I do not want to decrease it. I understand that what we can do is we can do this thing and you know make a nice overlay around it but and it's okay if the community aspect of the stream is very important but here what you're seeing on the screen is very important and I don't want to decrease the quality. I understand that the quality of the stream here is not that important as long as you can clearly read the text, but maybe depending on what screen you're watching on, decreasing the window by 10% actually will mess up the font by more than 10%.
The resizing isn't that perfect. Ryan says, "It's been a long time since I did combative programming." Yeah. Hi, Pelterator. Are you still doing something on YouTube for example? Oh yeah, you still do. Streamed four weeks ago. FFT basic lecture. It's funny that basic lecture is three hours long. Uh, but wait, is that the only recent thing? Oh, yeah. So, did you go back to this a month ago? Just recently had a couple of streams for the first time in two years. Nice. You beat me in terms of the the break before the new stream.
Uh, cool. Cool. Okay. Uh, highlight single chat message on the screen. Also, I want to display things at least for now for more than 30 seconds. So, settings message fade after say for now 1 minute. Save. I hope the link did not change.
Uh feature chat. Thank you. Will back. Yeah, this is what I used in the past. Okay, that's fine for now. Uh so let's say this is partially done. We don't have highlight. We have a display of chat. For now, it's not transparent. It's okay as long as the one note is on the right. Next, let's run Linux.
When I'm solving problem in contest, do you cons consciously try to identify the problems category or paradigm up front like this the piece like and so on? It happens subconsciously by this. It's not that I make a sentence in my mind that this might be two pointers, you know. is just like let's say let's let's think about something easy in math. If I tell you to compute let's say I don't know uh let's say 17 + 18 I think what we are usually doing in our heads is that we are separately computing 7 + 8 that's 15 and plus 10 + 10 right and you add this up so you will get like 20 + 15 that's 35 but we are not I think when you're good at math You don't really think those sentences one after another. It's more like it just happens in your brain, right? So when I see this very quickly in my head, it will become 35. And I know the single steps that happen, but they happen so quickly that it's not that um I think
about them. Hi Crazy and Coris. Uh Yeah, everybody's blue, red, green. Yeah, that's funny part about about this chat thing. Okay, I want my face to be always on the top. Let's say. Oops. So, if I do this, I want camera to be on the top. Okay, that works. Of course, now it's ugly. We will improve this. All right. Now, uh, Linux, as I said at the beginning, this is a quite fresh install of, uh, Linux YUbuntu on virtual machine. This is Ubuntu 24. The only thing I did is several hours of work to make something called hyper virtualization off. Uh you're not seeing it right now. Uh in bottom right corner very small you can see a blue V shape just in the bottom right corner. If you instead see a green turtle it means that the virtual machine uses different kind of virtualization.
Uh so the CPU I think is not used efficiently. There's there is some kind of emulation layer and it took me several hours to change it in Windows settings. It was like really crazy. The instructions are difficult. I'm happy that I managed to achieve that. Before that, the Linux was very laggy. Now, what we need to fix first thing is the resolution. Is this frozen? What did I do? Don't tell me that I messed something up.
What were you doing these days? I move apartment. I moved apartments three months ago. I got a dog. I play volleyball. I play a lot of wild ball this past year. If you do custom in stream elements theme, it seems transparent. Okay, we'll check that. Okay, now it works. Display. Uh so resolution I don't see the 200 something by 1440 so we will need to fix that. Let's first use what Gupta said. Uh so here what I want
opacity no custom background color. Okay. So background color here is transparent. Save. And now can you try the chat now? I think we will see the white text. Safe. Safe. Text settings. And now we don't see anything.
Save. Let me type something. Test one. Doesn't seem to work. Just do for a moment. Let's show messages per monthly. Sure. Save the size. So you think the size was zero? Dark chat. Test six. Well, now I don't see anything. Even back to the dark chat setting.
test seven. Okay, now it works. So, and what if I get back to custom uh here? Let's use something for a moment red. It will be easier to see. Uh preview copy move here hide that testate okay I see it here though it's not really transparent now if I copy this here.
Just some strange behavior. It seemed that after I started messing up with the settings here, uh, the messages are not displayed at all in OBS. But wait, if I open the same thing in my browser test, it is displayed. So,
something is wrong with OBS settings. Let's just remove it. Remove. Yes. Here I want to leave delete new overlay. Uh sure add. What did I add? your stream right now. Uh there is this thing test 11 safe reach. One moment.
Okay. Twitch chat V2. Make sure you do not share this link with people you don't trust. It's good that I'm not sharing this with anybody. Test 12. Then I want to add browser thingy. Okay. And for some reason in OBS now it doesn't display anything. Why? Maybe because it doesn't refresh. But it did work. Refresh car of current page. Sure. uh refresh browser when scene becomes active. I mean I I have those settings local file. No.
Uh Gupta, it's all your fault. You suggested to fix things with the custom and it stopped working. Uh, computers are stupid. All right, let's turn it off for now and get back to fixing Linux. All right. Now, there is an option. Let's see. Ubuntu virtual machine um get other resolution. The issue here is that the resolution of my monitor is not displayed in the list. So when I tried displays here in this drop-down menu, there isn't the 20 I think 560 by 1440. I think that's what I want. It's not here. Yeah sure.
I used something else in the past. my virtual machine name. I remember that something else worked for me in the past. So I will try to find the same thing. Some resolutions not not showing software and updates. additional drivers.
Okay. XR. This is what I uh did use in the past. X run. Do we have here GU? This is not what I want. I want say this great please. Gre is that terminal that you can open full screen with the F12 button.
Doesn't work. I can minimize but I cannot maximize. So F12 it's hijacked by something else. doesn't open. We have 12. This is fedora. Scroll to the bottom and click plus. I don't see a plus. Quake wake toggle out. Okay, works now. So F12 button is completely overwritten. Now it should be that from any window I can click it. So I will not be able to open the the the thing on the right in Chrome for example F12 by default does that. Okay, where was that X render thing? Here. Next round. Okay, I'm interested in 1440p resolution 25 to 560 by 1440.
X run output. I'm not sure if this is the I think my monitor is connected with uh what's the display port, not with HDMI, but we'll see. Uh primary mode 2560 by 4040. Resolution 60 is okay. I mean the refresh rate. Okay, HDMI one. Bad. Let's try virtual one. Cannot find the mode. But I want I think to add something to X render. X render. Add resolution. Let's say custom resolution.
CVT this this 60. Okay, it gives me a long line. Now I want X run new mode the name P sync. So I just copy all of this X run add mode virtual one and I copied this. Let's check displays uh 1600. Did I make a typo? It was supposed to be No, it's just different. I don't see it. Let's see. X render. Still not here.
Let's list monitors. One more thing is maybe in the virtual machine settings we are limited. display. I don't see an option to choose here resolution. Well, and it says the height of 1440. So, it's not that I'm limited to 1080. Doesn't modern Ubuntu use way. Maybe you need uh WL run. I don't know. I know that I used XR in the past. Something froze. I don't like it. Okay. Unfroze versus this.
I will still try with the X run. If doesn't work then I will make the suggestion from okress. What about this? Failed to change the screen configuration. Oh, wait. It was here at the end when I uh run x run at the end of my list there is this okay that's something
integer parameter out of range. It seems that I don't see a possible width greater than 1920. And this will I think match this place with the list that I'm seeing here. No, it it allows me to go 2560.
Let's restart the machine and see if that changes something. By the way, I'm sorry that the stream is, you know, slow in terms of content. It's just some boring stuff that I need to set up. But if you have some questions to me, I can talk while I do this boring stuff. Uh, why can't you change it in the settings? Do you need to use XR? So, in the settings of display, I don't see the resolution, the full resolution of my monitor. I want the 1440p and it's not there. There are similar resolutions available, but not this one.
So, as you can see, there are black bars on the sides. I also see them on my monitor. My monitor is standard 16 by 9 ratio displays. And here we are missing the 2560 by 1440. It's not here. So for now I chose this thing. Um, right.
Are you playing some new type of streams as well as or similar to previous ones? Uh, yeah, I think similar to previous ones. I want to get back to solving problems from code forces and similar websites.
Can I show I can show you my dog who is now doing something very cute in the corridor. Uh you will not see the Nope. No, you will see part of the dock. Maybe he will later come close. Are we ever getting another portal stream? Maybe portal 2 eventually.
So now extrand forgot about that thing we did earlier. So I need to do the steps again. CVT this by that much 60. Okay, we got this X round new mode paste. Nope. I X run new mode. This X run. Well, it is here.
X range new mode. Copy paste the name. No. Uh, new mode already happened. No. X run add mode. Okay. Did it complain? So, should I see it now? This place Still not. But there should also be a command to do it from terminal here.
failed to change. What if I added the name? Why? What if I use something else like what is uh 720p one? 1280 by 720. It didn't complain, but the resolution did not change really. Big dog. Yes, it's a very big dog. Setting uh normal resolution in virtual machines are so annoying. I agree. But I need to do it only once for a new machine. The previous desktop I had for five years. I went through some pain at the beginning and then it worked. Now it's the same thing. As a competitive programmer, what do you think about let me show the chat for a moment on the screen.
As a competitive programmer, what do you think about the big tech companies asking lit code like questions in their interviews? Do you think it's a good way to assess a person's abilities? It's not the best, but it's easily scalable. It's easy to compare people with each other, so it's something. It's not perfect. Not at all. It feels like it's running wayand and you're changing the resolution X wayand proxy between that. Okay. Uh let's try then Wayland add new resolution and that's in
Here seems to be name of a monitor. Is this known? This is virtual box with Linux yubuntu. How was your experience teaching at Harvard space? It was it was perfectly fine. I mean the level of students varied from year to year. There was a year when I when I had a very strong group. There were a lot of people who were reasonable at algo and competitive programming and there were people who were excellent like not worse than me and there was a year when the level was so much much so much lower. I actually couldn't use the curriculum from the previous year.
AI in competitive programming complicated thing. I think only on-site competitions will remain eventually. I have way on display. Yeah, sure zero. So should I do the things from before by using zero? No. When I did new mode, I didn't specify way or anything else. Excellent will not work with WH.
Well, let's try name cannot be longer than this. I don't understand those characters exactly here. Uh name cannot be longer than 12 characters. This is too long stupid thing. Okay. X uh see. So there was this now I guess X run new mode. And I'm going to copy this but with a shorter name. I hope that this is just a name. Uh I made the typer right. No, it's wrong.
test. So, this works, but this doesn't. Is that because of the mode line? All right. X run. Now I see this. Now back to the thing that told me that I'm using too long of a name. Uh so let's try this. Okay. computed ratio 16 by9 wrote this I don't know if that's Good.
This is so complicated. quotes around mode line text. You forgot quotes. I mean here I put quotes. So what they used first is this. I think they used single quotes, right? Where is it? Here. Yeah, I changed it to double quotes because something didn't work. Uh yeah, same thing. Okay, never mind. Yes, sorry. Sometimes, of course, I see a message in the chat after a few minutes. This will never work under Wayland. All this is for exor configuration unless you have that running by default on latest Ubuntu is way
ask GPD. Oh, you know what? At the beginning, I wrote few things of what I want to do maybe to mainly today, but my goal for the next days or maybe weeks is start using let's say chat GPT or something similar to actually help me work more efficiently. Maybe I will buy the paid version as well. We'll see. But I want to do this maybe in particular today. I will try. There is a different way for custom resolution on Wayland. Uh so Raven Master, do you have a link for what I should follow? I will make sure if magically we don't already achieve the resolution. Nope.
There is no official way to resolutions, but there might be a error. Can I hang on a second? Tail check. Okay, thank you. Let's see. Also, it seems that I'm not able to copy paste between the guest and host machine even though I thought that in the settings shared clipboard by directional. Why are virtual machines so ugly? Uh, have a nice day. You too, Agoric.
Okay. Now, what is the easiest thing for me? Let's do this right now because I'm not able to copy paste easily. I'm opening the chat just so I could get the link. But I need to figure out another way to do it. Okay. using Twitch chat to copy paste something between your two machines. That's the most efficient efficient thing out there.
Well, let's see. Okay, we have eight virtual things. A card. This will return a list of all your graphics cards and the ports they have. You want to look for card zero. Card zero HDMI. I don't really have that. I have card zero and then virtual one and a lot of other things. Okay. I will assume that virtual one is what I'm looking at.
So here we want current zero virtual one. There is a list of resolutions and it seems that it matches what I saw available. So this is good. Make note of this port name. Uh port name was virtual one.
Refresh rates. I don't care. I mean as as long as it's six. I I would survive for now with 30. Though it would be annoying. Open the grab configuration file. Where is that? Let's try this. Maybe not cut.
Yeah. Thank you, Raven Master. You know, it's a good article if the outer ads to using a CRT monitor in 2021, I guess. All right, we have this. Look for that value. Uh oh, it's not here. It's a very It's not a long file.
Do not edit this file. Was it at the top? Do not edit this file. It is automatically generated. Well, it's just a comment. CMD line. This is not here. So, should I just add this line at the end? Open up the grab configuration file and look for this value. Your particular setup might already have a few things there or not. Have you tried the VM display settings? I didn't see anything there that would limit me. Uh I mean there is display remote display. I I will in a moment close this. Okay, let's do we have this but I see a lot of possible resolutions available and I see a big enough width and big enough height just not the combination of them. So it's hard for me to imagine what would need to happen in virtual box. It's not that virtual box ever displays a list of possible resolutions for me.
But once uh this once this closes, we will look at virtual box settings together. I see a funny message from Ku 12. It's easier to hit like a jackpot in the lottery than to see my stream. Limit for 2025 is used. I think you know I am going to stream also tomorrow but will that happen but is this comment true? Well depends for you personally it is more difficult to hit a jackpot in a lottery but for anybody out there it is easier. Almost every day there is a person who will hit a jackpot but most days there is no person who will see my stream live.
Okay. Uh so settings display for screen I'm using well there is graphics controller but I if I recall correctly I cannot even change it. It will not allow me to start. Recording I don't care. remote display is grayed out. I don't think there is anything else that would affect the resolution.
Also in general shirt clipboard is birectional. I thought that this would allow me to copy paste. I used to be able to do that on the previous machine. the in general the IT job is it can be so annoying. I mean it really can be a torture. Not really but uh figuratively. Yesterday and today in the morning, I spent like five hours fixing some virtualization thing with virtual machine so it would work fast. I needed to turn off virtualbased security on Windows and that's a pain in the ass. I succeeded. So now Linux runs fast.
It's not laggy. Okay. So, back to this. Do I have guest additions installed? I remember I needed to do this on the previous machine. What was guest additions? Oh, I need to do it to allow the copy pasting right? Okay, I want to do this. Uh, so let's turn this off.
Disable virtual based security on Windows. Yeah, it's so ugly. What I needed to do, uh, let's say this. Yeah, I needed to play around with Windows features and that wasn't enough. I I needed to go through a lot of things in the registry. Let's try to find this virtual box. Get rid of green turtle. Maybe this. Yeah, a lot of registries, a lot of scripts. So this uh this virtualization thing it has such a property that there are a lot of things on Windows such that if at least one of them is on it will turn on this virtualization thing by default. So there are a lot of things that automatically imply the existence of that virtualization thing. So you need to turn off all those things that would turn it out automatically and only then you will be able to turn it off. And to find all those things it's there isn't a complete list for that. You need to keep googling and trying to find is this on
is this on and it even depends on your processor. It's this virtualization thing is slightly different and the names of uh the names of let's say registries or the names of those things are slightly different for AMD versus Intel. Yeah, it is bad. Printers are stupid. The drivers are stupid. I don't like computers. Why is it turn it off? turning off for so long.
What was I doing? Um, guest additions for Linux. What is the version of my virtual box? 710 71 There isn't 7110 here. There is 710. So when you disable them like can you check uh so the good thing is I didn't I didn't need to turn on the virtual machine every time when I played around with those settings what I wanted to achieve is in system information on Windows I wanted to see that this virtualization based security is not enabled I knew that this is what I need to achieve. Al from time to time, by the way, I would turn on again the virtual machine to see that Linux is still laggy and it was really laggy.
Like things took, let's say, opening Chrome took 4 seconds instead of half a second. It was annoying. I dealt with the same issue on the previous machine, so on the previous PC. Uh, but it was easier to fix it back then. Maybe it was different because of a different Windows version, 10 instead of 11. Maybe it was because of different processor, some old Intel instead of new AMD. I don't know. But here it was ugly. And eventually when I managed to turn it off and I rebooted my computer, by the way, there was a suggestion that I should plug it off from the power outlet. Wait for 20 seconds, plug it back in. And when I uh turn for the when I indeed managed to get this from disabled to from enabled to disabled, I would turn on my computer again. It asked me there was dark background I mean black uh background and in white font it asked me are you sure you want to turn off virtualization based security on Windows? Yes, I'm
sure. And after that it told me to change my PIN for Windows. I it was the first time I I saw something like that happening. It was a little bit scary. Maybe now my machine is easier to hack. Maybe what I'm showing you right now on my screen is confidential. I hope not.
Okay. Uh guest auditions I can insert uh I I saw in virtual box menu. So I need to say add when I'm running Ubuntu. Okay. Even if here I don't see what I'm looking for. I just want to see what settings I have available.
There is display maximum guest screen size. What if I change this in a moment? None. Maybe that will help. Invalid settings. I cannot confirm without fixing that issue. Okay, then discard settings. I found the button one second before I saw Acraas message uh the insert guest additions. I saw this clicking it does nothing. Also on my secondary monitor.
Oh, now something happens. It should open browser. So let's wait. Maybe it will happen. I'm just checking if things are working. Okay. Please install this and that. recursive. I didn't even know this. Okay.
It would be funny if doing this extra thing uh if it fixed the display issue. It did not. Okay. Now, um got it. Can I copy stuff? What's that? What if I here type something and I try to copy to Windows? Didn't work. Maybe I need to restart.
Mhm. What's happening? How uh does it magically work now? The resolution I mean how and why why does it work? Was it a combination of things I did like a sequence? So in particular, I went full screen. Did at proper moment. Did that help? Did the guest add a additions help? Why I I'm happy. I I shouldn't complain, but Okay, this is from Linux. This is from Linux. Okay, it works. I wonder if uh so copying works between systems. Now, it used to be a case that I couldn't copy the link name from Chrome uh outside to Windows. Oh, I can do it.
This used to be so-called rich text. So, when I copied this, it's not exactly text. It's not not just a sequence of characters. It's something more with formatting. And because of that I could not copy it. I need I would need to copy this to some text editor and then only then I could copy to Windows. But here it works. Okay. And now if I power it off and I turn it back on. It's great that I'm recording all of this because in five years when I again change my PC, I will be able to recreate my steps and that will be 80 minutes of clicking the same things hoping that the same thing will happen eventually. Let me close this virtual box start.
Wonder if still will be working after reboot. I'm wondering too. Okay. Okay. It I went not full screen back to full screen and it worked. Now I wonder if I just needed to wait. So now again power off the virtual machine. Check also settings menu if it automatically adjust the size. Maybe we'll we'll see. We'll see. Uh, no. I don't know why it's so slow, but Okay, start. I should have also closed this, but whatever. Okay, full screen. And I'm not clicking anything. I'm waiting. Let's wait.
Okay, it seems full screen and now automatically or not. I will wait for half a minute more. But it seems I need to control F that to go out of the full screen. And no, I'm guessing that if I just hit display, I will not even see the available one. No, it is here. So something did change. Strange. Okay. But and then I could here I could change this to that thing. But also I can go Ctrl F. Wait, nothing happens. I did not click again. So when I went Ctrl F and waited for 5 to 10 seconds, it adjusted the size. Now is it something in settings, preferences, display
not here. settings display and just to make sure now if I see displays on Linux. So this adjusted to the size that it has which is it excluded the top bar the bar that says Ubuntu 24 running Oracle virtual box and then the bottom side. Now if I control F from this to go full screen it adjusted automatically to this. Okay. So the sequence of steps let's verify that I have two possibilities for what to do. I think view auto adjust size. Uh I will click
I don't like how much time this takes sometimes. Virtual start. It's strange that right now it is full screen and I there are no black bars on the sides. Can I now go into settings? Not sure. Okay. So now I don't see the view button. So now I will not access it. But if I hit okay, I I now have two possibilities. I could ctrl F to exit full screen and then it will automatically adjust to get rid of the bars on the sides. Alternatively, I can go displays. And it is available now. Apply. Done. Now I wonder if I can have a terminal command that does it automatically. And if so I will add it to startup.
So Ubuntu terminal command to change resolution. They suggest X run. So is it the case that X run will do nothing for us? Um It did change stuff, right? I think it messed up the font here. So, maybe we're looking at the smooth. No, I was sure that it did refresh something. Try restarting again after you apply that setting. I think the setting will not be saved. I think view adjust window size auto resize. I clicked those two things. I did they did nothing. Also there is host a button. I can remember that it did nothing right now.
Right now I did something so that the I see the bars at the top and at the bottom. So I don't want that now. It's good. Okay, I run this command. I think nothing will change but if I reboot but let's see. Hello Mayat. Is there a new wave of CP streams soon? Yes, I think so. I do not promise, but I genuinely think so.
Why does it take so long? Okay, once this is done, what should we do next? Uh so well this we did uh there is also some one node setup that I want to do. Maybe let's uh separate Linux setup and genie setup. Can I cross it out? Let's say done.
I think we can set up Genie. That will be easy. Okay, this froze. So, I'm just going to hit again. Power of the machine. And it seems to just kill it because it happens immediately. Just in case. Close virtual box. Start. When you press escape, it should show what is taking so much time. Okay, I will next time. Thanks. Full screen.
I know. Didn't need to do anything. Well, I went full screen. Power off. Power off. No. Why did it close so fast? Start. It remembered the setting apparently. Okay, things do work. I think I will want to hide this uh this row from the bottom. I don't think I need it. I remember the keyboard command of right control F. So what? Let's set up the genie. Uh genie do we have GU? No, not GU. IG++ version GCC version Python version Python is there. I can later set alias from Python to Python 3. All right, we want Genie. Do I want to install it this way or here? Will be okay.
G. Why is there no icon? There is one. Next. GitHub wiki Linux G setup. What do we want? Open preferences. This is my own instruction that I made in 2021. I'm going going to just follow it. Uh, open preferences in key bindings. I remember that it was close to the bottom. We want editor to be F1. No, I didn't want to open help. F1. Change F1 override. Okay. Uh next terminal. We want F2. In terminal tab follow path of the current file in general miscellaneous I don't want bipon errors editor single space I don't want line breaking column Display
don't stop scrolling and long line marker do not enable. Okay. Apply in view. I also want to uncclick something. view, hide toolbar and sidebar. Open any C++ file. Uh let's call this a.cpp. You don't need to type the full program to do the settings. G++ not found. Okay. uh sudo app installg++ gen doesn't have a config file I do not know maybe it does if so I wouldn't need to go do uh do those steps that being said sometimes I need to do through those steps without having access to any file and that is in some on-site competition where I don't use my own machine so once every several months I do need to follow those steps given some machine on an on-site competition and then I'm very happy that I once wrote this down just before a competition I would go through this memorize most of it and I would reconstruct the steps. G++ version 13 I don't know if that's good or not. All right. Uh so now it will compile
std C++. Okay. And I can run. I can run. Good. Uh, build set build comments. Uh, drag and drop operation failed. Not supported by guest. what you've just seen when I do this and I go outside of the window. I'm my mouse moved to the second monitor and it says I cannot drag and drop. I will figure this out later. Okay. C++ 17. I guess we can do C++ newer like 23. Is there C++ 23? I hope and then there is this one more thing that I add to it is the local for my debugging tools also undefined and address can be written just after a comma. So sanitize equals address comma undefined.
Okay. Now F9 F8. Okay, it uses different command. Great. I can run. I can run. Uh, open this bash RC. I don't remember if sudo is needed. Find force color and do the yes. Add a line. 2 GB will be okay, I think. So, so change the stack limit to 2 GB. Restart Genie. And now we have a colorful terminal. Before that, everything was here in white. What else? A Quake. I already do have I did that at the beginning in system settings uh settings
I think the GU auto start so I don't need to do okay how to hide the dog appearance dock. Okay. How to hide the dock. It is on the left. Maybe I want to move it down or top. Sure. Oh, interesting. I can show it on different monitor if I set it up. Position on screen left. Let's leave it left.
Okay. I don't know why it doesn't hide now. Okay. It does hide now. C++ 20 phrase even on code forces then I will use it. Uh lead glad glad you're back to streaming. I'm happy that you're happy. Next, uh, download Monokai team from here. Maybe it's already there by default. Change color scheme.
Oh, this already changed something. Okay, I want to download. Okay, where do I save it? I will leave a comment color. Where to save genie? Not config skin color scheme config genie color schemes. By the way, there exists something called genie conf. So it's it's a file out there though there are other files aswhere as well uh like key bindings which means that I could what I could do is copy the whole folder but that also might depend on the version of genie maybe. So I think I'm happy enough with my instructions. Okay. Where do they save to color schemes? Color schemes.
So, I want this. Okay. Save. I wonder if it should be txt. Okay. It's in downloads. Move from downloads. Do you see it even? We don't. My my face is hiding it. Move from downloads. to here. Okay. View change color scheme. Okay. Done. Okay. I also want bigger font. I mean I could zoom in and zoom out but what is better is the font change. Maybe it is here. Uh there is some fix if there is an issue. Test lip. I'm going to do it in a moment.
Preferences editor. Where will I find the font size? change for okay I don't claim that such a big font size is good for coding, but a lot of coding that I do is for educational purposes. So, uh I want you to see it clearly even if you don't have it full screen, even if you're watching on your phone, stuff like that. Uh the terminal font also should be bigger. Let's say 15. If needed, I will change. Maybe it's this is too big. Preferences 40. So what did I use? 70. Uh let's test something. If def local debug of x print name of x is equal to x, new line. Else debug of x do nothing. And if x is five, y is 17, hello is the sum, debug of hello.
What? Isn't this how you put how you use the name of something? C++ hash define. Oh, define of course. Thank you. That was supposed to be define. If I now run, I see hello 22. Can I also change the size here?
I mean I can again zoom in and out but that will not be saved. Hi donut master. Okay maybe later. So I have this close. If I now run with different compilation flag there is some warning. Sure. And nothing is displayed. Great. Do I have w Yes, I do. I think it's good to modify this. Am I logged in? I'm not. I'm going to hide my screen for a moment. Also, it might be a good idea to add some text. Uh doing something private or maybe uh hiding screen. Screen. Okay. So now if I No, not here. Now if I hide my screen, you will see this message to show that it's not a mistake. I'm doing something on purpose. I want to log to my GitHub.
There's two factor authentication. Okay. Show it back. What I want to do is edit this page. And when I talked about mama k and where did I save it, color schemes. save to the folder. I will copy this.
I'm sure I change comment color to this. Uh then apply the color scheme in view. Change color scheme. Save page. I mean, if I follow my own instructions and there is a point where I don't know what to do, it means that the instructions were not clear enough. Download Monokai team from here. Save it to here. Optionally change the comment color. Even when I read my own English from few years ago, I sometimes add or change words. Then apply the color scheme in view. Change color scheme. Okay, I think it's good enough. We'll see if the underscores disappear. If so, I will eventually change it. Uh, what is next?
Well, I also did something else to make the F12 button work. this. Why do I need to install something? Is this version of Python here? I should change bash rc to bash rc or zs. So when when do we use z hrc? Depends on the Linux OS if it's either this or that. Do I specify that it's for yubuntu? I mean I don't know what other things might go wrong with Yubuntu. So maybe let's leave it like this. If somebody uses another D distro then they will figure it out. Will you start coding problems from today or tomorrow? Tomorrow.
Uh link to setup guide I'm using. I mean you can in particular use this link and on the right just choose Linux engine setup. I can also give you a link directly. It's this if you search for GitHub Ericto you will find it on the wiki tab. Okay. So what steps did I do to make F12 work? I added keyboard shortcuts. Uh where is that? I did not do this. I think what I did is in preferences Third great at login. Anybody remembers if it was on by default or did I need to click it
also? How do you open Quake preferences if you don't have that? Okay. Can I also in terminal type break? Yes, I can. Um, open GU with command G. Right click. Um, right click. How do I want to convey that? You can right click here.
Right click after opening hit preferences and then uh mark what do we mark start at login. Okay. And then there was keyboard shortcut thing in settings keyboard. in system settings. Uh the keyboard keyboard shortcuts shortcuts I don't know if it was upperase. Yes, it was.
Uh add add a new one at the bottom and run command wake toggle with F12. Add a new shortcut at the very bottom. Command wake toggle, right? Yes. Wake toggle button F12. Open settings and auto height. Sure.
Okay. Where where is the stuff that I've just added? Okay, it's here. I I needed to refresh. Ctrl F5 helped. Okay. Open GU with this comment. Right click after opening. Hit preferences. Mark this. Uh what? No, this I should remove. activate this.
Oops. Open GU in system settings. Keyboard keyboard shortcuts. Add new menu shortcut at the button. Command GU toggle button F12. Okay. How to hide the dog. I did that. Monkey theme. Uh, save it to here. Apply the color scheme here. If underscores grab test lip, I want to do it. I'm going to sometimes problem set using this machine. So what I want to do is download this move to user local not gen uh local include move from downloads the test lip here open it at the end at the beginning of this. So the test dip library it's used to create problems.
It's a library to create tests for problems and other uh files like validators and interactors. But it is written with bugs that trigger not really bugs. It it yields a lot of warnings that my flags will catch. And to avoid that I need to run some pragma to avoid those warnings here. Okay. Now if I manage to do it correctly, what I should be able to do now from any place is include test lip. Nope, that doesn't work.
Make sure started login is toggled on. Uh yeah, that's some better wording. Uh where was that? Hit preferences. H that's good enough. Uh, is it a new laptop with a new Ubuntu? Yes, that's a new desktop with a new Windows and new virtual machine with Ubuntu. Uh, right click inside terminal window and click on preferences. Uh, okay. Right click inside. I like this wording better.
Bro, you can use cursor to solve this. What was what was that about? It was about me opening gu here in the top right. I prefer I prefer a button. Okay. Now, why test lip is not here? Wait, I I didn't move. What did I do? I moved test lip to color schemes in Genie. Yeah, great. Uh I think I don't want that there. Uh test lip. I want to move to user. What was that? Local input
sudo. Okay, it's here. Okay, great. Now the testlip.h H library is available from everywhere on my machine. Is that everything? I want the Python alias. Ubuntu Python Python free alias systemwide package. That's interesting. I think I prefer an alias. Uh, I'm going to add it to Basher C.
How do I run this? Is this the way? Okay, Python now runs Python 3. Before it did not do it. I think such an alias is fine. I'm going to add it to my list view limit. Add optionally add line alias Python equals Python 3. Do I want to explain it here? It's fine. Where is that stuff about Python? here.
Save. In the same file, add a line. This optionally add a line alias. Python is appended free. Restart genie. Uh run this. Actually, your restarting genie will not apply the alias. I think but you can run this. Okay, let's ignore that. Uh I am I'm supposed to ban somebody. Let me see. Uh please ban I don't see I don't see his messages also. I assume is muted or just speaking very low. Uh yeah, I'm not muted. Is this the was that the situation for the whole stream that my sound was too low? Hi Costa. So uh let's see this is also done.
I want to have also C++ on Windows uh in OBS. Do I want to do something else in OBS? Well, the chat thing one note setup. There is one thing that I want to do in one note. What was that? Let's do it now. Maybe let's see. I want I want I I want some key bindings.
I think I will do it and then I will finish the stream. It's already more than two hours. Maybe I cannot hear raise the volume in some way. I think I need to open Twitch because I don't see any comments from that guy. Show chat.
Do you still see his comments in the chat or I don't. So maybe there is some old mod here and they already banned them. Okay. I'm going to then ignore this uh one note. I should be able to draw now. I want control one, control two and so on to change between colors. Right now I cannot do that. Is this black? Does this color? Oh, this is uh making text. I don't want it. I want to erase that. No, stupid one. Not okay. Anyway, uh so we have this that I also want to add light green pen. Dark green. Dark green. It's too dark.
More colors. More colors. light. Okay, good enough. Here we go. What order? I think I always had blue first and then was it green or red? I think it maybe was like that. And yellow. Yellow is also something I want. More colors. Yellow. Okay. Yellow can be here. options.
How do I set key bindings in one note? No customize keyboard option. I I had that on the previous machine. Customize ribbon. Let's find customize ribbon. Not enough. Maybe I use some external tool for that. Wait, I'm using one note on Linux. There is no better note takingaking up. Uh I I'm using it on Windows. Uh what you're seeing here, this is a virtual machine. Okay. So this I think actually it's a virtual machine. So when you see one note, okay, one note is next to it. It's not inside of Linux. This one note inside of Windows. This is virtual machine inside of Windows with Linux inside. That's how I can use one note even though you see me using Linux.
Okay, let's now go full screen here and back to one note. Key bindex keyboard shortcuts copy selected text you can do with Ctrl C. Thank you. Custom key bindings. Customize keyboard shortcuts. There is a list here.
I want to change it and it was possible in this version of one note. I think it is possible. But how? One more possibility is that I did it somehow using the drawing tablet software on screen shortcuts.
I think that what I did here is that this button just does control one or something like that. So in one note I set it up modify tool. No. Add gallery to quick access to bar. Let's Google some more. I don't believe this guy. Try auto hotkey. What is that?
I don't recall using this. So I managed to do it I think without extra tools. So, this is from eight years ago. Maybe I need something newer. My dog doesn't like when something is happening outside. Okay, that's that's some possibility. People are saying that you can use this. What shortcut are you trying to create? What I want to happen and I did manage to achieve that uh on the previous machine is Ctrl 1 2 3 4 would change the color uh of the pen here. Even if I'm full screen and I don't see it. So right now I'm drawing in white. I hit control 2 on my keyboard. I want to draw in blue.
Right now the possibility to do it is hit here blue. Now we're done. There is there should also be an option Um, I remember that there should be an option to see the rabbon here. Oh, okay. So, that's something that's a little bit better, right? I can say ABC change to blue. This This is already very good. I will survive with this if needed. Alt no alt one. Alt two. Alt three. Alt four. No. Alt D G. This so far I did that with keyboard. Okay. So can I do al G? But maybe it wasn't control one. Maybe it was alt.
Al G then C didn't work. Al G. Alt C doesn't do anything. Al A al G. Alt C nothing. Al GC nothing out. Now this is saying this is showing that I can hit one of those. I want that then G then C. I can then click that. Do I have this? Okay, that that's set up already. So, my welcome tablet is working fine. By the way, the stream is two hours 20 minutes. So, I think I will wrap this up now. I think already this is quite good. Uh so what is left is for me to be able to code on Windows which is not needed this weekend. That's fine. Uh the recording of this I guess I will put on YouTube but it's not a very interesting stream in OBS. I still need to be able to show the chat properly.
I will maybe experiment with this later today. That's that can be done next week. One note setup not done. Uh, failed for now. Failed. Raise the MIG volume again to do well. I'm not happy with the amount of work or maybe with the with what we achieved today during this stream. We did some work, but it wasn't very efficient. But that part of programmer's job or maybe more of it job I really hate and sometimes you waste hours and later maybe you could do that thing in five minutes instead of one hour but if you do it after several years then you need to redo some steps and relearn it regular
monitor open my calendar I can tell you when likely I will go live tomorrow. I don't think I have any preferences. So most likely uh most likely tomorrow between my morning and early afternoon maybe similar to the time from today around noon of Europe Polish time I will go live and I will actually solve some problems also to test if everything is okay with my C++ and Linux setup and for today this is everything I'm happy that I forced myself to start the stream because that that's the hard part. Once the stream is going and you are doing some stuff, it's easy. It's hard to start. All right. So, thank you everybody for watching and for helping me with stuff in particular Okas. Thank you very much.
Uh but not only you and have a good day all of you, I think see you tomorrow possibly on YouTube as well. See you. Gupta too. Bye everybody.
Questions about this episode
What is discussed in "My Linux & Geany Setup 2025 | stream from 27.06.2025"?
In order: 0:00 Google LLC, Streamlabs; 15:00 Ubuntu; 30:00 Ubuntu; 45:00 Ubuntu; 1:15:00 Ubuntu; 1:30:00 GitHub; 1:45:00 GitHub; 2:00:00 Ubuntu; 2:15:00 Google LLC.
What is mentioned in this Errichto Hard Algorithms episode?
5 people, works and ideas are mentioned, including Ubuntu, Linux, GitHub, Google LLC, Streamlabs. Each one on this page links to its own page with every episode that mentions it.
How long is "My Linux & Geany Setup 2025 | stream from 27.06.2025"?
The episode runs 2 h 22 min; the transcript is about 9,586 words in 116 timestamped sections.
More from Errichto Hard Algorithms
About this transcript: the episode's spoken words as captioned on YouTube, split into timestamped sections. Reclip.Me locates every person, work and idea in the text, keeps the time it is first named, and quotes the words around it verbatim. Last updated January 24, 2026.