digitalcourage.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Diese Instanz wird betrieben von Digitalcourage e.V. für die Allgemeinheit. Damit wir das nachhaltig tun können, erheben wir einen jährlichen Vorausbeitrag von 1€/Monat per SEPA-Lastschrifteinzug.

Server stats:

822
active users

#archlinux

19 posts16 participants3 posts today

The PC is now running #Garuda #Linux, which means it's still running #ArchLinux. However, some oddities are annoying. #luakit doesn't want to learn other search engines, but what's particularly annoying is that abbreviations, or letter shortcuts, can no longer be defined with #autokey. When I click "OK" in the corresponding dialog window, nothing happens. Hotkeys, however, can be configured. I don't get it. #Arch

Der PC läuft nun mit #Garuda #Linux, also weiterhin mit #ArchLinux. Einige Merkwürdigkeiten nerven jedoch. #luakit will keine anderen Suchmaschinen lernen, aber besonders übel ist, dass sich bei #autokey keine Abbreviations, also Buchstabenkürzel, mehr definieren lassen. Beim Klick auf "OK" im zugehörigen Dialogfenster passiert einfach nichts. Hotkeys hingegen lassen sich einstellen. Kapiere ich nicht. #Arch

Set environment variable of last successful full sys update datetime

programming.dev/post/30224208

programming.devSet environment variable of last successful full sys update datetime - programming.devHello everyone! I want to write a short script to let me know if there has been more than 3 days since the last full system update whenever I open a terminal (run from .zshrc). Ive got something cobbled together, but sadly it only checks for the last full system update from pacman directly because of the way it looks at the pacman logs. My question is, how can I make it so that if EITHER pacman directly or yay runs a full system update, it will update something like a persisitent environment variable with a UNIX timestamp? I’ve also considered writing a hook to run after pacman fully updates the system since yay runs pacman under the hood anyway, but I can’t figure out how to make the hook recognise if it was a successful full system update. Here is what I have so far: bash #!/bin/zsh last_upgrade_date=$(grep -m 1 'full system upgrade' /var/log/pacman.log | cut -d ' ' -f 1 | tr -d '[]') last_upgrade_sec=$(date --date="$last_upgrade_date" +%s) # Convert to UNIX timestamp last_upgrade_sec=$(date -d "$last_upgrade_date" +%s) now_sec=$(date +%s) days_since=$(( (now_sec - last_upgrade_sec) / 86400 )) if (( days_since > 3 )); then echo "Days since last update: $days_since day(s)" >> /dev/tty fi # Kernel version check running_kernel=$(uname -r) installed_kernel=$(pacman -Q linux | awk '{print $2}' | cut -d '-' -f1 | cut -d '.' -f1,2,3) running_kernel_base=$(echo "$running_kernel" | cut -d '-' -f1) if [[ "$running_kernel_base" != "$installed_kernel" ]]; then echo "Kernel mismatch detected. Reboot recommended." >> /dev/tty fi Thanks in advance!

Hey y'all..

Happy Monday.. This is to announce my return to YouTube next month (if all goes well) finally !

But before I do, I need as many of you to let me know if I should keep the same thumbnail style or change it up ?

Content will be primarily focused around #ArchLinux (Derivatives too) and #XeroLinux with other stuff sprinkled around it from time to time.

Whuuut, I didn't know this was a problem for some people. I've been using Dolphin since I installed Arch Linux for like idk.. 3 years at this point? and I haven't got a problem with it. I also use Dolphin on Gentoo. Heck, I also use Dolphin on FreeBSD as well!

I mean I'm not using drag and drop, but still surprising that it was that BIG of a deal for some people lol

youtube.com/watch?v=APt8cMjxTzg

#kde#arch#archlinux