mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

8.1K
active users

#linuxtips

1 post1 participant0 posts today

Telefondaki KDE Connect ile bilgisayardaki (#GNOME) KDE Connect/GSConnect eşleşmiyorsa, tcp ve udp protokol portlarında 1714-1764 portu için güvenlik duvarı istisnası eklemek gerekiyor.

bilgisayardan terminal/konsol/uçbirimde sırasıyla şunları veriyoruz:

sudo ufw allow 1714:1764/udp
sudo ufw allow 1714:1764/tcp
sudo ufw reload

#Linuxİpuçları
#LinuxTips

Alguna vez habéis tratado de instalar algún programa de #linux mediante un AppImage?
No es un proceso súper complejo, pero tampoco inmediato.
He encontrado esta herramienta Gear Lever en la tienda de #linuxmint y hace que el proceso sea muy ágil.
Simplemente:
1. guarda el archivo .appimage descargado en la carpeta AppImage de tu directorio de usuario
2. Abre Gear Lever y usando el + añade tu appimage.
3. Gear Lever se encarga de añadirte el elemento al menú de aplicaciones y de buscarte actualizaciones.

Sospecho que el paso 1 probablemente no sea necesario.
#gearlever #linuxtips #appimage #appimage_launcher #appimage_manager

🐧 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

Continued thread

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.

#LinuxTips #Linux

(Obviously, this is only for systemd systems. Other init systems need a different method.)

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!

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 :)

#Linux#Bash#vim

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?