Saturday, November 29, 2025

VNC: Applications in a vnc client (tigervnc) running fluxbox open in a Wayland host instead of the vnc client

In the vnc:

set -e XDG_RUNTIME_DIR
set -e DBUS_SESSION_BUS_ADDRESS


To do it automatically at the start add the following
to `.fluxbox/startup` before `exec fluxbox`:
unset XDG_RUNTIME_DIR
unset DBUS_SESSION_BUS_ADDRESS

exec fluxbox

Firefox crashes when opening through waypipe on Wayland

Run it without GPU:
``` waypipe --no-gpu ssh user@host firefox ```

Niri: share clipboard between Niri and Vnc

https://github.com/dnut/clipboard-sync
https://aur.archlinux.org/packages/clipboard-sync

Friday, November 28, 2025

Install Niri on Gnetoo

emerge -av gui-wm/niri gui-apps/waybar gui-apps/fuzzel gui-apps/mako gui-apps/xwayland-satellite xdg-desktop-portal xdg-desktop-portal-gnome

Tuesday, November 25, 2025

Arch: Krusader does not have open with menu

install 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.

sudo emerge -av media-fonts/fontawesome

Fedora:
sudo dnf install fontawesome-fonts-all
Arch:
sudo pacman -S otf-font-awesome

Friday, November 14, 2025

Run KDE Menu Editor from a commandline

kmenuedit

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
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

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

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

gentoo: reinstall packages after changing USE flags

emerge -avtDUu @world

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