NEW on We
Open Source
Don Watkins (@linuxnerd) fixed a pesky right-click issue on Fedora KDE Plasma 42. If your touchpad’s not working right, here’s a quick fix that might help.
https://allthingsopen.org/articles/right-click-touchpad-se-on-fedora-kde-plasma-42
Linux Command of the Day: jq
Master parsing JSON data directly from the command line! Ideal for processing API responses, config files, or logs. A must-have for scripting & automation. #LinuxTips #DevOps #Automation
Key flags: . (identity), keys, select(), | (pipe)
Examples:
echo '{"n":"L"}'|jq .n
echo '[{"s":"ok"},{"s":"err"}]' | jq '.[]|select(.s=="ok")'
echo '{"u":"a","l":"h"}'|jq keys
So what happens if you set up a laptop to be a server and you close the lid? The system goes to sleep.
This is not fantastic behavior for a server, so to fix it, we have to edit
/etc/systemd/logind.conf
and add the following lines:
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore
Reboot. Now the laptop won't sleep when the lid is closed.
(Obviously, this is only for systemd systems. Other init systems need a different method.)
#LTMLinuxTips - Day 3
Forget to use sudo? Don't retype everything: sudo !!
It reruns your last command as root. Saved me more times than I can count!
So we all have used Windows, right. I have a Digital license for both that are tied to my account. But we all have paid for it and I'm sick of the choices that Microsoft has made. Microsoft: "Yeah let's bake in Ads and USELESS AI in the product our users pay for"
yeah I won't be using that. I still love Windows deep down, but that's Windows 10. Too bad it's not getting supported unless you pay for ESU. I'm gonna use Linux on PCs in the future.
In my opinion: Fuck Microsoft and Win11.
#linux #linuxdesktop #microsoft #enshittification #windows10 #windows11 #linuxtips #endof10
might edit this in the future
Boost!
It's conference
season! Impress your audience with a slick QR code using these easy commands on Linux
Add your content to a text file:
printf " Name: Zik Joseph\n Blog: https://zikusooka.com \n" > my_contacts.txt
Convert text file (and contents) into QR code image:
qrencode -o zik.png -r my_contacts.txt
Thats all! Add zik.png to your slides. Easy, classy.
Linux tip: you can edit files from within less by pressing "v". This will launch your default editor.
If you do not have a default editor specified, you can specify one by adding the following lines to your .bashrc:
# set default editor
EDITOR=/usr/bin/vim
Substitute vim for whatever editor you prefer. (Which is obviously vim :)
Em breve nas prateleiras da #LINUXtips, basta ir lá e se cadastrar no https://linuxtips.io/python-para-devops/ e esperar para receber a sua cópia do e-book.
Fix Slow Linux Boot Issue and Speed Up Your Linux System in Less Than 5 Minutes #linux #linuxtips #linuxcommands #systemd #troubleshooting
https://ostechnix.com/fix-slow-linux-boot-issues/
2025, era da IA, a maior das pessoas não lê e vai buscar respostas em chats.
Mas aqui estou eu, escrevendo um e-book para a comunidade #python e #DevOps da #LINUXtips pq sei que as pessoas que estudam na LINUXtips querem aprender de verdade.
A #reboot is a solution to many tech problems. But if you are on #Linux, did you know you need to reboot only if your kernel has changed? Otherwise you can do a "soft reboot" and get the same thing. You need to kill the init process and make it respawn. It varies from distro to distro but on #systemd ones, you can do systemctl soft-reboot
and it'll do the job for you.
Also if you have problem with your graphical shell, you can simply restart your graphical stuff. Not even a soft reboot is needed. For instance if your display manager is lightdm like me, simply do systemctl restart lightdm
.
I think this applies to other #unixlike operating systems with the similar kernel and system architecture as Linux. Maybe #BSD people can share their experience?