u/Due-Celery4326

Now I understand what people were saying about the Lua configuration in hyprland.

Now I understand what people were saying about the Lua configuration in hyprland.

I just had a problem building the hyprland configuration in Lua. After reading, researching, and racking my brain, I managed to get it working. Now, whether it's correct or not, I don't know, I just know it's working. When I thought it was solved, the navigation bar stopped working because I was using `hyprctl dispatch`, and that doesn't work in Lua. It's mandatory to use `hyprctl eval 'hl.config(...)'`. These are somewhat annoying differences to figure out and adapt to, but with patience, it works.

https://preview.redd.it/xo1tm1dtre2h1.png?width=1920&format=png&auto=webp&s=d065d3a6b2c85f39673a6365dcda325ee783aa13

reddit.com
u/Due-Celery4326 — 2 days ago

First global system update

Well, I'd like to share my experience building and maintaining my LFS/myOS. A few years ago, I tried building it the traditional way, following the book, and with inexperience and an eagerness to get it done quickly, I had no problems building the LFS strictly following the book. But when I got to BLFS, I encountered the tedious and dreaded (dependency hell). After a short distance, I got bored and gave up. Finally, I decided to study more and delve deeper. Since then, after a good period of learning, testing, failures, and more study, I faced it again, but this time I developed my program manager based on my successes, problems, errors, needs, experience, and study. I managed to build my myOS system, which is now my main and only OS. After 5 attempts, overcoming the many and varied errors and problems along the way, and understanding many things that I didn't find relevant references on in a quick search, I decided to share some knowledge and not scare away anyone thinking of following this path. Creating your distro isn't difficult or complicated; it's actually tedious (it took me months to get where myOS is today). But it's been worth it; everything exceeded my expectations (and I used to be a Slackware and Gentoo user). One expectation was the learning curve, and another was the lightness, simplicity, and stability (which was my main goal). I achieved a complete system (for my use) with only 349 packages – quite an accomplishment! I trimmed it down as much as possible to achieve a balance between stability, functionality, and minimalism. I'm an old Linux user; I come from the KISS (Keep Your Hands Off) philosophy where we trimmed bits out of necessity, and today I don't have much RAM to spare. Anyway, I built my distro, and it's functional and stable. Now what? Now comes the other part of the learning process that isn't mentioned or taught: updates. How to do it? There were updates for practically more than 200 packages, including the toolchain. I thought, "I'll do it in parts." I updated the tools and libraries, everything was fine until I got to OpenSSL. I didn't have the knowledge. Regarding what would happen with ABI, I updated OpenSSL normally and suddenly, boom, curl and some programs stopped working, sudo broke, and now what? No snapshots. I used a live ISO I created of MySQL and fixed the damage. I updated the kernel (for some surreal reason), which broke GRUB (for no obvious reason). After debugging with a live ISO, I fixed it. Then I saw the need to create auxiliary programs (scripts) to debug, find the problems in ABI and .so files, and make the necessary corrections (rebuilding all the programs that depend on that ABI, which ultimately requires you to rebuild the dependencies of the dependencies to be linked correctly). So far, so good, but then what about the orphaned .so files from previous versions? Anyway, I just want to show that building an OS is easy; maintaining it is complicated, but not difficult (if you plan with automations (scripts/programs) that do the tedious part for you, and I recommend a program to take a snapshot of the entire system before updating so you don't go through the trouble I went through). I almost couldn't fix it (due to a lack of in-depth knowledge), but I'll say one thing: (the feeling of using a complete OS made and maintained by you is something few can surpass). I'm very happy with the result; everything is the way I planned, and it's functional and stable in a way I didn't imagine would be possible, haha. I just haven't updated the toolchain yet because I don't see the need for it right now. My distro is stable and a rolling release. I implemented online update support, but it's not yet functional because I need to find a way to make it work, but for now I don't see the need; a local repository is sufficient. Well, it got a bit long, and I don't want to bore you.

https://preview.redd.it/fjlq1deory1h1.png?width=1920&format=png&auto=webp&s=f4292a5aee896fafb9deac22809b2ce56e1ce6eb

The learning curve when updating the entire system was enormous and rewarding.

reddit.com
u/Due-Celery4326 — 5 days ago
▲ 41 r/linuxfromscratch+1 crossposts

I finally finished my LFS/BLFS, which actually turned into myOS with a custom program manager called mypkg And I'm very happy with the result.

I finally finished my LFS/BLFS, which actually turned into myOS with a custom program manager called mypkg (written in bash). After studying three LFS builds following the book, I understood the need and importance of a program manager and wrote mypkg based on the successes, errors, and problems encountered along the way. Following the book didn't give me any problems, but automating with mypkg presented several varied issues. However, in the end, it was worth it. I'm very happy with the expected result of my system with Hyprland, Waybar, Awww, Firefox... in short, a complete system for my daily use.

https://preview.redd.it/xon9fl4k1j0h1.png?width=1915&format=png&auto=webp&s=17bd7e98dfccc95cc3b01d37332dcd2582f547ba

reddit.com
u/Due-Celery4326 — 12 days ago
▲ 16 r/hyprland+1 crossposts

In the past I had experiences with almost all of the X11 models, and seeing a bit of the customization power and the total quality of the Wayland, I decided to experience it for myself, haha. I didn't imagine how advanced it is today; it's a point of no return from the past. Now it will only be different flavors on the Wayland.

u/Due-Celery4326 — 22 days ago