kmenuedit
Short IT recipes
i.e. some stuff and junk about Python, Perl, Matlab, Ruby, Mac X, Linux, Solaris, ...
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
Subscribe to:
Comments (Atom)