More folks need to follow this https://specifications.freedesktop.org/basedir-spec/latest/ and not make a hot mess of my damn home directory #linux #ubuntu #debian
debian
Librewolf is exactly what Firefox should be.
To the point where I find in #Librewolf new features I was explicitly missing in #firefox (like clicking on the lock to enable/disable cookies for a specific website)
And, yet, it works perfectly in #debian thanks to extrepo. But, seriously, it should be considered as the default Debian browser.
Congratulations to the team!
Don’t wait on Mozilla, switch to Librewolf !
Since Debian Linux has recently left X, you can follow it on Mastodon:

- O utilitário curl, a partir da versão 8.8.0-2, passa a suportar HTTP/3, com os parâmetros --http3 ou --http3-only. Para conseguir isso, o programa agora passa a utilizar GnuTLS no lugar de OpenSSL. Ainda fornecerão uma variação de libcurl que continua usando OpenSSL.
- Incluíram o comando wcurl (veja seu manual) que facilita baixar um arquivo sem precisar lembrar os parâmetros do curl. Pode ser chamado no lugar dos usos mais simples de wget.
O conteúdo completo da mensagem está em https://metadata.ftp-master.debian.org/changelogs/main/c/curl/curl_8.12.0+git20250209.89ed161+ds-1_curl.NEWS
#curl #http3 #gnutls #openssl #gnu #softwareLivre
I already wrote about caching here.
Now I extended what I cache a bit.
This was because after enabling the option to proxy media, I've seen access to the file paths /x/ and /y/ in addition to the path were snac stores the media that I include in my own posts ( /s/ ).
There are two locations to proxy media, depending if you requests the media via the mastodon api or via the web. (/x/ and /y/), oh and I added the nodeinfo2.0 path too, because I've noticed it was queried all the time by a lot of instances and it gives me pleasure to see something cached handed out in the access logs. 🙂 (I guess it is actually irrelevant for the system resources)
This is the updated setup:
Enable the relevant modules:
a2enmod expires cache cache_disk
Be sure "htcacheclean" is running to clean up the old disk cache. (under debian see /etc/default/apache-htcacheclean or else the relevant systemd service or whatever)
Then add this to the httpd Virtualhost config:
<LocationMatch "^/social/[^/]+/[xys]/|^/social/nodeinfo_2_0">
CacheEnable disk
Header set Cache-Control "max-age=86400, public" "expr=%{REQUEST_STATUS} == 200"
ExpiresActive On
ExpiresDefault "access plus 86400 seconds"
</LocationMatch>
Further reading and all options are explained under https://httpd.apache.org/docs/2.4/caching.html (and ff)
The Header that I set here, on the condition of Status code 200, is needed for the path /y/, because snac set no-cache on that location and mod_expires will honor that if we don't override it. I set it to the same Cache-Control value as mod_expires would. (I use mod_expires because it will additionally calculate the date and put that in the expires header. (hence the name I guess 😀 )
#Fediverse #Hosting #ITNotes #apache2 #httpd #Ownyourdata #Server #Snac #Snac2 #Tipsandtricks #Tutorial #Debian #caching

This is a small personal collection of


I’d love to hear if it ends up being useful for you! If you run into any issues or have suggestions, please report them directly on Disroot Forgejo or just drop a comment here.
#apt #nala #shell #script #Debian #GNUlinux #FreeAsInFreedom #Disroot #SoftwareLivre

Pretendo seguir a ótima dica postada numa #TerSoftware por um dos próprios autores do projeto, @lxo, para aproveitar os pacotes .deb (para #Debian e derivados) já disponibilizados com o kernel Linux-libre compilado para uso geral para diversas arquiteturas:
https://www.fsfla.org/ikiwiki/selibre/linux-libre/freesh
A parte mais "difícil" parece ser decidir: linux-libre-lts ou o convencional... 😅
#GNUlinux #LinuxLibre #Linux #kernel #SoftwareLivre
SDDM, KDE Plasma, root-on-OpenZFS – simple. On Linux.
Yes, I'll install the theme snaps.
Will I install zectl – a ZFS boot environment manager for Linux? Maybe …
<https://ramsdenj.com/posts/2020-03-18-zectl-zfs-boot-environment-manager-for-linux/> | <https://github.com/johnramsden/zectl>
#SDDM #KDE #Plasma #Debian #Linux #Ubuntu #zectl #ZFS #OpenZFS #Gnome #GDM