How To Monitor Battery Level And Get Notifications On Linux Using battmon #battmon #Battery #Laptop #Linux #Bashscript #BatteryMonitor #Opensource
https://ostechnix.com/monitor-linux-laptop-battery-level-notifications/
I think I just ran into a great example of how different tasks can require different energy levels that don't necessarily match their "difficulty".
I recently got a "new to me" laptop and at first set it up with Fedora Workstation but quickly realized I much prefer Fedora Silverblue (not the point of this post, so I won't get into why here) and needed to re setup everything. I didn't want to click through a ton of apps in GNOME Software and install them all individually then organize them in the overview.
So instead of doing all that manually I wrote a bash script from scratch to:
- remove any rpm packages I didn't want
- remove any flatpaks I didn't want
- reinstall fedora flatpaks from flathub
- remove the fedora flatpaks repo
- layer the few rpm packages I wanted
- install all the flatpak apps I wanted.
- create custom folders in the overview
- sort all the apps in those custom folders
- pin my most used apps to the dock
This felt like it required way less energy for me. Not because it was easier or faster. In fact I'm really rusty at bash scripting and I didn't even know how to organize the overview from the terminal, so I even had to learn something new and it probably took me way longer. But writing a little script was more fun for me and therefore didn't feel draining or overwhelming like the tedious task of clicking around for a couple hours would have.
#Linux #Fedora #Silverblue #BashScript #ADHD
Bashing Out A Simple Battery Status Script In Bash
https://eggflix.foolbazar.eu/videos/watch/4bd22c77-42ea-4d69-92cf-c486d63158fb
It is once again time to give thanks to Brian Fox, the Black American programmer that has given us BASH and echo
! Thank you for your INCREDIBLE contributions to open source software, Unix, and Linux. It literally would not be the same without you. BASH is still absolutely foundational to all computing today. Happy Black History Month to an absolute icon!
#RaspberryPi owners, how do you back up your #RPi?
I don’t have an extra hard drive, so I need to back up to #GoogleDrive. I’ve installed #Rclone and tried creating a #BASH script, but I’m struggling with it.
If you’ve set up something similar or have recommendations for an efficient backup workflow, I’d love to hear them! Bonus points if you know any good courses or resources to improve my scripting skills.
#Linux #Tech #SelfHosted #SelfHosting #RaspberryPiBackup #RaspberryPi500 #RaspberryPiProjects #RPiBackup #RaspberryPiOS #RPiProjects #LinuxBackup #LinuxTips #LinuxCommunity #TechSupport #OpenSource #DataBackup #CloudBackup #GoogleDriveBackup #CloudStorage #FileBackup #Rclone #BASHScript #ShellScripting #ProgrammingHelp #CodeNewbie #LearnToCode #TechSolutions #Automation #techhacks @linux @selfhost @selfhosting @selfhosted
Yesterday I was getting my consultant #claudeai to help me write a #bashscript
...and it was screwing it up fantastically.
So I asked the #ai to do a "desktop check of the code"...
...The AI said "...I've run the code and it checks out"
So the Moloch may have capability to actually run the code for verification...
...or it was just hallucinating to please me...but the code run.
I just don't like to search for how to write a shebang each time lol
And it's also more convenient to just write a function inside .bashrc vs. writing a bash script and aliasing it in .bashrc (so I can run "something" instead of "bash something.sh")
But that's just my preference of course. For scheduling it might not be practical, but I don't do that stuff.
(Fun fact: I'm actually a GUI guy, only use CLI for some dev stuff lol)
Preview Markdown in the Terminal with Bash - Markdown has become an extremely popular way to document source code and other pro... - https://hackaday.com/2024/06/17/preview-markdown-in-the-terminal-with-bash/ #softwarehacks #bashscript #markdown #bash
Preview Markdown in the Terminal with Bash https://hackaday.com/2024/06/17/preview-markdown-in-the-terminal-with-bash/ #SoftwareHacks #Bashscript #markdown #bash
Amber Compiles to Bash - It certainly isn’t a new idea to compile a language into an intermediate language.... - https://hackaday.com/2024/05/22/amber-compiles-to-bash/ #softwaredevelopment #linuxhacks #bashscript #bash
Oh dear, I think I just wore my brain out.
#bashScript programming
Run Arch Linux Pacman Commands in Debian and Ubuntu Systems using Deb-Pacman #DebPacman #Pacman #Apt #Debian #Ubuntu #Opensuse #Packagemanagement #Linux #Linuxhowto #Bashscript #Commandline #Opensource
https://ostechnix.com/deb-pacman-a-pacman-style-frontend-for-apt-package-manager/
How To Display Animated Christmas Tree In Terminal In Linux #Christmas #Xmas #Bashscript #Script #Linux #Commandline #Bash
https://ostechnix.com/display-animated-christmas-tree-terminal/
@heimue@muenchen.social Puh. Für #Linux gibt es sicher jemanden, der dafür ein #bash-Script hat. Unter Windows <edit auch Mac /> wäre das da einen Versuch wert:
mp3tag
https://www.mp3tag.de/download.html
bzw. sogar die portable Version (ohne Installation von einem USB-Stick zB funktionierend)
https://portable-tools.de/downloads/apps/mp3tag-portable.html
How To Check Package Availability In Debian and Ubuntu Repositories #Debian #Ubuntu #dpkg-repo-query #Linuxcommands #Linuxbasics #Linuxhowto #Packagemanagement #Bashscript
https://ostechnix.com/check-package-availability-in-debian-and-ubuntu-repositories/
Dear Friends of wer-lobsters,
Glad to be back on #Univeseodon with an old #avatar and an #empty mind. #Hope everyone is as #well as #unexpected. I have been programming in #bashscript on #Puppy #Linux, roving the fediverse and learning about:
- foods made without fish (I know it's strange but they exist)
- atheism for theists
- not drinking whines and wines of Oz (earthy)
- not swearing in other languages
- hats that reach to the ground (They are IT)
- Arti-ficial Insurrection (Reboot Power)
... and all manner of #wonder, irrelevence, trivia and #profundity (not in any order)
oh yes "Hell O Whirled" ... think that is moi all up to dates ...
#Intro #introductions
suc Aims to Replace Slack in Five Lines of Bash - The design philosophy of Unix is fairly straightforward. Software should do one th... - https://hackaday.com/2023/07/10/suc-aims-to-replace-slack-in-five-lines-of-bash/ #softwaredevelopment #bashscript #philosophy #software #bash #unix
I wrote a script to resolve lists of domains from stdin, since dnsx and the like does not like my VPN settings.
(feedback appreciated - Bash noob)
Playing around with OpenAI GPT-3 to write code and let me tell you, I don’t have to learn Bach scripting anymore!!!!