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

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