Skip to main content

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 << 'EOF'
[Service]
ExecStart=
ExecStart=/usr/bin/onedrive --monitor --skip-dot-files --skip-dir 'venv'
EOF

systemctl --user enable onedrive.service
systemctl --user start onedrive.service
systemctl --user status onedrive.service 

Tailscale:

brew install tailscale
sudo cp /home/linuxbrew/.linuxbrew/Cellar/tailscale/1.86.2/homebrew.tailscale.service /etc/systemd/system/tailscaled.service
sudo systemctl daemon-reload
sudo systemctl enable --now tailscaled

sudo /home/linuxbrew/.linuxbrew/bin/tailscale set --operator=$USER

tailscale up --ssh

sudo bash -c 'echo "
# Manually add Tailscale hosts so name resolution works
103.115.66.62 raspberrypi
101.96.180.30 raspberrypi3 " >> /etc/hosts'


Printer:

sudo mkdir -p /var/spool/cups /run/cups/certs
sudo chown root:cups /var/spool/cups /run/cups/certs
sudo chmod 755 /var/spool/cups /run/cups/certs
sudo usermod -a -G lp hugh
sudo systemctl start cups.service
systemctl status cups.service

sudo lpadmin -p HL-L2370DW -E -v ipp://192.168.68.54/ipp/print -m everywhere

Rclone:

mkdir -p ~/GoogleDrive
mkdir -p ~/.config/systemd/user
brew install rclone
rclone config
cp ~/OneDrive/rclone-mount.service ~/.config/systemd/user/

systemctl --user enable --now rclone-mount.service
systemctl --user start rclone-mount

Visual Studio:

So you can sign into github:
flatpak override --user --talk-name=org.kde.kwalletd5 --talk-name=org.freedesktop.secrets com.visualstudio.code

You can configure VS Code to use kwalletd5.  Open the Command Palette in VS Code (Ctrl+Shift+P) and search for "Configure Runtime Arguments". Add the following line to the argv.json file:
"password-store": "kwallet5" 

 For python  in visual studiodo:

python3 -m venv venv   

 source /venv/bin/activate to enter 

select as interpreter and pip install needed modules. 

Enable RDP

Warp Terminal:
 
 
mkdir ~/.local/share/applications
cp ~/OneDrive/warp.desktop ~/.local/share/applications/ 

 
Python Packages (I need):
python3 -m pip install --user --break-system-packages chess pandas colorama reportlab svglib  requests
 
Mounting extra data drive:
see ~/OneDrive/home-hugh-media-data.mount (or var-home-hugh-media-data.mount)  to be placed in /etc/systemd/system/  
sudo systemctl enable --now home-hugh-media-data.mount  (or var-home....)
 
Rstudio:

https://dailies.rstudio.com/rstudio/cucumberleaf-sunflower/electron/noble-amd64/ 

distrobox create --name debian-testing --image docker.io/library/debian:testing  --additional-flags "--env=DISPLAY --env=WAYLAND_DISPLAY --env=XDG_RUNTIME_DIR --env=PULSE_RUNTIME_PATH --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw --volume=$XDG_RUNTIME_DIR:$XDG_RUNTIME_DIR:rw --device=/dev/dri"

sudo apt install r-base r-base-dev libnspr4 libnss3 libasound2t64 libcurl4-openssl-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev libwebp-dev

sudo apt install -f libxm2-dev libfontcofig1-dev 

# Install RStudio (this will also install any missing dependencies)

sudo dpkg -i rstudio-2023.12.1-402-amd64.deb

# If there are dependency issues, fix them with: 

sudo apt-get install -f 

OpenRGB:

Use the flatpak.  Follow instructions to download the shell to install the udev rules.  Then:

sudo /home/hugh/Downloads/openrgb-udev-install.sh

sudo mv /home/hugh/Downloads/60-openrgb.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
sudo udevadm trigger 
  

virt-manager:

Install flatpaks
org.virt_manager.virt-manager
org.virt_manager.virt_manager.Extension.Qemu

Then in virt-manager, add a QEMU/KVM User session (not system session)

Script to compare image information and feed to AI for summary: 

https://drive.google.com/file/d/1aNoOaoCZIPrj66MFDNvywvHuLeS6EpHX/view?usp=sharing

 Wake on Lan

https://wiki.archlinux.org/title/Wake-on-LAN#NetworkManager  

Run flatpak Syncthingy remotely:

flatpak run Syncthingy (flathub version) flatpak run --command=syncthing com.github.zocker_160.SyncThingy serve --no-browser

 


Comments

Popular posts from this blog

Install Windows 11 on Virt-Manager

 Virt-Manager will have been installed in base install.  But to enable it (make sure SVM, or whatever virtualization is called in your BIOS is enabled). From https://computingforgeeks.com/install-kvm-qemu-virt-manager-arch-manjar/ sudo pacman -S qemu-full virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat dmidecode ip tables libguestfs edk2-ovmf swtpm Then enable and start libritd.service sudo systemctl enable libvirtd.service sudo systemctl start libvirtd.service sudo micro /etc/libvirt/libvirtd.conf Set the UNIX domain socket group ownership to libvirt, (around line 85 ) unix_sock_group = "libvirt" Set the UNIX socket permissions for the R/W socket (around line 102 ) unix_sock_rw_perms = "0770" Add your user account to libvirt group.   sudo usermod -a -G libvirt $(whoami) newgrp libvirt Restart libvirt daemon. sudo systemctl restart libvirtd.service Section below is quoted directly from https://linustechtips.com/topic/1379063-windows-11-in-virt-mana...

Base Install

This blog is for my notes on setting up Arch from scratch to my liking. I use KDE Plasma as my desktop and my computers have a NVIDIA GPU (my Asus laptop also has an additional integrated GPU). I am not going to cover downloading the ISO, putting it on a USB, booting from the USB or running the Archinstall installer (selecting the Plasma desktop). Get WIFI running iwctl station wlan0 connect xxxxxxx May need:  sudo mkfs -t ext4 /dev/nvme1n1 if you have btrfs on old installation When running the arch installer: 1. Don't have a /home partition added!  2. Don't forget desktop! 3. Install both linux and linux-zen kernels 4. Add additional packages:  wget git micro duf base-devel kde-applications to log in the first time it may be helpful to create /usr/lib/modprobe.d/nvidia.conf with "options nvidia_drm modeset=1 fbdev=1"   (although cachyos-settings will overwrite later) Apparmor  Add the following kernel parameters to your Boot Manager, see  Boot Manage...

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