session=startfluxbox
securitytypes=none
geometry=1800x1100
localhost
alwaysshared
i.e. some stuff and junk about Python, Perl, Matlab, Ruby, Mac X, Linux, Solaris, ...
Thursday, January 29, 2026
tigvervnc: example vncserver config setup
vncserver-config-mandatory:
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 and fedora in distrobox
yay --noconfirm -S mc vim fish htop tmux fd zoxide fzf terminator freerdp rdesktop bash-completion firefox firefox-developer-edition brave-bin vscodium-bin libreoffice-fresh gwenview okular wine krusader krename kdiff3 konsole sshfs xarchiver xdg-desktop-portal-kde tigervnc fluxbox rofi xterm xorg-xeyes vlc mpv vlc-plugins-all chromium ipython librewolf-bin go python-uv gimp ttf-roboto otf-font-awesome rar p7zip octave ebook-tools kdegraphics-mobipocket gnome-boxes qt6-imageformats kimageformats curl wget foxitreader thunar npm kate
sudo dnf -y install --skip-unavailable vim firefox brave-browser krusader krename konsole kate keditfiletype kdiff3 chromium okular vlc htop tmux mc fish go python-uv codium unrar p7zip nvtop glx-utils xfreerdp rdesktop tigervnc libreoffice gwenview wine sshfs xarchiver xdg-desktop-portal-kde mpv gnome-boxes curl wget fzf zoxide terminator fontawesome-fonts-all librewolf gimp thunar octave yazi nodejs kwrite firefox-devedition
Note: Will have to add custom repos to fedora for firefox-dev, brave-browser, codium and rpmfusion for codeks
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:
Posts (Atom)