Friday, September 13, 2024

Gentoo in Distrobox

Dockerfile:
FROM registry.hub.docker.com/gentoo/portage:latest AS build
FROM registry.hub.docker.com/gentoo/stage3:systemd AS base
COPY --from=build /var/db/repos/gentoo /var/db/repos/gentoo

docker build . -t gentoo-distrobox
distrobox create --image localhost/gentoo-distrobox:latest -n gbox -H ~/home-gbox Based on: https://github.com/ardasevinc/distrobox/blob/main/docs/distrobox_gentoo.md

Monday, September 09, 2024

Distrobox: archlinux with separate networking for installaion of VPN inside a dropbox

distrobox create --nvidia -i archlinux -n abox -H ~/home-abox --unshare-netns --init --additional-packages "systemd"

Sunday, September 08, 2024

Firefox open/save window does not show in flatpak

Make sure `xdg-desktop-portal-gtk` service is working and `xdg-desktop-portal-gtk` is disabled: https://reddit.com/r/flatpak/comments/z5nwhz/how_do_i_get_firefox_to_save_downloaded_files/ldwmadz/

Slow start Midnight Commander in distrobox

There are some issuse with mc's subshell in distrobox. You can start mc without it using mc --nosubshell or mc -u

Saturday, September 07, 2024

distrobox: arch linux with systemd

distrobox create --nvidia -i archlinux -n abox -H ~/home-abox --init --additional-packages "systemd"