Friday, August 22, 2025

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

Flatpaks:

flatpak install -y \
    be.alexandervanhee.gradia \
    com.github.xournalpp.xournalpp \
    org.kde.kmymoney \ 
    dev.zed.Zed-Preview \
    io.github.benini.scid \
    org.remmina.Remmina \
    io.github.dvlv.boxbuddyrs \
    com.github.tchx84.Flatseal \
    com.discordapp.Discord \
    com.google.ChromeDev \
    com.dropbox.Client \
    org.openrgb.OpenRGB \


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 

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   

select as interpreter and pip install needed modules. 


Warp Terminal:
 
 
mkdir ~/.local/share/applications
cp ~/OneDrive/warp.desktop ~/.local/share/applications/ 
sudo update-desktop-database ~/.local/share/applications/
 
Python Packages (I need):
python3 -m pip install --user --break-system-packages chess pandas colorama reportlab svglib  
 
Mounting extra data drive:
see ~/OneDrive/home-hugh-media-data.mount to be placed in /etc/systemd/system/  
 
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

# 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

No comments:

Post a Comment

KDE's Own Distro

For installation details see the Installation section https://community.kde.org/KDE_Linux#Installation  and  https://kde.org/linux/install/...