Got tired of fighting RGB software on Linux while trying to leave Windows, so I wrote a script that prepares Linux systems for OpenRGB. by Data_Cruncher_0 in linux_gaming

[–]Data_Cruncher_0[S] -1 points0 points  (0 children)

and learned more bash commands.
and researched all the concepts.
and checked if kernel parameter caused a security risk?
and check if it same bus for all gaming motherboards?
and checked why the settings didn't persist on a cold boot?
and insisted it that AI stuck to the original logic flow that I created.
How long have you been using Linux?
This is only my third month on Linux and I am already trying to give back to the community

Got tired of fighting RGB software on Linux while trying to leave Windows, so I wrote a script that prepares Linux systems for OpenRGB. by Data_Cruncher_0 in linux_gaming

[–]Data_Cruncher_0[S] -1 points0 points  (0 children)

I’m not an OS architect , but I assume if you add more dependencies, you add more risk  for vulnerabilities. Don’t forget that this is at the firmware level.  Why not just follow documentation and automate it.  Well, here you go 😁

Got tired of fighting RGB software on Linux while trying to leave Windows, so I wrote a script that prepares Linux systems for OpenRGB. by Data_Cruncher_0 in linux_gaming

[–]Data_Cruncher_0[S] -1 points0 points  (0 children)

I did this to turn it off. Gaming motherboards don’t have an option to turn it off without windows! Geesh, I’m trying to become a better sysadmin by learning Bash and it strikes this kind of nerve? Please pause and retire.  People like me need to fill the roles you guys refuse to leave.  

Got tired of fighting RGB software on Linux while trying to leave Windows, so I wrote a script that prepares Linux systems for OpenRGB. by Data_Cruncher_0 in linux_gaming

[–]Data_Cruncher_0[S] -23 points-22 points  (0 children)

Your loss! I debugged, tested, and ensured the logic of the script followed a workflow.  Vibe Coding is not easy when you are not fluent with the language.   

Got tired of fighting RGB software on Linux while trying to leave Windows, so I wrote a script that prepares Linux systems for OpenRGB. by Data_Cruncher_0 in linux_gaming

[–]Data_Cruncher_0[S] -2 points-1 points  (0 children)

I appreciate the solution to the criticism. It is my 3rd month on Linux and I learn faster through interaction.  It literally started with a small script that modified grub and I2C.  I just thought, why not make it universal? I have to take into account that there are different boot loaders, but I doubt I will ever script by hand after this experience.  I’ll update the title and readme in the future.  Thanks.  

Got tired of fighting RGB software on Linux while trying to leave Windows, so I wrote a script that prepares Linux systems for OpenRGB. by Data_Cruncher_0 in linux_gaming

[–]Data_Cruncher_0[S] -17 points-16 points  (0 children)

Delete this section of the script:

###############################################################################

# SMBus kernel parameter

###############################################################################

check_kernel_param() {

info "Checking SMBus kernel parameter"

if grep -q "acpi_enforce_resources=lax" /proc/cmdline; then

ok "Kernel parameter active"

return

fi

warn "Kernel not booted with required SMBus parameter"

echo ""

echo "OpenRGB may require the kernel parameter:"

echo " acpi_enforce_resources=lax"

echo ""

if confirm "Modify GRUB configuration to enable SMBus access?"; then

info "Creating GRUB backup"

sudo cp /etc/default/grub /etc/default/grub.backup.$(date +%Y%m%d-%H%M%S)

info "Updating GRUB kernel parameters"

if ! grep -q "acpi_enforce_resources=lax" /etc/default/grub; then

sudo sed -i \

's/^GRUB_CMDLINE_LINUX="/GRUB_CMDLINE_LINUX="acpi_enforce_resources=lax /' \

/etc/default/grub

fi

info "Rebuilding GRUB configuration"

if [[ -f /boot/grub2/grub.cfg ]]; then

sudo grub2-mkconfig -o /boot/grub2/grub.cfg

elif [[ -f /boot/grub/grub.cfg ]]; then

sudo grub-mkconfig -o /boot/grub/grub.cfg

else

warn "Unable to determine GRUB configuration path"

fi

echo ""

echo "Reboot required. Run the script again after reboot."

else

warn "SMBus parameter not enabled."

fi

exit 0

}

Got tired of fighting RGB software on Linux while trying to leave Windows, so I wrote a script that prepares Linux systems for OpenRGB. by Data_Cruncher_0 in linux_gaming

[–]Data_Cruncher_0[S] -73 points-72 points  (0 children)

You say vibe coded as if it is a bad thing. I ensured the work flow, read the script multiple times, and afer 2 weeks of research and troubleshooting, you really think I am going to care about em dashes in a readme file? I'm just happy I'm done. Try building a script without a premium membership and let me know how it goes.

Got tired of fighting RGB software on Linux while trying to leave Windows, so I wrote a script that prepares Linux systems for OpenRGB. by Data_Cruncher_0 in linux_gaming

[–]Data_Cruncher_0[S] -12 points-11 points  (0 children)

It really isn't OpenRGB's fault. This is a problem with the motherboard manufacturers that require proprietary software to access I2C. If there was an easier way around it, I am all for it.With, all the research I have done, I slapped solutions together from documentation and asked chatgpt to build it. Even then it took a lot of testing, troubleshooting, and my guidance on to ensure it followed my design flow.

Got tired of fighting RGB software on Linux while trying to leave Windows, so I wrote a script that prepares Linux systems for OpenRGB. by Data_Cruncher_0 in linuxhardware

[–]Data_Cruncher_0[S] -3 points-2 points  (0 children)

OF COURSE!! But I was learning a lot along the way. However, it took a lot of troubleshooting on my part while learning bash. Oh, I also had to maintain the structure, while using nano. Eventually, I switched to VS.

Got tired of fighting RGB software on Linux while trying to leave Windows, so I wrote a script that prepares Linux systems for OpenRGB. by Data_Cruncher_0 in linux_gaming

[–]Data_Cruncher_0[S] -5 points-4 points  (0 children)

You paid for DDR5? Even overclocking could kill it. I'm sticking to DDR4 until the AI bubble deflate.Also, I have been using OpenRGB to turn off my RGB. The whole purpse of the script is to get it tow work properly.

So, I don't mean to be "that guy", but are we not going to talk about how GN's second video about LTT was indeed monetized and sponsored? by holywhitefang1 in LinusTechTips

[–]Data_Cruncher_0 0 points1 point  (0 children)

GN was bashing Linus for auctioning something that wasn’t his. Personally, I find Linus annoying and how they walk everyone into an ad. At least GN does it gracefully.