Skip to content

Replace imv and mpv with Omaview - #19034

Merged
dhh merged 6 commits into
quattrofrom
omaview-default
Nov 15, 2026
Merged

dhh merged 6 commits into
quattrofrom
omaview-default

Conversation

@dhh

@dhh dhh commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Omaview 0.1.0 replaces imv and mpv. In the launcher it's one Media Viewer, for pictures, videos and music.

Needs omacom/omarchy-pkgs#2843, which packages it, merged first. Omaview depends on kimageformats, for HEIC, AVIF and JPEG XL.

Viewing

  • Base install: gains omaview; loses imv, mpv and mpv-mpris. mpv still arrives as a dependency of owe, Omarchy's wallpaper engine, which plays video wallpapers through it. Its packaged launcher stays hidden.
  • Defaults: mimeapps.list opens every image, video and audio type Omaview handles in omaview.desktop, and sets nothing outside that list.
  • Launcher: Omarchy's Image Viewer and Media Player overrides go, along with imv's icon and config. So does mpv's hardware-decoding config (etc/mpv/mpv.conf); owe sets up its own decoding.
  • Window: Omaview floats and centers without a fixed size, since it sizes itself to what it opens. imv and mpv leave the floating rule.
  • Plymouth preview: opens in Omaview.

What Omarchy ran mpv for

  • Finished recordings and yt-dlp downloads: open in Omaview (omaview open).
  • Webcam overlay: while screen recording, the overlay plays through ffplay, from ffmpeg, which is already installed. It keeps the same crop and low-latency options, and the same app id and title, so its window rules and the wait for it to appear still match.
  • Battery-low sound sample: plays with pw-play.
  • Snapdragon video decoding: the helper sets up Chromium only.

Manual: the GUIs chapter introduces Omaview in place of mpv, and recordings play in Omaview.

Migration

  • Installs omaview.
  • Removes ~/.local/share/applications/{imv,mpv}.desktop where they still match a version Omarchy shipped.
  • Removes imv and mpv-mpris from existing machines. Nothing depends on either. mpv stays, since owe needs it.
  • The user's own mimeapps.list is left alone. A line there naming imv stops resolving and Omaview opens those files. One naming mpv is theirs to keep.

Tests: these pass: screenrecording (all five), camera, overlay-window, chromium-ytdlp, video-decode, platform-packages, preinstalls, default-apps, bin-style, i18n, notification-send, notifications, app-search, omasnap, privileged-heredoc and upgrade-to-quattro. The migration was run in a scratch HOME with the package commands stubbed: with everything installed, and with nothing at all.

Not yet tried on a real desktop: the ffplay webcam overlay with a camera, including that the window scales to the size the resize helper sets, and the pw-play warning sound. The papercraft and arcade icon sets have no Omaview icon yet.

🤖 Generated with Claude Code

Omaview, Omarchy's picture viewer and media player, takes imv's place in
the base install, with kimageformats for HEIC, AVIF and JPEG XL. Omarchy's
mimeapps.list opens every picture, video and song type Omaview lists in
it, audio included. Omarchy's own Image Viewer and Media Player launchers
are gone, so the launcher has one Media Viewer; mpv stays installed for
the webcam overlay, the yt-dlp host, finished screen recordings and the
battery sound, with its packaged entry hidden. Omaview floats and centers
at the size it picks, the Plymouth preview opens in it, and the GUIs
chapter introduces it.

A migration installs Omaview and removes the two launchers where they are
still as Omarchy shipped them. imv stays on machines that have it, as an
imv.desktop default in a user's mimeapps.list may be their own choice.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The changes since the previous review appear safe to merge.

Summary

Replaces imv and mpv as the default media viewers with Omaview.

  • Pictures, videos, and songs open in Omaview by default.
  • Recording and download notices open saved media in Omaview.
  • The webcam overlay and sample warning sound use other players.
  • Snapdragon video setup configures Chromium without changing mpv.
  • Upgrades install Omaview and remove Omarchy's old media launchers.

No actionable new issues were found in the changes since the previous review. No previous review threads were supplied.

Reviews (6) · Last reviewed commit: "Drop just imv and mpv-mpris, without --u..." · Reviewed by Greptile

dhh and others added 2 commits November 15, 2026 21:43
Omaview depends on it for HEIC, AVIF and JPEG XL, so the base install
and the migration get it through Omaview.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
imv and mpv leave the base install, and the migration removes them,
with mpv-mpris, from existing machines too, unless a package the user
installed still needs one. A mimeapps.list line naming them stops
resolving, so Omaview, Omarchy's default, opens those files instead.

What Omarchy ran mpv for moves on: the screen recording webcam overlay
plays through ffplay with the same app id and title, so its window
rules still match; finished recordings and yt-dlp downloads open in
Omaview; the battery-low sound sample plays with pw-play. The
Snapdragon video decode helper sets up Chromium only, and the mpv
hardware decoding config, window rule and launcher hide are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dhh dhh changed the title Make Omaview the default picture viewer and media player Replace imv and mpv with Omaview Nov 15, 2026
dhh and others added 3 commits November 15, 2026 21:52
A migration that removes a package another installed one depends on
fails, and holds back every migration after it. --unless-needed checks
first with a dry run, which needs no privileges, and keeps them rather
than failing. The dry run is -Rs: pacman refuses --print with -n.

Omarchy's own wallpaper engine, owe, depends on mpv, so mpv stays on
every machine that has it: its packaged launcher stays hidden, and the
migration drops mpv-mpris on its own rather than keeping it with mpv.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It kept every named package when any one was still needed, so dropping
imv, mpv-mpris and mpv together kept all three wherever owe needs mpv.
It keeps just the ones a package outside the removal depends on, going
round until nothing more has to stay, and removes the rest, so the
migration drops all three in one call.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
owe, in every Omarchy install, plays video wallpapers through mpv, so
mpv can't go anyway, and nothing needs imv or mpv-mpris. The migration
drops those two plainly, and omarchy-pkg-drop is back as it was.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dhh
dhh merged commit 9599f76 into quattro Nov 15, 2026
3 checks passed
@dhh
dhh deleted the omaview-default branch November 15, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant