GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Dhiva-Labs/DiscWriter: Burn CDs, DVDs and Blu-ray discs on Linux — Flutter app driving xorriso

BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
assets/icon
assets/icon
 
 
debian
debian
 
 
integration_test
integration_test
 
 
lib
lib
 
 
linux
linux
 
 
packaging
packaging
 
 
screenshots
screenshots
 
 
snap
snap
 
 
test
test
 
 
tool
tool
 
 
.gitignore
.gitignore
 
 
.metadata
.metadata
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
PLAN.md
PLAN.md
 
 
README.md
README.md
 
 
analysis_options.yaml
analysis_options.yaml
 
 
pubspec.lock
pubspec.lock
 
 
pubspec.yaml
pubspec.yaml
 
 

Repository files navigation

Disc Writer

ARM64 builds Linux x64 | arm64 Linux: deb | rpm | Arch | AppImage | Flatpak | Snap

A clean, modern disc-burning app for Linux desktop. Disc Writer burns data CDs, DVDs and Blu-ray discs, writes ISO images, saves projects as ISO files and erases rewritable media. All the burning is done by xorriso, the libburnia tool. Disc Writer drives the xorriso command line and doesn't link any burning library.

Documentation: step-by-step guides at learn.dhivalabs.com: install · beginner guide · troubleshooting. New to the topic? Try the Files, backups and recovery learning track.

Built with Flutter (Linux desktop) and Riverpod.

Data disc

Features

Data discs. Drop in files and folders, or add them with the pickers, and set a volume label. A capacity bar shows live how full the disc will be. It uses the free space reported by the inserted disc, or a CD / DVD / DVD DL / BD preset when no disc is present. Before writing, xorriso's -print_size computes the exact image size, so an over-full project fails before it uses up a write-once disc.

Multi-session. When a disc is still open, new files go into a new session next to the existing ones, which stay visible. Turning on "Close the disc" finalises it so it reads in more (and older) drives.

Verification. Every data burn records session MD5 checksums. Afterwards the disc is read back and checked against them. When you burn an image file, the disc is compared byte for byte with the image instead, because most downloaded ISOs carry no recorded MD5.

Burn image. Writes .iso and .img files verbatim, so bootable installers stay bootable. ISO 9660 images show their volume label before you burn.

Save as ISO. Writes the project to an ISO file with Joliet (Windows), Rock Ridge (Unix) and ISO level 3 (single files larger than 4 GiB).

Erase. Quick or full erase for CD-RW, DVD±RW, DVD-RAM and BD-RE.

Simulate. Runs any burn or erase with the laser off.

Image file as a drive. Drive menu → Use an image file as a drive… makes a file behave like a blank rewritable disc. Every burn, append, verify and erase works on it exactly as on real media. Use it to rehearse a burn, or to develop without hardware.

Light and dark themes. It follows the desktop by default, and the toggle in the sidebar overrides that.

Safe cancelling. You can stop at any point. While the drive is writing, the app warns first that stopping usually ruins a write-once disc.

Install

Snap (bundles xorriso). The Snap Store listing is waiting for store review of optical-drive write access. Until it's approved, install the .snap attached to the latest release. It comes for both architectures, _amd64.snap for Intel / AMD and _arm64.snap for ARM:

sudo snap install --dangerous ./discwriter_*_$(dpkg --print-architecture).snap
sudo snap connect discwriter:optical-drive

The second command gives the snap write access to your optical drive. Snaps don't connect that permission automatically. Once the listing is approved, sudo snap install discwriter replaces the first command.

Ubuntu PPA (Ubuntu 24.04):

sudo add-apt-repository ppa:dhiva-labs/apps
sudo apt install discwriter

.deb: download discwriter_<version>_amd64.deb (Intel / AMD) or discwriter_<version>_arm64.deb (ARM) from the releases page, then:

sudo apt install ./discwriter_*_$(dpkg --print-architecture).deb

Portable tarball: discwriter-<version>-linux-x64.tar.gz or discwriter-<version>-linux-arm64.tar.gz from the same page. Extract it and run ./cd_writer from the discwriter-<version>/ directory. It needs xorriso installed.

SHA256SUMS on the release lists the checksum of every file.

Other distributions

CI builds these from the same release build as the .deb, for x64 (x86_64) and arm64 (aarch64), and attaches them to releases from the next release on. They are built on Ubuntu 24.04, so they need a distribution at least that new (glibc 2.39): Fedora 40 or later, RHEL/Rocky/Alma 10, openSUSE Tumbleweed, current Arch Linux. openSUSE Leap 15 and RHEL 9 are too old. The .rpm declares the glibc version it needs, so dnf and zypper refuse a system that is too old instead of installing an app that cannot start. The cdrom group requirement below applies to all of them.

