Skip to main content

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 <...
Recent posts

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...

Fedora Install Notes

  Many of the steps in setting up Fedora are the same as I do for Arch.  My preferred install is Fedora Rawhide.  You are better off with the default "Gnome" desktop than trying the KDE spin (seems to be the best integrated experience with few/no hardware/GPU issues). Helpful notes to me: Initial "get started" installs: sudo dnf in R bat btrfs-assistant cmake duf fastfetch fish fontawesome-fonts-all freetype-devel fribidi-devel gnome-extensions-app gnome-tweaks htop inxi java-latest-openjdk-devel jetbrains-mono-fonts kitty kmymoney lftp libcurl-devel libjpeg-turbo-devel libpng-devel libtiff-devel llvm-devel meson micro onedrive python3-colorama python3-ipykernel python3-pip python3-pyquery sqlitebrowser tcl8-devel tk8-devel typescript xsane zsh Snapper: do rollback: Use sudo snapper ls to list all available snapshots and their corresponding numbers. Note the number of the snapshot you want to revert to. Open a terminal and use the following command: sudo snapper ro...