Run these inside the container to pull the specific version that matches your FreeBSD setup.
bash
# 1. Download the installer script
wget -O calibre-installer.sh https://download.calibre-ebook.com/linux-installer.sh
# 2. Run the installer targeting version 8.16.2
sudo sh calibre-installer.sh version=8.16.2
Use code with caution.
Phase 4: Export & Integration
Run this inside the container to add Calibre 8 to your Bluefin App Menu with the necessary flags to fix the Wayland/Sandbox issues.
bash
# Export with the Sandbox and XWayland compatibility flags
distrobox-export --app calibre --extra-flags "--env QTWEBENGINE_DISABLE_SANDBOX=1 --env QT_QPA_PLATFORM=xcb"
Use code with caution.
Critical Maintenance Tips
Accessing your Books: Inside the box, your real home folder is at /var/home/tim/. Point Calibre to your library there.
Database Warning: Never open this library with a Calibre 9.x app (like the default Flatpak). It will upgrade your metadata.db and break compatibility with your FreeBSD machine.
App Icon: If the icon doesn't show up immediately, run systemctl --user restart plasma-plasmashell (KDE) or log out and back in (GNOME).
Resizable table using main window resize as redraw trigger. Create an item_resize_handler that calls the table redraw, and bind the main window to it. import dearpygui.dearpygui as dpg import random import string DEBUG = 1 def generate_entries(): entries = [] for x in range(1, 10): entry = {} for y in ["A", "B", "C", "D", "E"]: entry[y] = "".join(random.SystemRandom().choices(string.ascii_uppercase, k=6)) entries.append(entry) return entries def draw_entry_table(parent, entries): if dpg.does_item_exist("entry_table"): dpg.delete_item("entry_table", children_only=False) table = dpg.add_table( tag="entry_table", header_row=True, parent=parent, re...
Fixing DNS Resolution problems with Linux Mint 19 Linux Mint 19 has an issue (at least on the machines I've installed it on) where resolv.conf has its nameserver entry pointing to 127.0.0.53. That works fine except for resolving local subnet names (in my case 196.168.1.x). The following fixes the symptoms, though I still don't know why 127.0.0.53 is being used instead of the assignment from DHCP. Run in root console, or sudo: # apt install resolvconf # nano /etc/resolvconf/resolv.conf.d/tail nameserver 192.168.1.1 # resolvconf -u This will tag the local nameserver entry onto the end of resolv.conf and persists through resets.