emerge -av gui-wm/niri gui-apps/waybar gui-apps/fuzzel gnome-base/nautilus gui-apps/mako x11-base/xwayland
i.e. some stuff and junk about Python, Perl, Matlab, Ruby, Mac X, Linux, Solaris, ...
Friday, November 28, 2025
Install Niri on Gnetoo
Labels:
gentoo
Wednesday, November 26, 2025
Tuesday, November 25, 2025
Arch: Krusader does not have open with menu
install
and
https://forum.openmandriva.org/t/krusader-does-not-remember-file-associations/6449/13
yay xdg-desktop-portal-kde
and
cd /etc/xdg/menus
ls -Agl # to show the links in the directory as they are
sudo ln -sf ./plasma-applications.menu applications.menu
sudo ln -sf ./plasma-applications.menu gnome-applications.menu
sudo ln -sf ./plasma-applications.menu kde-applications.menu
ls -Agl # to see of they changed
https://forum.openmandriva.org/t/krusader-does-not-remember-file-associations/6449/13
Sunday, November 23, 2025
Linux: use FreeRDP instead of rdesktop
rdesktop -u "domain\userID" -a 16 -z -g 1850x1080 -r sound:local:pulse -r disk:b=/mnt/b ip_addr
xfreerdp3 /u:userID /d:domain /v:ip_addr -themes /dynamic-resolution /drive:/mnt/b,b
Friday, November 21, 2025
gentoo: No icons font in distrobox
install `fontawesome-fonts-all` fonts.
Fedora:
sudo emerge -av media-fonts/fontawesome
Fedora:
sudo dnf install fontawesome-fonts-all
Arch:
sudo pacman -S otf-font-awesome
Friday, November 14, 2025
Krusader: add user action to open distrobox terminal in the currently active folder
cd %aPath% && distrobox-host-exec bash -i
https://docs.kde.org/trunk5/en/krusader/krusader/useractions.html
cd %aPath% && distrobox-host-exec bash -i
Sunday, November 09, 2025
podman: container cannot bind to priviliged port 631 (cups)
On the host, you can make 631 to be unproviliged
https://stackoverflow.com/questions/413807/is-there-a-way-for-non-root-processes-to-bind-to-privileged-ports-on-linux/51439516#51439516
sudo sysctl -w net.ipv4.ip_unprivileged_port_start=631
https://stackoverflow.com/questions/413807/is-there-a-way-for-non-root-processes-to-bind-to-privileged-ports-on-linux/51439516#51439516
Saturday, November 08, 2025
udisks2: manual mount and unmount hard drives
For example:
udisksctl mount -b /dev/sdb1
udisksctl unmount -b /dev/sdb1
Labels:
udisk2
Thursday, November 06, 2025
gentoo & xfce4: no authorized to mount hard drives
https://gist.github.com/Scrumplex/8f528c1f63b5f4bfabe14b0804adaba7
xfce by default uses https://packages.gentoo.org/packages/gnome-extra/polkit-gnome
If not automatically started, you can manually start it (as a user, not root):
/usr/libexec/polkit-gnome-authentication-agent-1
xfce by default uses https://packages.gentoo.org/packages/gnome-extra/polkit-gnome
If not automatically started, you can manually start it (as a user, not root):
/usr/libexec/polkit-gnome-authentication-agent-1
Wednesday, November 05, 2025
distrobox fedora
distrobox create --nvidia -i quay.io/fedora/fedora:42 -n fbox -H ~/home-fbox --init --additional-packages "systemd"
https://distrobox.it/compatibility/#Host-Distros
Tuesday, November 04, 2025
distrobox: ublue-os/arch-distrobox
distrobox create --nvidia -i ghcr.io/ublue-os/arch-distrobox -n abox -H ~/home-abox --init --additional-packages "systemd"
https://github.com/ublue-os/arch-distrobox
Tuesday, October 28, 2025
LibreOffice: Use XLOOKUP instead of VLOOKUP
=IFERROR(XLOOKUP(C2,'file:///mnt/marks.ods'#$Sheet1.$C$2:$C$115,'file:///mnt/marks.ods'#$Sheet1.$AC$2:$AC$115,""),"")
Labels:
libreoffice
Wednesday, October 08, 2025
vscodium in flatpak golang not found
Install SDK extensions:
and then set env variable `FLATPAK_ENABLE_SDK_EXT`:
https://gist.github.com/pojntfx/2e1ea30df020924e5d40f823adc6ae09
flatpak install flathub org.freedesktop.Sdk.Extension.golang
and then set env variable `FLATPAK_ENABLE_SDK_EXT`:
#in fish in ~/.config/fish/config.fish
set -U FLATPAK_ENABLE_SDK_EXT 'golang'
https://gist.github.com/pojntfx/2e1ea30df020924e5d40f823adc6ae09
Thursday, August 14, 2025
Ansys 25 R2 and SolidWorks plugin not working
Create `SolidWorksAddIn_Ansys252.bat`:
and run as Administrator
@echo on
copy /Y "%AWP_ROOT252%\Framework\bin\Win64\Xalan-C_1_12.dll" "%AWP_ROOT252%\aisol\CADIntegration\SolidWorks\winx64"
copy /Y "%AWP_ROOT252%\Framework\bin\Win64\XalanMessages_1_12.dll" "%AWP_ROOT252%\aisol\CADIntegration\SolidWorks\winx64"
copy /Y "%AWP_ROOT252%\Framework\bin\Win64\xerces-c_3_2.dll" "%AWP_ROOT252%\aisol\CADIntegration\SolidWorks\winx64"
copy /Y "%AWP_ROOT252%\Framework\bin\Win64\zlib1.dll" "%AWP_ROOT252%\aisol\CADIntegration\SolidWorks\winx64"
and run as Administrator
Labels:
ansys,
solidworks,
windows
Friday, August 08, 2025
Friday, August 01, 2025
Wednesday, July 30, 2025
Add Browser MCP to Claude Code
claude mcp add-json browsermcp '{ "type": "stdio", "command": "npx", "args": ["@browsermcp/mcp@latest"]}'
https://github.com/browsermcp/mcp
Labels:
claude code,
Linux
Wednesday, July 23, 2025
Linux: convert docx to markdown using pandoc
pandoc -f docx -t markdown_strict input.docx -o foo.md
From: https://stackoverflow.com/a/33149947/248823
Thursday, June 19, 2025
Linux: join pdf files into one file in a reverse order
pdftk $(ls -r *.pdf) output joined.pdf
Labels:
Linux
Thursday, April 10, 2025
Arch Linux: Failed to start Virtual Console Setup
`/etc/vconsole.conf` should be:
KEYMAP=us
FONT=lat9w-16
Labels:
Arch
Friday, April 04, 2025
Thursday, March 27, 2025
Convert all pdf files to txt files
find . -name '*.pdf' -print0 | xargs -0 -n1 pdftotext
Labels:
Linux
Subscribe to:
Comments (Atom)