Monday, November 24, 2025

systemd-timesyncd

sudo apt update && sudo apt install systemd-timesyncd && sudo systemctl enable --now systemd-timesyncd

Tuesday, November 11, 2025

xfce-install.sh


#!/usr/bin/env bash

## configure and install minimal xfce desktop environment

## check for sudo/root
if ! [ $(id -u) = 0 ]; then
  echo "This script must run with sudo, try again..."
  exit 1
fi

#cat ./xsessionrc >> /home/$SUDO_USER/.xsessionrc
#chown $SUDO_USER:$SUDO_USER /home/$SUDO_USER/.xsessionrc

apt install -y libxfce4ui-utils
apt install -y thunar
#apt install -y xfce4-appfinder
apt install -y xfce4-panel
apt install -y xfce4-pulseaudio-plugin
#apt install -y xfce4-whiskermenu-plugin
apt install -y xfce4-session
apt install -y xfce4-settings
#apt install -y xfce4-terminal
apt install -y tilix
apt install -y xfconf
apt install -y xfdesktop4
apt install -y xfwm4
#apt install -y adwaita-qt
#apt install -y qt5ct 

echo 
echo xfce install complete, please reboot and issue 'startx'
echo



Debian 13 active services

clear;systemctl list-unit-files --state=enabled

Debian 13 - /etc/apt/sources.list.d/debian.sources


Types: deb deb-src
URIs: http://deb.debian.org/debian/
Suites: trixie
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

Types: deb deb-src
URIs: http://deb.debian.org/debian/
Suites: trixie-updates
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

Types: deb deb-src
URIs: http://security.debian.org/debian-security/
Suites: trixie-security
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

Types: deb deb-src
URIs: http://deb.debian.org/debian/
Suites: trixie-backports
Components: main contrib non-free non-free-firmware


Sunday, February 23, 2025

What's the quickest way to find duplicated files?

find . ! -empty -type f -exec md5sum {} + | sort | uniq -w32 -dD
fdupes -r /
linux_czkawka_gui.AppImage

Wednesday, January 01, 2025

Git get all remote branches

git branch -r \
  | grep -v '\->' \
  | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" \
  | while read remote; do \
      git branch --track "${remote#origin/}" "$remote"; \
    done
git fetch --all
git pull --all

systemd-timesyncd

sudo apt update && sudo apt install systemd-timesyncd && sudo systemctl enable --now systemd-timesyncd