Skip to main content

Posts

Debian set up (using SpiralLinux as installer)

  https://github.com/SpiralLinux/SpiralLinux-project  (for Btrfs/Snapper set up)   Disk creation:   1. Select Manual Partitioning in Calamares 2. Create the partition table (if starting fresh): ◦  Select your disk (e.g., /dev/vda) ◦  Create a new GPT partition table 3. Create EFI System Partition: ◦  Size: 1024 MiB (1 GB as requested, instead of 300M) ◦  File system: FAT32 ◦  Mount point: /boot/efi ◦  Flags: Set the boot and esp flags 4. Create Root Partition: ◦  Size: Remaining space (~79 GB) ◦  File system: Btrfs (since your setup shows multiple subvolumes) ◦  Mount point: / ◦  No flags needed 5. Configure Btrfs Subvolumes (if Calamares supports it):    After creating the Btrfs partition, you'll need to set up subvolumes for: •  @ → / •  @home → /home •  @root → /root •  @tmp → /tmp •  @log → /var/log •  @snapshots → /.snapshots  Install packages: sudo apt install -y...
Recent posts

KDE's Own Distro

For installation details see the Installation section https://community.kde.org/KDE_Linux#Installation  and  https://kde.org/linux/install/ Install homebrew: (do oh-my-zsh and powerlevel10k first so .zshrc modification by brew survives) /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" Install distrobox:    curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sh -s -- --prefix ~/.local echo 'export PATH="$PATH:~/.local/bin"' >> ~/.bashrc echo 'export PATH="$PATH:~/.local/bin"' >> ~/.zshrc OneDrive:  brew install onedrive # type onedrive to register/connect with your MSft OneDrive account  brew services start onedrive-cli onedrive --force --skip-dot-files --skip-dir venv --sync    NOW ON MY Kinoite IMAGE, so just initiate normally and then: mkdir -p ~/.config/systemd/user/onedrive.service.d cat > ~/.config/systemd/user/onedrive.service.d/override.conf <...

Raspberry Pi WOL via cable

 Headless Raspberry Pi set up: https://www.youtube.com/watch?v=9fEnvDgxwbI curl -fsSL https://pkgs.tailscale.com/stable/debian/trixie.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null echo 'deb [signed-by=/usr/share/keyrings/tailscale-archive-keyring.gpg] https://pkgs.tailscale.com/stable/debian trixie main' | sudo tee /etc/apt/sources.list.d/tailscale.list sudo tailscale up --ssh  sudo pacman -S wakeonlan  Making Wake-on-LAN (WOL) Persistent on Arch Linux By default, the ethtool setting for Wake-on-LAN does not persist across reboots on most Linux systems. To make Wake-on: g permanent for your network interface ( enp69s0 ), you have several reliable options: 1. Using a systemd Service Create a custom systemd service that sets WOL after the network interface is up: Create the service file /etc/systemd/system/wol@.service with the following content: text [Unit] Description=Enable Wake-on-LAN for %i Requires=network.target Afte...

Using rclone to integrate Google Drive in Arch

 sudo pacman -S rclone rclone config  # will need to set up secret key and client ID follow instructions    mkdir ~/GoogleDrive   rclone mount gdrive: ~/GoogleDrive --vfs-cache-mode writes --daemon  # can also use following to run in background (nohup): nohup rclone mount gdrive: ~/GoogleDrive --vfs-cache-mode writes --allow-non-empty --dir-cache-time 1000h --poll-interval 15s  systemctl --user edit --force --full rclone-mount.service   add: [Unit] Description=RClone Mount Google Drive After=network-online.target [Service] Type=notify ExecStart=/usr/bin/rclone mount gdrive: %h/GoogleDrive --vfs-cache-mode writes --vfs-cache-max-age 1h ExecStop=/bin/fusermount -u %h/GoogleDrive Restart=on-failure RestartSec=5 [Install] WantedBy=default.target    Enable: systemctl --user enable --now rclone-mount.service        

Getting rtcwake working on Bluefin

#!/bin/bash # User systemd setup for auto suspend/wake on Bluefin #Please run these two commands manually: #1. First, create the sudo rule: echo "$( whoami ) ALL=(ALL) NOPASSWD: /usr/bin/rtcwake" | sudo tee /etc/sudoers.d/rtcwake-nopasswd #bash #2. Then set the correct permissions: sudo chmod 440 /etc/sudoers.d/rtcwake-nopasswd #bash #After you've run those commands, we can test if passwordless sudo works: sudo rtcwake -m show #❯ sudo rtcwake -m show #alarm: off # Create user service directory mkdir -p ~/.config/systemd/user # Create helper script for suspend + rtcwake mkdir -p ~/bin cat > ~/bin/rtc-suspend.sh << 'EOF' #!/bin/bash # Helper script to suspend and set RTC wake time # Usage: rtc-suspend.sh "wake_time_description" if [ $# -ne 1 ]; then echo "Usage: $0 'wake_time_description'" echo "Example: $0 '15:00 today'" exit 1 fi wake_time="$1" wake_timestamp=$(date -d ...

Ublue Aurora Custom Image

Development environment: https://docs.projectbluefin.io/bluefin-dx Terminal setup: https://docs.projectbluefin.io/command-line/ Rebasing: https://docs.projectbluefin.io/administration/ Custom Images: Images for NVIDIA and non-NVIDIA at: https://github.com/whelanh/myAurora OneDrive: brew install onedrive # type onedrive to register/connect with your MSft OneDrive account brew services start onedrive Tailscale: Already installed in Aurora tailscale up --ssh # flag permits ssh access tailscale ssh <tailscale node name> Toolbox (good pattern: use to compile Stockfish...but can now do in custom image): toolbox create toolbox enter sudo dnf groupinstall "Development Tools" sudo dnf in gcc-c++ Cron Replacement : https://fedoramagazine.org/systemd-timers-for-scheduling-tasks/ systemctl --user stop schedule-test.timer systemctl --user disable schedule-test.timer systemctl --user stop schedule-test.service systemctl --user disable schedule-te...

Opensuse Tumbleweed

  https://youtu.be/ttG2NFkKPRM?si=SuAC-XRueX6k_p9g https://youtu.be/MnlRpH9sPBM?si=HXrk69GGOfiqbQz4 https://youtu.be/KW7hzWehuDo?si=dDaPA0haS8pimA7D zram vs suspend to disk? Optimize mirrors: zypper in mirrorsorcerer sudo mirrorsorcerer -x systemctl enable --now mirrorsorcerer  reboot   Edit zypp.conf: sudo micro /etc/zypp/zypp.conf    parallel downloads=5 download.min_download_speed = 20000   Install opi: sudo zypper install opi sudo zypper install -t pattern devel_basis Install Pycharm: sudo zypper in libgthread-2_0-0 gcc-fortran gnome-disk-utility texlive sudo opi pycharm sudo zypper in python3-pandas python3-suds python3-colorama python3-reportlab python3-svglib sudo pip3 install chess --break-system-packages sudo opi micro   Rstudio-desktop: sudo zypper in R-base-devel sudo opi rstudio-desktop opi version is outdated, so can also download Opensuse rpm from: https://posit.co/download/rstudio-desktop/  then:  sudo zypper in [ downloa...