Fedora, RHEL, Rocky, Alma (.rpm; dnf installs xorriso and GTK 3 with it):

sudo dnf install ./discwriter-<version>-1.x86_64.rpm     # or .aarch64.rpm

openSUSE Tumbleweed (the same .rpm; it is not signed):

sudo zypper install --allow-unsigned-rpm ./discwriter-<version>-1.x86_64.rpm

Arch Linux, Manjaro, EndeavourOS (.pkg.tar.zst; depends on gtk3 and libisoburn, which provides xorriso):

sudo pacman -U ./discwriter-<version>-1-x86_64.pkg.tar.zst  # or -aarch64

Each release also carries discwriter-bin-<version>-aur.tar.gz, the PKGBUILD and .SRCINFO of an AUR discwriter-bin package that repackages the release .deb. It is not on the AUR yet.

AppImage (any glibc distribution with GTK 3; it runs your system's xorriso, so install that first):

chmod +x DiscWriter-<version>-x86_64.AppImage                # or -aarch64
./DiscWriter-<version>-x86_64.AppImage

Flatpak (bundles xorriso; the GNOME 51 runtime comes from Flathub):

flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install --user ./discwriter-<version>-x86_64.flatpak # or -aarch64
flatpak run com.dhivalabs.discwriter

The Flatpak has access to all devices (Flatpak has no narrower permission for optical drives), your home directory and mounted media under /media, /run/media and /mnt. Opening the drive still needs the cdrom group (or your desktop session's device access), as with the .deb. See packaging/flatpak/README.md.

Requirements

  • Linux with an optical drive (internal or USB)
  • xorriso (sudo apt install xorriso)
  • Membership of the cdrom group so the drive can be opened: sudo usermod -aG cdrom $USER, then log out and back in. If xorriso can't open a drive the kernel can see, the Disc info page tells you so.

Disc Writer looks for xorriso in $CD_WRITER_XORRISO, then in the snap's bundled copy, then on PATH (where the Flatpak's bundled copy is).

Building

flutter pub get
flutter build linux --release

The bundle lands in build/linux/x64/release/bundle/, or in build/linux/arm64/release/bundle/ on an arm64 machine. Packaging, which always targets the architecture of the machine it runs on:

  • packaging/build_deb.sh builds the .deb from the release bundle
  • packaging/build_tarball.sh builds the portable tarball
  • snapcraft pack --use-lxd builds the snap; see packaging/SNAP.md
  • the Launchpad PPA is built offline from vendored inputs; see packaging/PPA.md
  • python3 tool/make_icon.py regenerates the app icon

Tests

flutter test                                  # unit + xorriso end-to-end
flutter test integration_test -d linux        # full UI flow + screenshots

The unit tests cover the xorriso output parsers, the exact argv of every invocation and the project model. The end-to-end tests in test/integration/ run the real xorriso against file-backed drives. They burn and verify a project, append a second session, save an ISO and burn it with a byte comparison, detect a deliberately corrupted disc, reject an over-full project before writing, erase, and cancel a running burn. The integration test drives the real app window: it adds content, presses Burn, waits for verification, inspects the disc and erases it. It also writes the images in screenshots/.

If xorriso isn't on PATH, point CD_WRITER_XORRISO at a binary. Without one, the end-to-end tests are skipped.

CI runs all of this on Linux x64 and Linux arm64, and builds the packages and the snap for both.

Layout

lib/burn/       xorriso runner, output parsers, argv builders, job runner
lib/project/    the data-disc project model (entries, sizes, validation)
lib/state/      Riverpod providers (drives, media, project, job)
lib/ui/         shell, drive bar, pages, progress dialog

Sponsors

Dhiva Labs is an independent, self-funded lab. Sponsorships help bring this project and the rest of Dhiva Labs to every platform, iPhone and Mac included.

Sponsor Dhiva Labs

Monthly sponsors at $10 and up are listed here:

Be the first: sponsor Dhiva Labs.

License

MIT — see LICENSE.

About

Burn CDs, DVDs and Blu-ray discs on Linux — Flutter app driving xorriso

learn.dhivalabs.com/apps/discwriter/

Topics

blu-raycd-burnerdesktop-appdisc-burningdvdflutterisolinuxxorriso

Resources

Readme
MIT license
Activity
Custom properties

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.