[abox]
additional_packages="git base-devel sudo curl"
home=~/home-abox
image=archlinux:latest
init=true
start_now=true
init_hooks='useradd -m -G wheel builder && echo "%wheel ALL=NOPASSWD: ALL" >> /etc/sudoers.d/wheel && su - builder -c "git clone https://aur.archlinux.org/yay-bin.git && cd yay-bin && makepkg -si --noconfirm" && rm -rf /home/builder/yay-bin && su - builder -c "yay -S --noconfirm --needed mc vim htop tmux fd zoxide fzf terminator freerdp rdesktop bash-completion firefox firefox-developer-edition brave-bin vscodium-bin onlyoffice-bin libreoffice-fresh gwenview okular wine krusader krename kdiff3 konsole xdg-desktop-portal-kde tigervnc fluxbox rofi xterm xorg-xeyes masterpdfeditor vlc mpv vlc-plugins-all fish chromium librewolf-bin go python-uv gimp ttf-roboto otf-font-awesome rar p7zip octave ebook-tools kdegraphics-mobipocket gnome-boxes" && cd /etc/xdg/menus && ln -sf ./plasma-applications.menu applications.menu && ln -sf ./plasma-applications.menu gnome-applications.menu && ln -sf ./plasma-applications.menu kde-applications.menu && su - builder -c "NONINTERACTIVE=1 /bin/bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\" && eval \"\$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)\" && brew install claude-code gemini-cli opencode qwen-code web-ext" && echo "eval \"\$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)\"" >> ~/.bashrc
nvidia=true
pull=true
root=false
replace=false
i.e. some stuff and junk about Python, Perl, Matlab, Ruby, Mac X, Linux, Solaris, ...
Friday, January 30, 2026
distrobox-assembly: Install arch with yay and some default packages
distrobox.ini:
Fedora atomic (vauxite xfce4): install nvidia drivers
sudo rpm-ostree install akmod-nvidia xorg-x11-drv-nvidia
sudo rpm-ostree kargs --append=rd.driver.blacklist=nouveau,nova_core --append=modprobe.blacklist=nouveau,nova_core --append=nvidia-drm.modeset=1
https://github.com/eoladil/Fedora-Silverblue-Guides?tab=readme-ov-file#4-install-nvidia-drivers-for-current-geforce-tesla-and-quadro-gpus
Thursday, January 29, 2026
tigvervnc: example vncserver config setup
vncserver-config-mandatory:
session=startfluxbox
securitytypes=none
geometry=1800x1100
localhost
alwaysshared
Labels:
vnc
Monday, January 26, 2026
kde plasma: set kde theme from a command line in a distrobox
List current themes:
can return
then
More at: https://askubuntu.com/a/1183309
lookandfeeltool -list
can return
org.kde.breeze.desktop
org.kde.breezedark.desktop
org.kde.breezetwilight.desktop
then
lookandfeeltool -a org.kde.breezedark.desktop
More at: https://askubuntu.com/a/1183309
Bazzite (Fedora atomic): install virtualbox on Bazzite custom image
Bazzite has rpm fusion repositories added in /etc/yum.repos.d/. However, even though they are enabled, by default you can't install any packages from them. You can force the use of the RPM repo as follows:
This will still NOT install the virtualbox in atomic fedora as its read-only system. But can be useful for building custom atomic images which would contain the virtualbox or other packages.
Example of how the virtualbox can be installed in a custom image of Bazzite is here:
https://github.com/ettfemnio/bazzite-virtualbox
sudo dnf --enablerepo=rpmfusion-free install virtualbox
This will still NOT install the virtualbox in atomic fedora as its read-only system. But can be useful for building custom atomic images which would contain the virtualbox or other packages.
Example of how the virtualbox can be installed in a custom image of Bazzite is here:
https://github.com/ettfemnio/bazzite-virtualbox
Labels:
bazzite,
dnf,
Fedora,
VirtualBox
distrobox: Basic programs for archlinux in distrobox
yay -S mc vim htop tmux fd zoxide fzf terminator freerdp rdesktopt bash-completion firefox firefox-developer-edition brave-bin vscodium-bin onlyoffice-bin libreoffice-fresh gwenview okular wine krusader krename kdiff3 konsole xdg-desktop-portal-kde tigervnc fluxbox rofi xterm xorg-xeyes masterpdfeditor vlc mpv vlc-plugins-all fish chromium librewolf-bin go python-uv gimp ttf-roboto otf-font-awesome rar p7zip octave ebook-tools kdegraphics-mobipocket gnome-boxes
Saturday, January 24, 2026
Use GLM through OpenRouter in Claude Code
ANTHROPIC_AUTH_TOKEN="your-openrouter-api-key" ANTHROPIC_BASE_URL="https://openrouter.ai/api" ANTHROPIC_API_KEY="" claude --model z-ai/glm-4.7
Labels:
claude code,
glm,
openrouter
Wednesday, January 14, 2026
arch: Uninstall nvidia-open drivers due to second monitor being not detected
sudo pacman -Rd nvidia-open nvidia-utils
Monday, January 12, 2026
Systemd: autostart Ansys SAM
sudo vim /etc/systemd/system/sam.service
[Unit]
Description=Ansys SAM Web Application Container
Requires=docker.service
After=docker.service
[Service]
Type=simple
User=root
Group=root
WorkingDirectory=/opt/ansys-mbse-server/mbse
ExecStartPre=/usr/bin/docker compose down
ExecStart=/usr/bin/docker compose up
ExecStop=/usr/bin/docker compose down
Restart=always
TimeoutStopSec=30
[Install]
WantedBy=multi-user.target
Saturday, January 10, 2026
SSL certificate keystore for Ansys SAM tomcat server
Getting SSL certificate for a domain using certbot (https://certbot.eff.org/) gives you four files: cert1.pem, chain1.pem, fullchain1.pem, privkey1.pem.
These files can found in /etc/letsencrypt/archive/your.domain.name.
The files have to be bundled into a keystore (keystore.pfx) for use in tomcat. For this you can use:
"keystore.pfx" must be renamed to "keystore" and keystore password used when creating keystore.pfx have to be specified in server.xml.
More information at: https://hardwarehacks.org/blog/setting_up_tomcat_with_a_lets_encrypt_certificate/
The files have to be bundled into a keystore (keystore.pfx) for use in tomcat. For this you can use:
openssl pkcs12 -export -in cert1.pem -inkey privkey1.pem -out keystore.pfx -name tomcat -CAfile chain1.pem -caname root -chain
"keystore.pfx" must be renamed to "keystore" and keystore password used when creating keystore.pfx have to be specified in server.xml.
More information at: https://hardwarehacks.org/blog/setting_up_tomcat_with_a_lets_encrypt_certificate/
Labels:
ansys,
certbot,
letsencrypt,
ssl
Friday, January 09, 2026
ssh: LocalForward in ssh config file
Example to forward vnc 5901 port from server to client's 5903 port:
Host myserver
HostName serverip
User ubuntu
IdentityFile ~/.ssh/private.pem
LocalForward 5903 localhost:5901
tigervnc: on ubuntu example settings
/etc/tigervnc/vncserver-config-mandatory :
$session = "startfluxbox";
$SecurityTypes = "none";
$geometry = "2000x1200";
$localhost = "yes";
$AlwaysShared = "yes";
sudo systemctl enable --now tigervncserver@:1
Subscribe to:
Comments (Atom)